ls 輸出結果會卡住? - BBS

By Jessica
at 2015-05-13T15:19
at 2015-05-13T15:19
Table of Contents
※ 引述《chang0206 (Eric Chang)》之銘言:
: 我在工作站(freebsd 9.1)上執行一個 find的指令
: find /nas/BB -type f -name '* [0-9].pp*[^~]' > /tmp/test.txt
: 這個指令大概會找出 500多個檔案 ,不過路徑很長
: 在沒寫入檔案時,直接在CONSOLE上面看,速度很快
: 可是只要寫入到 /tmp/test.txt 速度就驟降
: 而且看檔案的大小,都是以32768為級距往上跳,而且會跑很久很久
: 32768->65536->98301->131072 ....
: / 是用兩顆 160G 的 SATA硬碟作 mirror
: 檔案大小約 5x ~6x KB
: 應該不至於這麼慢才對啊?? 請問我該怎麼檢查?
: 後來有測試建立一個 RAMDISK 給他寫入,還是一樣的狀況
: 所以應該是可以確定排除硬碟的問題..
iostat 看看?
--
: 我在工作站(freebsd 9.1)上執行一個 find的指令
: find /nas/BB -type f -name '* [0-9].pp*[^~]' > /tmp/test.txt
: 這個指令大概會找出 500多個檔案 ,不過路徑很長
: 在沒寫入檔案時,直接在CONSOLE上面看,速度很快
: 可是只要寫入到 /tmp/test.txt 速度就驟降
: 而且看檔案的大小,都是以32768為級距往上跳,而且會跑很久很久
: 32768->65536->98301->131072 ....
: / 是用兩顆 160G 的 SATA硬碟作 mirror
: 檔案大小約 5x ~6x KB
: 應該不至於這麼慢才對啊?? 請問我該怎麼檢查?
: 後來有測試建立一個 RAMDISK 給他寫入,還是一樣的狀況
: 所以應該是可以確定排除硬碟的問題..
iostat 看看?
--
Tags:
BBS
All Comments
Related Posts
Re: Freebsd檔案被誤刪救援

By Caroline
at 2015-05-13T02:46
at 2015-05-13T02:46
ls 輸出結果會卡住?

By Belly
at 2015-04-24T16:39
at 2015-04-24T16:39
Re: Freebsd檔案被誤刪救援

By Audriana
at 2015-04-20T18:20
at 2015-04-20T18:20
Re: Freebsd檔案被誤刪救援

By Kyle
at 2015-04-19T18:42
at 2015-04-19T18:42
Re: Freebsd檔案被誤刪救援

By Mary
at 2015-04-14T12:05
at 2015-04-14T12:05