Linux USB 文件读写性能测试
USB 端口读写性能测试:
========================================================
读测试:
sync && echo 3 > /proc/sys/vm/drop_caches; dd if=/mnt/media_rw/F004-BB9B/file.bin of=/dev/zero bs=4096 count=524288
写测试:
sync && echo 3 > /proc/sys/vm/drop_caches; dd if=/dev/zero of=/mnt/media_rw/F004-BB9B/file.bin bs=4096 count=524288
sync && echo 3 > /proc/sys/vm/drop_caches; dd if=/dev/zero of=./sdg bs=4096 count=131072