我在PC的u盘上试了下,怎么速度这么快啊
是因为写到cache?
#:/media/usbdisk-1$ dd if=/dev/zero of=./testdata bs=1K count=128K
131072+0 records in
131072+0 records out
134217728 bytes (134 MB) copied, 0.593524 seconds, 226 MB/s
#:/media/usbdisk-1$ dd if=./testdata of=/dev/null bs=1K
131072+0 records in
131072+0 records out
134217728 bytes (134 MB) copied, 0.226444 seconds, 593 MB/s
用dd命令
1。写速度
dd if=/dev/zero of=./testdata bs=1K count=128K
131072+0 records in
131072+0 records out
134217728 bytes (134 MB) copied,2.56889 秒,52.2 MB/秒
2。读速度
dd if=./testdata of=/dev/null bs=1K
131072+0 records in
131072+0 records out
134217728 bytes (134 MB) copied,0.568052 秒,236 MB/秒
【 在 CPUfan (*风扇*) 的大作中提到: 】
-------------------------------
【 在 zhongnan (终南) 的大作中提到: 】
: arch:arm(s3c2410)
: linux-2.6
: 跑通了一个2.0的host驱动。
: ...................