2024-12-13, 04:38 PM
I have an NV3 PCIe 4.0 NVMe SSD Kingston Model Number SNV3S/500G. I have just done a test on the NVMe drive I should be getting much higher reading than these. The write speeds are worse than the eMMC. I am not sure if this is an armbian OS issue.
/dev/nvme0n1:
Timing O_DIRECT cached reads: 1606 MB in 2.00 seconds = 803.98 MB/sec
Timing O_DIRECT disk reads: 3332 MB in 3.00 seconds = 1110.38 MB/sec
root@orangepi5-plus:~# hdparm -Tt /dev/nvme0n1
/dev/nvme0n1:
Timing cached reads: 2480 MB in 2.00 seconds = 1241.87 MB/sec
Timing buffered disk reads: 1386 MB in 3.00 seconds = 461.39 MB/sec
root@orangepi5-plus:~# dd if=/dev/zero of=/srv/dev-disk-by-uuid-1d9dd550-94e7-4f03-9cba-9a33c9c87cb2/test1.img bs=64M count=1 oflag=dsync
1+0 records in
1+0 records out
67108864 bytes (67 MB, 64 MiB) copied, 0.445011 s, 151 MB/s
root@orangepi5-plus:~# dd if=/dev/zero of=/srv/dev-disk-by-uuid-1d9dd550-94e7-4f03-9cba-9a33c9c87cb2/test1.img bs=1GB count=1 oflag=dsync
1+0 records in
1+0 records out
1000000000 bytes (1.0 GB, 954 MiB) copied, 5.83242 s, 171 MB/s
/dev/nvme0n1:
Timing O_DIRECT cached reads: 1606 MB in 2.00 seconds = 803.98 MB/sec
Timing O_DIRECT disk reads: 3332 MB in 3.00 seconds = 1110.38 MB/sec
root@orangepi5-plus:~# hdparm -Tt /dev/nvme0n1
/dev/nvme0n1:
Timing cached reads: 2480 MB in 2.00 seconds = 1241.87 MB/sec
Timing buffered disk reads: 1386 MB in 3.00 seconds = 461.39 MB/sec
root@orangepi5-plus:~# dd if=/dev/zero of=/srv/dev-disk-by-uuid-1d9dd550-94e7-4f03-9cba-9a33c9c87cb2/test1.img bs=64M count=1 oflag=dsync
1+0 records in
1+0 records out
67108864 bytes (67 MB, 64 MiB) copied, 0.445011 s, 151 MB/s
root@orangepi5-plus:~# dd if=/dev/zero of=/srv/dev-disk-by-uuid-1d9dd550-94e7-4f03-9cba-9a33c9c87cb2/test1.img bs=1GB count=1 oflag=dsync
1+0 records in
1+0 records out
1000000000 bytes (1.0 GB, 954 MiB) copied, 5.83242 s, 171 MB/s