码迷,mamicode.com
首页 > 其他好文 > 详细

sysbench io测试

时间:2019-11-25 18:53:13      阅读:78      评论:0      收藏:0      [点我收藏+]

标签:ota   start   reads   ons   flag   files   eve   calling   generator   

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测试

标签:ota   start   reads   ons   flag   files   eve   calling   generator   

原文地址:https://www.cnblogs.com/mu-zhang/p/11929308.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!