其他分享
首页 > 其他分享> > DD命令测试磁盘实际读写速率,不同环境

DD命令测试磁盘实际读写速率,不同环境

作者:互联网

Proxmox oneself read

root@dcsh06:~# time dd if=/dev/sda3 of=/dev/null bs=4k
C60735487+0 records in
60735486+0 records out
248772550656 bytes (249 GB, 232 GiB) copied, 831.463 s, 299 MB/s

real    13m51.465s
user    0m17.789s
sys 3m1.683s

root@dcsh06:~# lsblk

Proxmox oneself write

root@dcsh06:~# time dd if=/dev/zero of=test.db bs=1M count=10000
10000+0 records in
10000+0 records out
10485760000 bytes (10 GB, 9.8 GiB) copied, 9.60896 s, 1.1 GB/s

real    0m9.620s
user    0m0.004s
sys 0m8.662s
root@dcsh06:~# 

Virtual machine write of proxmox

[root@kms2 ~]# time dd if=/dev/zero of=testdb bs=1M count=10000
10000+0 records in
10000+0 records out
10485760000 bytes (10 GB) copied, 28.7957 s, 364 MB/s

real    0m29.060s
user    0m0.016s
sys 0m6.542s

Virtual machine read of proxmox

[root@kms2 ~]# time dd if=/dev/sda2 of=/dev/null bs=8k
13044608+0 records in
13044608+0 records out
106861428736 bytes (107 GB) copied, 121.467 s, 880 MB/s

real    2m1.473s
user    0m10.739s
sys 1m12.216s

Virtual machine write of proxmox ceph

[root@samba-srv ~]# time dd if=/dev/zero of=testdb bs=1M count=10000
10000+0 records in
10000+0 records out
10485760000 bytes (10 GB) copied, 193.753 s, 54.1 MB/s

real    3m15.304s
user    0m0.031s
sys 0m6.524s
[root@samba-srv ~]# 

Virtual machine read of proxmox ceph

[root@samba-srv ~]# time dd if=/dev/sda2 of=/dev/null bs=8k
1491157+0 records in
1491156+0 records out
12215549952 bytes (12 GB) copied, 410.732 s, 29.7 MB/s

real    6m50.735s
user    0m1.074s
sys 0m8.344s
[root@samba-srv ~]# 

标签:10000,DD,dev,records,GB,Proxmox,磁盘,root,读写
来源: https://blog.51cto.com/51eat/2694281