今天跑了一下Linux的,读比安卓快,写比安卓慢。完全相同的硬件
uname -a
Linux freescale 3.10.17-ga4901c0-dirty #11 SMP PREEMPT Tue Nov 4 13:38:25 CST 2014 armv7l GNU/Linux
root@freescale /mnt/src$ time dd if=/dev/zero of=test.dat bs=4k count=500000
500000+0 records in
500000+0 records out
2048000000 bytes (1.9GB) copied, 31.245623 seconds, 62.5MB/s
real 0m 31.41s
user 0m 0.41s
sys 0m 19.18s
root@freescale /mnt/src$ time dd if=test.dat of=/dev/null bs=4k
500000+0 records in
500000+0 records out
2048000000 bytes (1.9GB) copied, 15.369363 seconds, 127.1MB/s
real 0m 15.51s
user 0m 0.15s
sys 0m 15.18s
uname -a
Linux freescale 3.10.17-ga4901c0-dirty #11 SMP PREEMPT Tue Nov 4 13:38:25 CST 2014 armv7l GNU/Linux
root@freescale /mnt/src$ time dd if=/dev/zero of=test.dat bs=4k count=500000
500000+0 records in
500000+0 records out
2048000000 bytes (1.9GB) copied, 31.245623 seconds, 62.5MB/s
real 0m 31.41s
user 0m 0.41s
sys 0m 19.18s
root@freescale /mnt/src$ time dd if=test.dat of=/dev/null bs=4k
500000+0 records in
500000+0 records out
2048000000 bytes (1.9GB) copied, 15.369363 seconds, 127.1MB/s
real 0m 15.51s
user 0m 0.15s
sys 0m 15.18s
一周热门 更多>