以Tomato DualWAN 1.23.0410版本为例,假设硬盘挂载路径为/mnt/disc0_1,下面的读写测试文件为20M
写入速度测试:
# time dd bs=512 count=40960 if=/dev/zero of=/mnt/disc0_1/test
40960+0 records in
40960+0 records out
real 0m 6.32s
user 0m 0.42s
sys 0m 5.31s
real那一行就是生成这个文件所需要的时间,那么写入速度=20/6.32,即为3.16MB/s
读取速度测试:
# time dd bs=512 count=40960 of=/dev/null if=/mnt/disc0_1/test
40960+0 records in
40960+0 records out
real 0m 2.10s
user 0m 0.08s
sys 0m 0.78s
real那一行就是读取这个文件所需要的时间,那么读取速度=20/2.1,即为9.52MB/s
| 下页 > |
|---|





