I was curious to see if there were any big differences in performance between the default Amazon AWS EC2 GP2 SSD volumes and the NVMe SSD volumes so I did a quick test to find out. As you can see from the results, the biggest difference is in NVMe SSD cached reads.

The NVMe SSD volumes perform cached reads consistently faster than the GP2 SSD volumes. For me it’s a big enough price/performance difference to warrant switching to NVMe SSD but it really depends on your application and whether or not you have some other caching in place that makes the additional speed irrelevant.

What are your experiences with NVMe SSD performance?

1MB

NVMe SSD Write 1MB
10485760 bytes (10 MB, 10 MiB) copied, 0.0496463 s, 211 MB/s
GP2 SSD Write 1MB
10485760 bytes (10 MB, 10 MiB) copied, 0.0422156 s, 248 MB/s

NVMe SSD Read 1MB (No Cache)
10485760 bytes (10 MB, 10 MiB) copied, 0.0269639 s, 389 MB/s

GP2 SSD Read 1MB
10485760 bytes (10 MB, 10 MiB) copied, 0.0244269 s, 429 MB/s

NVMe SSD Read 1MB (Cache)
10485760 bytes (10 MB, 10 MiB) copied, 0.00325403 s, 3.2 GB/s

GP2 SSD Read 1MB
10485760 bytes (10 MB, 10 MiB) copied, 0.00478288 s, 2.2 GB/s

50MB

NVMe SSD Write 50MB
52428800 bytes (52 MB, 50 MiB) copied, 0.198124 s, 265 MB/s

GP2 SSD Write 50MB
52428800 bytes (52 MB, 50 MiB) copied, 0.169819 s, 309 MB/s

NVMe SSD Read 50MB (No Cache)
52428800 bytes (52 MB, 50 MiB) copied, 0.130319 s, 402 MB/s

GP2 SSD Read 50MB
52428800 bytes (52 MB, 50 MiB) copied, 0.104876 s, 500 MB/s

NVMe SSD Read 50MB (Cache)
52428800 bytes (52 MB, 50 MiB) copied, 0.0167821 s, 3.1 GB/s

GP2 SSD Read 50MB
52428800 bytes (52 MB, 50 MiB) copied, 0.0201709 s, 2.6 GB/s

500MB

NVMe SSD Write 500MB
524288000 bytes (524 MB, 500 MiB) copied, 3.32792 s, 158 MB/s

GP2 SSD Write 500MB
524288000 bytes (524 MB, 500 MiB) copied, 3.4087 s, 154 MB/s

NVMe SSD Read 500MB (No Cache)
524288000 bytes (524 MB, 500 MiB) copied, 3.84671 s, 136 MB/s

GP2 SSD Read 500MB
524288000 bytes (524 MB, 500 MiB) copied, 3.82166 s, 137 MB/s

NVMe SSD Read 500MB (Cache)
524288000 bytes (524 MB, 500 MiB) copied, 0.161607 s, 3.2 GB/s

GP2 SSD Write 500MB
524288000 bytes (524 MB, 500 MiB) copied, 0.194135 s, 2.7 GB/s

LEAVE A REPLY

Please enter your comment!
Please enter your name here