|
发表于 2012-11-28 17:25:14
|
显示全部楼层
DD很好啊
# dd if=/dev/zero of=ddtest bs=512k count=768 conv=fdatasync && rm -rf ddtest
768+0 records in
768+0 records out
402653184 bytes (403 MB) copied, 2.1917 seconds, 184 MB/s
# dd if=/dev/zero of=ddtest bs=512k count=768 oflag=dsync && rm -rf ddtest
768+0 records in
768+0 records out
402653184 bytes (403 MB) copied, 2.5366 seconds, 159 MB/s
root@MyXen:~# dd if=/dev/zero of=ddtest bs=64k count=6144 conv=fdatasync && rm -rf ddtest
6144+0 records in
6144+0 records out
402653184 bytes (403 MB) copied, 2.38865 seconds, 169 MB/s
# dd if=/dev/zero of=ddtest bs=64k count=6144 oflag=dsync && rm -rf ddtest
6144+0 records in
6144+0 records out
402653184 bytes (403 MB) copied, 4.80365 seconds, 83.8 MB/s
# dd if=/dev/zero of=ddtest bs=4k count=98304 conv=fdatasync && rm -rf ddtest
98304+0 records in
98304+0 records out
402653184 bytes (403 MB) copied, 2.09802 seconds, 192 MB/s
# dd if=/dev/zero of=ddtest bs=4k count=6144 oflag=dsync && rm -rf ddtest
6144+0 records in
6144+0 records out
25165824 bytes (25 MB) copied, 1.71098 seconds, 14.7 MB/s |
|