2011年5月20日 星期五

[linux] dd 中bs的速度比較

這篇是測試文,base on 某一台nas上。
硬碟是SAMSUNG 1T,純粹參考用。

/shares/Publilc # dd if=/dev/zero of=zero.test bs=1M count=1000
1000+0 records in
1000+0 records out
1048576000 bytes (1000.0MB) copied, 14.971962 seconds, 66.8MB/s
/shares/Publilc # dd if=/dev/zero of=zero.test bs=10M count=100
100+0 records in
100+0 records out
1048576000 bytes (1000.0MB) copied, 14.615720 seconds, 68.4MB/s
/shares/Publilc # dd if=/dev/zero of=zero.test bs=20M count=50
50+0 records in
50+0 records out
1048576000 bytes (1000.0MB) copied, 14.045518 seconds, 71.2MB/s
/shares/Publilc # dd if=/dev/zero of=zero.test bs=50M count=20
20+0 records in
20+0 records out
1048576000 bytes (1000.0MB) copied, 18.544483 seconds, 53.9MB/s
/shares/Publilc # dd if=/dev/zero of=zero.test bs=20M count=50
50+0 records in
50+0 records out
1048576000 bytes (1000.0MB) copied, 14.120041 seconds, 70.8MB/s
/shares/Publilc # dd if=/dev/zero of=zero.test bs=50M count=20
20+0 records in
20+0 records out
1048576000 bytes (1000.0MB) copied, 21.059055 seconds, 47.5MB/s
/shares/Publilc #