sysbench io测试

浪尽此生 提交于 2019-11-25 18:51:39
1. sysbench --test=fileio --file-total-size=10G --file-test-mode=rndrw --time=300 --max-requests=0 run
WARNING: the --test option is deprecated. You can pass a script name or path on the command line without any options.
sysbench 1.0.17 (using system LuaJIT 2.0.4)

Running the test with following options:
Number of threads: 1
Initializing random number generator from current time


Extra file open flags: (none)
128 files, 80MiB each
10GiB total file size
Block size 16KiB
Number of IO requests: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Initializing worker threads...

Threads started!


File operations:
    reads/s:                      49.55
    writes/s:                     33.03
    fsyncs/s:                     105.93

Throughput:
    read, MiB/s:                  0.77
    written, MiB/s:               0.52

General statistics:
    total time:                          300.2825s
    total number of events:              56483

Latency (ms):
         min:                                    0.00
         avg:                                    5.31
         max:                                  183.04
         95th percentile:                       18.95
         sum:                               299938.84

Threads fairness:
    events (avg/stddev):           56483.0000/0.00
    execution time (avg/stddev):   299.9388/0.00

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!