sysbench io测试

Posted mu-zhang

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sysbench io测试相关的知识,希望对你有一定的参考价值。

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

 

以上是关于sysbench io测试的主要内容,如果未能解决你的问题,请参考以下文章

服务器IO测试,及利用sysbench工具进行mysql oltp性能测试

sysbench 压力测试

sysbench服务器性能测试

sysbench对MySQL的压测,使用sysbench压测磁盘io

sysbench测试

myql基准测试工具Sysbench