linux下测试读写速度的简单命令
# date; cp (MTD NAND directory) filename (temp directory) filename; sync; date
# date; cp (temp directory) filename; (MTD NAND directory) filename; sync; date
例如:
date;cp /mnt/sda2/music.zip /tmp;sync;date
date;cp /tmp/music.zip /mnt/sda2/music.zip;date
在nuc960测试ntfs读写的结果
sh-3.2# date;cp /mnt/sda2/music.zip /tmp;sync;date
Thu Jan 1 00:01:28 UTC 1970
Thu Jan 1 00:01:30 UTC 1970
sh-3.2# cd sda2
sh-3.2# ls -l
drwxrwxrwx 1 root root 0 Oct 28 2013 System Volume Information
-rwxrwxrwx 1 root root 51715390 Jan 1 00:03 linux-2.6.17.14.tar.gz
-rwxrwxrwx 1 root root 13289438 Oct 28 2013 music.zip
-rwxrwxrwx 2 root root 12976128 Jul 23 2013 rootfs-t.yaffs2
sh-3.2# date;cp /tmp/music.zip /mnt/sda2/music2.zip;sync;date
Thu Jan 1 00:02:47 UTC 1970
Thu Jan 1 00:02:59 UTC 1970
sh-3.2# date;cp /tmp/music.zip /mnt/sda2/music2.zip;sync;date
Thu Jan 1 00:03:15 UTC 1970
Thu Jan 1 00:03:28 UTC 1970
文件大小 12MB多
读速度:5MB/s左右
写速度:1MB/s左右

本文介绍了一种在Linux环境下测试NTFS文件系统读写速度的方法,并通过具体示例展示了读写速度的实际测试结果。
4670

被折叠的 条评论
为什么被折叠?



