Centos下测试硬盘读写速度
来源:互联网 发布:星星知我心主题曲歌词 编辑:程序博客网 时间:2024/05/16 05:49
这是在服务器上,读写超快。
写速度
$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
linux4版本用time来计时
[xxx]$ time dd if=/dev/zero bs=1k count=1000000 of=1Gb.file
1000000+0 records in
1000000+0 records out
real 0m2.035s
user 0m0.114s
sys 0m1.921s
写速度:1000M/2.035=491M
[xxx]$ time dd if=1Gb.file bs=64k |dd of=/dev/null
15625+0 records in
15625+0 records out
2000000+0 records in
2000000+0 records out
real 0m2.420s
user 0m0.368s
sys 0m1.889s
读速度:1000M/2.420=413M
- Centos下测试硬盘读写速度
- centos 硬盘读写速度问题测试
- linux下硬盘读写速度测试
- linux下测试硬盘读写速度
- linux下硬盘读写速度测试
- 测试硬盘读写速度
- 硬盘读写速度测试
- linux测试硬盘读写速度
- linux测试硬盘读写速度
- hdparm 测试硬盘读写速度
- linux测试硬盘读写速度
- linux测试硬盘读写速度
- linux测试硬盘读写速度
- linux测试硬盘读写速度
- hdparm 测试硬盘读写速度
- 测试硬盘读写的速度
- linux测试硬盘读写速度
- Linux 硬盘读写速度测试
- alloc_skb()
- c++ 标准模板库 List
- 取农历日期
- Asp.net mvc3 不支持vs2008
- [转]memcache 的源代码分析
- Centos下测试硬盘读写速度
- ASCII码表完整版
- MODBUS ASCII协议和RTU协议的比较 -----和利时PLC采用Modbus RTU
- 使用JFreeChart绘制3D饼图
- acegi的一个异常错误
- Proteus 仿真库简介
- 关于ADO.Net连接池(Connection Pool)的一些个人见解
- 自己不知道的语句
- 移动上网导致的数据安全威胁呼吁企业分层安全策略的出台