码迷,mamicode.com
首页 > 其他好文 > 详细

磁盘性能测试

时间:2019-03-25 20:36:56      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:art   read   second   性能   seconds   cached   fdisk   fdisk -l   hdp   

===================== hdparm测试硬盘性能:物理机数据盘读取测试
yum install hdparm -y

[root@xxxx]# fdisk -l
/dev/c01 * 1 258 1048576 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/c02 258 15317 61440000 83 Linux
Partition 2 does not end on cylinder boundary.
/dev/c03 15317 215394 816317440 83 Linux

[root@xxxx]# hdparm -t --direct /dev/c01
/dev/c01:
Timing O_DIRECT disk reads: 856 MB in 3.00 seconds = 285.04 MB/sec
速度每秒285.04 MB
[root@xxxx]# hdparm -tT /dev/c03

/dev/c03:
Timing cached reads: 14454 MB in 2.00 seconds = 7237.93 MB/sec
Timing buffered disk reads: 924 MB in 3.00 seconds = 307.65 MB/sec

磁盘性能测试

标签:art   read   second   性能   seconds   cached   fdisk   fdisk -l   hdp   

原文地址:https://blog.51cto.com/yeqing/2368945

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!