星哥的博客

  • 首页
  • 系统
  • 虚拟机
  • 网站开发
  • 硬件外设
  • VPS/云主机
  • 心情随笔
  1. 首页
  2. 系统
  3. Linux
  4. 正文

Centos下测试硬盘读写速度

2012年3月31日 4154点热度 3人点赞 0条评论

写速度

$dd if=/dev/zero bs=1k count=1000000 of=1Gb.file

1000000+0 records in
1000000+0 records out
1024000000 bytes (1.0 GB) copied, 5.13676 seconds, 199 MB/s

读速度

$dd if=1Gb.file bs=64k |dd of=/dev/null

[haibo@localhost ~]$ dd if=1Gb.file bs=64k |dd of=/dev/null
15625+0 records in
15625+0 records out
1024000000 bytes (1.0 GB) copied, 6.37813 seconds, 161 MB/s
2000000+0 records in
2000000+0 records out
1024000000 bytes (1.0 GB) copied, 6.37891 seconds, 161 MB/s

读写速度

$dd if=1Gb.file of=2Gb.file bs=64k

15625+0 records in
15625+0 records out
1024000000 bytes (1.0 GB) copied, 2.21364 seconds, 463 MB/

这是在本地的虚拟机上

[root@localhost ~]# dd if=/dev/zero bs=1k count=1000000 of=1Gb.file
1000000+0 records in
1000000+0 records out
1024000000 bytes (1.0 GB) copied, 39.6289 seconds, 25.8 MB/s
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# dd if=1Gb.file bs=64k |dd of=/dev/null
2000000+0 records in
2000000+0 records out
1024000000 bytes (1.0 GB) copied, 39.8982 seconds, 25.7 MB/s
15625+0 records in
15625+0 records out
1024000000 bytes (1.0 GB) copied, 39.9039 seconds, 25.7 MB/s
[root@localhost ~]# dd if=1Gb.file of=2Gb.file bs=64k
15625+0 records in
15625+0 records out
1024000000 bytes (1.0 GB) copied, 46.391 seconds, 22.1 MB/s

标签: 暂无
最后更新:2012年3月31日

wangxingcs

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

This site uses Akismet to reduce spam. Learn how your comment data is processed.

wangxingcs

这个人很懒,什么都没留下

我的博客

仅记录一些有用的教程,自己的经历,已屏蔽各大搜索引擎收录。

新浪微博 @wangxingcs

Twitter @wangxingcs(常在)

最新 热点 随机
最新 热点 随机
Proxmox VE(PVE)6.X 添加硬盘 PVE解决VM is locked问题 Proxmox VE配置更新源 黑群晖显示真实CPU信息(支持7.0.1) Proxmox VE直通硬盘(全盘映射方式) PVE去除“没有有效订阅”提示
单线多拨 宽带叠加nwan安装配置教程 织梦独立模型的动态浏览修改方法 Proxmox VE配置更新源 刷了openwrt后无线无法300M的解决方法 CentOS下用YUM升级OpenSSH和OpenSSL,一行命令搞定 织梦DEDECMS友情链接(flink)增加下拉菜单的实现方法
标签聚合
MTP DSM 虚拟机 群晖 驱动 PVE FineCMS CMS

COPYRIGHT © 2015-2023 wangxingcs.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

陕ICP备13007295号