Linux硬盘io性能读写速度测试

io

首先我们写入,文件大小约为8GB

# time dd if=/dev/zero of=/root/testio bs=8k count=1000000


其次是读取

# time dd if=/root/testio of=/dev/null bs=8k count=1000000


最后是读写速度

# time dd if=/root/testio of=/tmp/testio bs=8k count=1000000


最后我们通过命令

# find / -name testio

以此为例,找到文件路劲,删除测试文件,测试完成

 

 

Random Posts

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

*
*