What's the real speed of NVMe?
I saw a lot of benchmark (mostly VPS) and there were almost no difference between SSD and NVMe speed in yet-another-bench-sript. But people still instist that NVMe is way better and you have to use NVMe if you want your site working faster. Is it still true?
For example:
This is NVMe
Block Size | 4kb (IOPS) | 64kb (IOPS)
------ | --- ---- | ---- ----
Read | 127.80 MB/s (31.9k) | 1.73 GB/s (27.0k)
Write | 128.13 MB/s (32.0k) | 1.74 GB/s (27.2k)
Total | 255.93 MB/s (63.9k) | 3.47 GB/s (54.2k)
| |
Block Size | 512kb (IOPS) | 1mb (IOPS)
------ | ----- ---- | --- ----
Read | 3.21 GB/s (6.2k) | 3.27 GB/s (3.1k)
Write | 3.38 GB/s (6.6k) | 3.49 GB/s (3.4k)
Total | 6.59 GB/s (12.8k) | 6.76 GB/s (6.6k)
This is SSD
Block Size | 4kb (IOPS) | 64kb (IOPS)
------ | --- ---- | ---- ----
Read | 120.22 MB/s (30.2k) | 1.69 GB/s (26.8k)
Write | 120.25 MB/s (30.2k) | 1.69 GB/s (26.8k)
Total | 240.47 MB/s (60.4k) | 3.38 GB/s (53.6k)
| |
Block Size | 512kb (IOPS) | 1mb (IOPS)
------ | ----- ---- | --- ----
Read | 3.29 GB/s (6.3k) | 3.17 GB/s (3.1k)
Write | 3.41 GB/s (6.5k) | 3.28 GB/s (3.4k)
Total | 6.70 GB/s (12.8k) | 6.76 GB/s (6.5k)
Yes I know it also depends on how many clients split the disk but...
Comments
Sigh, benchmark junkies.
Use common sense and perhaps a little bit of logic.
♻ Amitz day is October 21.
♻ Join Nigh sect by adopting my avatar. Let us spread the joys of the end.
For the sake of this discussion ssd and nvme only differ in the way they connect to the system: sas/sata vs pci.
This means if you are not reaching the limits of sata you won't see the difference.
Both of the results you posted are most definitely hitting a ram cache.
NVMe is a bit of a safer bet that you will have the iops available even after the node is loaded up. A well managed box with SSD storage at a good provider can work as well/better though. All comes down to how noisy your neighbors are.
🦍🍌
see also:
https://en.wikipedia.org/wiki/SATA_Express
Yes
Those numbers seem unlikely - even the gen 4 pcie drives are like 5 gb/s max. Well the consumer tech anyway