1、测试读取速度 sudo hdparm -tT /dev/md0
2、测试写速度 time dd if=/dev/md4 bs=1024 count=10000000 of=/10Gb.file
机械盘读 250.59 MB/sec
root@LorenNAS:/# hdparm -tT /dev/md4
/dev/md4:
Timing cached reads: 26880 MB in 1.93 seconds = 13924.19 MB/sec
Timing buffered disk reads: 752 MB in 3.00 seconds = 250.59 MB/sec
NVME读1675.94 MB/sec
root@LorenNAS:/# hdparm -tT /dev/md5
/dev/md5:
Timing cached reads: 27188 MB in 1.93 seconds = 14121.66 MB/sec
Timing buffered disk reads: 5028 MB in 3.00 seconds = 1675.94 MB/sec
机械盘写 261 MB/s
root@LorenNAS:/# time dd if=/dev/md4 bs=1024 count=10000000 of=/volume4/10G.file
10000000+0 records in
10000000+0 records out
10240000000 bytes (10 GB) copied, 39.2492 s, 261 MB/s
NVME写305 MB/s(这块有点不科学,可能是同盘读写的问题先不动)
root@LorenNAS:/# time dd if=/dev/md5 bs=1024 count=10000000 of=/volume4/10G.file
10000000+0 records in
10000000+0 records out
10240000000 bytes (10 GB) copied, 33.5482 s, 305 MB/s