time -p bash -c “(dd if=/dev/zero of=test.dd bs=1M count=20000)”
GOOGLE—-HDD
第一次结果:
20000+0 records in
20000+0 records out
20480000000 bytes (20 GB) copied, 245.867 s, 83.3 MB/s
real 250.61
user 0.04
sys 15.18
第二次结果:
200000+0 records in
200000+0 records out
20480000000 bytes (20 GB) copied, 245.889 s, 83.3 MB/s
real 250.46
user 0.10
sys 13.47
AWS—-SSD
第一次结果:
20000+0 records in
20000+0 records out
20480000000 bytes (20 GB) copied, 145.098 s, 141 MB/s
real 163.70
user 0.01
sys 14.06
第二次结果:
200000+0 records in
200000+0 records out
20480000000 bytes (20 GB) copied, 144.228 s, 142 MB/s
real 163.53
user 0.02
sys 13.93
AWS—-HDD
第一次结果:
36000+0 records in
36000+0 records out
37748736000 bytes (38 GB, 35 GiB) copied, 594.751 s, 63.5 MB/s
real 594.75
user 0.00
sys 24.41
microsoft—-hdd
第一次结果:
3933+0 records in
3932+0 records out
4123283456 bytes (4.1 GB) copied, 161.011 s, 25.6 MB/s
real 161.01
user 0.00
sys 2.81
microsoft—-ssd