ITPub博客

首页 > Linux操作系统 > Linux操作系统 > sysbench fileio 压测磁盘raid 5 raid 1 raid10 raid 50 情况

sysbench fileio 压测磁盘raid 5 raid 1 raid10 raid 50 情况

原创 Linux操作系统 作者:e71hao 时间:2022-11-18 18:42:17 0 删除 编辑

一 机器配置



二 磁盘配置  



三 压测场景

raid5,6块盘SEAGATE  12 Gbps SAS 900G 15000转
场景 8k小文件随机读写,读30MBPS,写20MBPS,IOPS :读3955,写2636
[root@localhost test22]# sysbench --events=500000  --threads=10 fileio  --file-num=10  --file-total-size=50G --file-test-mode=rndrw  --file-fsync-freq=0  --file-block-size=8192 run
sysbench 1.0.17 (using system LuaJIT 2.0.4)
Running the test with following options:
Number of threads: 10
Initializing random number generator from current time
Extra file open flags: (none)
10 files, 5GiB each
50GiB total file size
Block size 8KiB
Number of IO requests: 500000
Read/Write ratio for combined random IO test: 1.50
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:                      3955.30
    writes/s:                     2636.89
    fsyncs/s:                     1.32
Throughput:
    read, MiB/s:                  30.90
    written, MiB/s:               20.60
General statistics:
    total time:                          75.8425s
    total number of events:              500000
Latency (ms):
         min:                                    0.00
         avg:                                    0.01
         max:                                    0.99
         95th percentile:                        0.02
         sum:                                 5085.59
Threads fairness:
    events (avg/stddev):           50000.0000/771.65
    execution time (avg/stddev):   0.5086/0.01



四 压测场景  

raid1,2块盘SEAGATE  12 Gbps SAS 900G 15000转
[root@pro-pnh-310-db-tidb-mp-45 test22]# sysbench --events=500000  --threads=10 fileio  --file-num=9  --file-total-size=45G --file-test-mode=rndrw  --file-fsync-freq=0  --file-block-size=8192 run
sysbench 1.0.17 (using system LuaJIT 2.0.4)
Running the test with following options:
Number of threads: 10
Initializing random number generator from current time
Extra file open flags: (none)
9 files, 5GiB each
45GiB total file size
Block size 8KiB
Number of IO requests: 500000
Read/Write ratio for combined random IO test: 1.50
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:                      2493.33
    writes/s:                     1662.22
    fsyncs/s:                     0.75
Throughput:
    read, MiB/s:                  19.48
    written, MiB/s:               12.99
General statistics:
    total time:                          120.3164s
    total number of events:              500000
Latency (ms):
         min:                                    0.00
         avg:                                    0.01
         max:                                    0.85
         95th percentile:                        0.02
         sum:                                 4581.36
Threads fairness:
    events (avg/stddev):           50000.0000/1986.51
    execution time (avg/stddev):   0.4581/0.00



五  raid50 6块盘SEAGATE  12 Gbps SAS 900G 15000转

[root@pro-pnh-310-db-tidb-mp-45 aa]# sysbench --events=500000  --threads=10 fileio  --file-num=10  --file-total-size=50G --file-test-mode=rndrw  --file-fsync-freq=0  --file-block-size=8192 run
sysbench 1.0.17 (using system LuaJIT 2.0.4)
Running the test with following options:
Number of threads: 10
Initializing random number generator from current time
Extra file open flags: (none)
10 files, 5GiB each
50GiB total file size
Block size 8KiB
Number of IO requests: 500000
Read/Write ratio for combined random IO test: 1.50
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:                      3411.46
    writes/s:                     2274.27
    fsyncs/s:                     1.14
Throughput:
    read, MiB/s:                  26.65
    written, MiB/s:               17.77
General statistics:
    total time:                          87.9340s
    total number of events:              500000
Latency (ms):
         min:                                    0.00
         avg:                                    0.01
         max:                                    0.90
         95th percentile:                        0.03
         sum:                                 6256.42
Threads fairness:
    events (avg/stddev):           50000.0000/1046.49
    execution time (avg/stddev):   0.6256/0.01





来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30393770/viewspace-2924140/ ,如需转载,请注明出处,否则将追究法律责任。

下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2015-08-05

  • 博文量
    133
  • 访问量
    235565