08-25-2019, 05:12 PM
Hi @erols ,
Sorry for the late answer, I hope that can help, I got the 660p 2TB and it's working very well on the RockPro64 (armbian) but the RP have a PCIe NVMe v2.0 x4 (not a v3.0).
PCI speed:
v. 2.x (5 GT/s): 2GB/s (×4)
v. 3.x (8 GT/s): 4GB/s (×4)
RockPro64 PCI Bridge: $ sudo lspci -vv
Capabilities: [c0] Express (v2) Root Port (Slot+), MSI 00
LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L1, Exit Latency L0s <256ns, L1 <8us
I don't know how much the performance is limited as the theoretical read & write speed of this SSD is 1800 MB/s, but below are my tests.
Write tests:
$ sync; dd if=/dev/zero of=tempfile bs=512 count=1024 oflag=dsync; sync; rm tempfile
524288 bytes (524 kB, 512 KiB) copied, 1.08906 s, 481 kB/s
$ sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync; rm tempfile
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.74138 s, 392 MB/s
$ sync; dd if=/dev/zero of=tempfile bs=1G count=4 oflag=dsync; sync; rm tempfile
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 11.5571 s, 372 MB/s
Read tests: (tempfile need to be created with a write test)
$ sudo sync; sudo sysctl vm.drop_caches=3 # reset cache
$ dd if=tempfile of=/dev/null bs=512 count=2048
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00843704 s, 124 MB/s
$ sudo sync; sudo sysctl vm.drop_caches=3 # reset cache
$ dd if=tempfile of=/dev/null bs=1M count=1024
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.53206 s, 701 MB/s
$ sudo sync; sudo sysctl vm.drop_caches=3 # reset cache
$ dd if=tempfile of=/dev/null bs=2M count=2048
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 5.96889 s, 720 MB/s
hdparm test:
$ sudo sync; sudo sysctl vm.drop_caches=3
$ sudo hdparm -Tt /dev/nvme0n1
/dev/nvme0n1:
Timing cached reads: 2070 MB in 2.00 seconds = 1035.34 MB/sec
Timing buffered disk reads: 1876 MB in 3.00 seconds = 625.27 MB/sec
If someone get a nvme SSD with a better quantity & quality vs price, i am looking for suggestion in order to do a backup server.
Sorry for the late answer, I hope that can help, I got the 660p 2TB and it's working very well on the RockPro64 (armbian) but the RP have a PCIe NVMe v2.0 x4 (not a v3.0).
PCI speed:
v. 2.x (5 GT/s): 2GB/s (×4)
v. 3.x (8 GT/s): 4GB/s (×4)
RockPro64 PCI Bridge: $ sudo lspci -vv
Capabilities: [c0] Express (v2) Root Port (Slot+), MSI 00
LnkCap: Port #0, Speed 5GT/s, Width x4, ASPM L1, Exit Latency L0s <256ns, L1 <8us
I don't know how much the performance is limited as the theoretical read & write speed of this SSD is 1800 MB/s, but below are my tests.
Write tests:
$ sync; dd if=/dev/zero of=tempfile bs=512 count=1024 oflag=dsync; sync; rm tempfile
524288 bytes (524 kB, 512 KiB) copied, 1.08906 s, 481 kB/s
$ sync; dd if=/dev/zero of=tempfile bs=1M count=1024; sync; rm tempfile
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.74138 s, 392 MB/s
$ sync; dd if=/dev/zero of=tempfile bs=1G count=4 oflag=dsync; sync; rm tempfile
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 11.5571 s, 372 MB/s
Read tests: (tempfile need to be created with a write test)
$ sudo sync; sudo sysctl vm.drop_caches=3 # reset cache
$ dd if=tempfile of=/dev/null bs=512 count=2048
1048576 bytes (1.0 MB, 1.0 MiB) copied, 0.00843704 s, 124 MB/s
$ sudo sync; sudo sysctl vm.drop_caches=3 # reset cache
$ dd if=tempfile of=/dev/null bs=1M count=1024
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 1.53206 s, 701 MB/s
$ sudo sync; sudo sysctl vm.drop_caches=3 # reset cache
$ dd if=tempfile of=/dev/null bs=2M count=2048
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 5.96889 s, 720 MB/s
hdparm test:
$ sudo sync; sudo sysctl vm.drop_caches=3
$ sudo hdparm -Tt /dev/nvme0n1
/dev/nvme0n1:
Timing cached reads: 2070 MB in 2.00 seconds = 1035.34 MB/sec
Timing buffered disk reads: 1876 MB in 3.00 seconds = 625.27 MB/sec
If someone get a nvme SSD with a better quantity & quality vs price, i am looking for suggestion in order to do a backup server.