| | 1 | = 官方網站 = |
| | 2 | [http://www.coker.com.au/bonnie++/] |
| | 3 | |
| | 4 | |
| | 5 | = 簡介 = |
| | 6 | bonnie++ 是一套用來測試硬碟驅動程式及檔案系統效能的 benchmark,你可以決定那些測試是重要的,並且用它來比較兩個相異系統的差別。作者並不想將這些測試結果導向一個單一數字,因為他認為單一數字對比較這些東西並沒有什麼幫助。 |
| | 7 | |
| | 8 | |
| | 9 | = 安裝方法 = |
| | 10 | {{{ |
| | 11 | sudo apt-get install bonnie++ |
| | 12 | }}} |
| | 13 | |
| | 14 | |
| | 15 | = 指令 = |
| | 16 | {{{ |
| | 17 | bonnie++ [-d dir] [-s size(Mb)[:chunk-size(b)]] [-n num- |
| | 18 | ber-to-stat(*1024)[:max-size[:min-size][:num-directories]]] [-m machine-name] [-r ram-size-in-Mb] [-x |
| | 19 | number-of-tests] [-u uid-to-use:gid-to-use] [-g gid-to-use] [-q] [-f] [-b] [-p processes | -y] |
| | 20 | }}} |
| | 21 | -d 要測試的目錄[[BR]] |
| | 22 | -s 測試的檔案大小(MB)[[BR]] |
| | 23 | -n 測試的檔案數[[BR]] |
| | 24 | -m 機器的名稱,自行命名,只會顯示在螢幕上,不影響結果[[BR]] |
| | 25 | -r 指定記憶體大小[[BR]] |
| | 26 | -x 測試次數[[BR]] |
| | 27 | -u 你所要使用的 user-id,不建議使用 root[[BR]] |
| | 28 | -g 你所要使用的 group-id[[BR]] |
| | 29 | -q 安靜模式,只會顯示結果,其它額外的訊息會被隱藏[[BR]] |
| | 30 | -f 快速模式,會跳過 per-char IO 測試[[BR]] |
| | 31 | -b 不要寫入緩衝,fsync (即時寫入)[[BR]] |
| | 32 | -p 有多少的 processes 要來服務 semaphores[[BR]] |
| | 33 | -y 在每次測試前等待 semaphore[[BR]] |
| | 34 | |
| | 35 | |
| | 36 | = GPFS測試結果 = |