|
发表于 2014-11-2 12:19:36
|
显示全部楼层
jerryli 发表于 2014-10-30 22:41
不错
1、首先测试一下lubuntu启动好后的内存剩余有多少,在ssh里面用free -k看一下,或者top
...
这种zero生成的文件测试结果不准确吧
你看我zero测试USB2.0 IO的结果 读取速度快一看就不是真实的数据
u32是我的USB3.0 MSATA SSD接到CC-A80的 USB 2.0 port
linaro@cubieboard4:/mnt/u32$ sudo dd if=/dev/zero of=/mnt/u32/test.tmp bs=1M count=500
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 101.154 s, 5.2 MB/s
linaro@cubieboard4:/mnt/u32$ sudo dd if=/mnt/u32/test.tmp of=/dev/zero bs=1M count=500
500+0 records in
500+0 records out
524288000 bytes (524 MB) copied, 1.21585 s, 431 MB/s
linaro@cubieboard4:/mnt/u32$ sudo dd if=/mnt/u32/test.tmp of=/dev/zero bs=10M count=50
50+0 records in
50+0 records out
524288000 bytes (524 MB) copied, 1.20938 s, 434 MB/s
再看我用实际存在的大文件来测试USB2.0 port的 读取速度
linaro@cubieboard4:/mnt/u32$ sudo dd if=/mnt/u32/AutoCAD2014-64bit/AutoCAD_2014_Simplified_Chinese_Win_64bit_dlm.sfx.exe of=/dev/null bs=100M count=5
5+0 records in
5+0 records out
524288000 bytes (524 MB) copied, 19.0267 s, 27.6 MB/s
linaro@cubieboard4:/mnt/u32$ sudo dd if=/mnt/u32/AutoCAD2014-64bit/AutoCAD_2014_Simplified_Chinese_Win_64bit_dlm.sfx.exe of=/dev/null bs=10M count=50
50+0 records in
50+0 records out
524288000 bytes (524 MB) copied, 19.183 s, 27.3 MB/s
linaro@cubieboard4:/mnt/u32$ sudo dd if=/mnt/u32/AutoCAD2014-64bit/AutoCAD_2014_Simplified_Chinese_Win_64bit_dlm.sfx.exe of=/dev/null bs=100M count=5
5+0 records in
5+0 records out
524288000 bytes (524 MB) copied, 19.1166 s, 27.4 MB/s
linaro@cubieboard4:/mnt/u32$ sudo dd if=/mnt/u32/AutoCAD2014-64bit/AutoCAD_2014_Simplified_Chinese_Win_64bit_dlm.sfx.exe of=/dev/null bs=4k count=100k
102400+0 records in
102400+0 records out
419430400 bytes (419 MB) copied, 15.3228 s, 27.4 MB/s
|
|