后浪云linux教程:如何测试linux服务器的硬盘速度

树叶云

普通硬盘已经成为当今服务器瓶颈,虽然有SSD,但是太昂贵,还没有办法普及,曾经帮朋友测试过一台独服,写入速度达到300M+/s,测试方法如下。

命令:
for i in 1 2 3 4 5 6 7 8 9 0 ;do dd if=/dev/zero of=test.$i count=1024000 bs=1024 ;done

速度算上不错的,硬盘输出数值如下:

1024000+0 records in1024000+0 records out1048576000 bytes (1.0 GB) copied, 4.68353 s, 224 MB/s1024000+0 records in1024000+0 records out1048576000 bytes (1.0 GB) copied, 2.71447 s, 386 MB/s1024000+0 records in1024000+0 records out1048576000 bytes (1.0 GB) copied, 2.95094 s, 355 MB/s1024000+0 records in1024000+0 records out1048576000 bytes (1.0 GB) copied, 2.80649 s, 374 MB/s1024000+0 records in1024000+0 records out1048576000 bytes (1.0 GB) copied, 2.7713 s, 378 MB/s1024000+0 records in1024000+0 records out1048576000 bytes (1.0 GB) copied, 3.06518 s, 342 MB/s1024000+0 records in1024000+0 records out1048576000 bytes (1.0 GB) copied, 3.15616 s, 332 MB/s1024000+0 records in1024000+0 records out1048576000 bytes (1.0 GB) copied, 3.09946 s, 338 MB/s1024000+0 records in1024000+0 records out1048576000 bytes (1.0 GB) copied, 3.02705 s, 346 MB/s1024000+0 records in1024000+0 records out1048576000 bytes (1.0 GB) copied, 3.04108 s, 345 MB/s

本教程由铁网维原创出品 服务器运维官方网址http://IDC.NET 欢迎大家多多关注本站 感谢大家的支持。

文章来源网络,作者:运维,如若转载,请注明出处:https://shuyeidc.com/wp/184512.html<

(0)
运维的头像运维
上一篇2025-03-28 22:15
下一篇 2025-03-28 22:17

相关推荐

发表回复

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