我想做linux 的磁盘io性能测试,有什么好的工具和方法推荐吗,感谢

2025-04-16 02:32:11
推荐回答(1个)
回答1:

用Linux自带的命令 dd


#time dd if=/dev/zero bs=1024 count=1000000 of=/tmp/1Gb.file

1024000000 bytes (1.0 GB) copied, 9.46522 s, 108 MB/s
real 0m9.503s
user 0m0.316s
sys 0m8.485s


#time dd if=/tmp/1Gb.file bs=64k |dd of=/dev/null

1024000000 bytes (1.0 GB) copied, 9.46522 s, 108 MB/s
real 0m9.503s
user 0m0.316s
sys 0m8.485s