linux分区压力测试,Linux磁盘或者其他类型服务器压力测试的几款工具简介

㈣ iozone

可支持多进程并发测试

能够输出到excel中进行绘图

也是日常压力测试用得最多的一款工具

安装:

[root@ www.linuxidc.com ~]# yum install -y iozone

参数说明:

-l:最小进程数量

-u:最大进程数量

-r:基本读写单位,以测试对象的块大小为准

如Oracle的块设为8k,则你可以设置为8k

-s:和bonnie++的s参数含义一致

这个值如果太小会影响测试结果

因为很多程序都已经在内存中跑完了

-f:缓存文件

[root@ www.linuxidc.com ~]# iozone -l 1 -u 1 -r 8K -s 128M

Record Size 8 KB

File size set to 131072 KB

Command line used: iozone -l 1 -u 1 -r 8K -s 128M

Output is in Kbytes/sec

Time Resolution = 0.000001 seconds.

Processor cache size set to 1024 Kbytes.

Processor cache line size set to 32 bytes.

File stride size set to 17 * record size.

Min process = 1

Max process = 1

Throughput test with 1 process

Each process writes a 131072 Kbyte file in 8 Kbyte records

Children see throughput for  1 initial writers  =  125057.24 KB/sec

Parent sees throughput for  1 initial writers  =  30640.70 KB/sec

Min throughput per process                      =  125057.24 KB/sec

Max throughput per process                      =  125057.24 KB/sec

Avg throughput per process                      =  125057.24 KB/sec

Min xfer                                        =  131072.00 KB

Children see throughput for  1 rewriters        =  513780.34 KB/sec

Parent sees throughput for  1 rewriters        =  31989.50 KB/sec

Min throughput per process                      =  513780.34 KB/sec

Max throughput per process                      =  513780.34 KB/sec

Avg throughput per process                      =  513780.34 KB/sec

Min xfer                                        =  131072.00 KB

Children see throughput for  1 readers          =  889758.12 KB/sec

Parent sees throughput for  1 readers          =  849615.75 KB/sec

Min throughput per process                      =  889758.12 KB/sec

Max throughput per process                      =  889758.12 KB/sec

Avg throughput per process                      =  889758.12 KB/sec

Min xfer                                        =  131072.00 KB

这里的值都很大,是因为我们的s参数设置的有点小。0b1331709591d260c1c78e86d0c51c18.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值