下面是使用 dsync 的返回结果
北京三区 S2:
[root@VM_37_8_centos ~]# time dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 98.123 s, 2.7 MB/s
real 1m38.137s
user 0m0.014s
sys 0m0.535s
北京一区 S1:
[root@VM_25_8_centos ~]# time dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 66.7693 s, 4.0 MB/s
real 1m6.810s
user 0m0.019s
sys 0m0.826s
香港一区 S1:
[root@VM_31_4_centos ~]# time dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 110.715 s, 2.4 MB/s
real 1m50.731s
user 0m0.018s
刚拿了几台小水管的普通云盘机器测了一下供参考。
北京三区 S2:
[root@VM_37_8_centos ~]# time dd bs=64k count=4k if=/dev/zero of=test
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 1.24492 s, 216 MB/s
real 0m1.247s
user 0m0.001s
sys 0m0.218s
[root@VM_37_8_centos ~]# time dd bs=64k count=4k if=/dev/zero of=test
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 0.949805 s, 283 MB/s
real 0m1.004s
user 0m0.000s
sys 0m0.242s
[root@VM_37_8_centos ~]# time dd bs=64k count=4k if=/dev/zero of=test
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 0.774501 s, 347 MB/s
real 0m0.804s
user 0m0.000s
sys 0m0.242s
北京一区 S1:
[root@VM_25_8_centos ~]# time dd bs=64k count=4k if=/dev/zero of=test
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 1.78932 s, 150 MB/s
real 0m1.863s
user 0m0.001s
sys 0m0.320s
[root@VM_25_8_centos ~]# time dd bs=64k count=4k if=/dev/zero of=test
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 1.3384 s, 201 MB/s
real 0m1.424s
user 0m0.001s
sys 0m0.368s
[root@VM_25_8_centos ~]# time dd bs=64k count=4k if=/dev/zero of=test
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 1.35347 s, 198 MB/s
real 0m1.399s
user 0m0.000s
sys 0m0.368s
香港一区 S1:
[root@VM_31_4_centos ~]# time dd bs=64k count=4k if=/dev/zero of=test
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 2.09602 s, 128 MB/s
real 0m2.811s
user 0m0.001s
sys 0m0.282s
[root@VM_31_4_centos ~]# time dd bs=64k count=4k if=/dev/zero of=test
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 2.46486 s, 109 MB/s
real 0m2.919s
user 0m0.004s
sys 0m0.290s
[root@VM_31_4_centos ~]# time dd bs=64k count=4k if=/dev/zero of=test
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 1.89162 s, 142 MB/s
real 0m3.032s
user 0m0.000s
sys 0m0.296s