Back to Blog

NVMe vs SATA SSD vs HDD Explained

NVMe vs SATA SSD vs HDD Explained
Command of the Day
lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT,MODEL

What it does: Lists all available block storage devices, partition tables, filesystems, and device models connected to the server.

Storage infrastructure is one of the most critical performance determinants for server workloads. A fast CPU can be rendered completely idle if it spends cycles waiting for slow disk drives to read or write data (known as high iowait).

In this guide, we compare the three major storage technologies—HDD, SATA SSD, and NVMe SSD—and explain how IOPS and access latency impact server operations on RivinCloud.


1. Storage Technology Breakdown

┌────────────────────────────────────────────────────────────────────────┐
│                        STORAGE EVOLUTION                               │
│  Mechanical HDD           SATA Solid-State Drive       PCIe NVMe SSD   │
│ (Spinning Disks)   ──►   (SATA III Bus 6Gbps Limit) ──► (Direct PCIe)  │
│  ~150 MB/s               ~550 MB/s                     ~3,500-7,500+ MB/s│
└────────────────────────────────────────────────────────────────────────┘

1. Mechanical Hard Disk Drive (HDD)

Uses spinning magnetic platters and mechanical read/write heads.

  • Sequential Speed: ~100 to 200 MB/s.
  • Access Latency: 5 to 15 milliseconds (slow due to mechanical head movement).
  • Best For: Cold storage archives, high-capacity backups, media storage.

2. SATA Solid-State Drive (SATA SSD)

Uses flash memory chips (NAND) with no moving parts, connected via the legacy SATA III controller interface.

  • Sequential Speed: ~500 to 550 MB/s (capped by the 6 Gbps SATA bus interface).
  • Access Latency: 0.1 milliseconds.
  • Best For: General legacy hosting and secondary storage.

3. Non-Volatile Memory Express (NVMe SSD)

Uses high-speed flash NAND communicating directly over the PCI Express (PCIe) bus, bypassing slow legacy SATA controllers completely.

  • Sequential Speed: 3,500 MB/s (PCIe Gen 3) to 7,500+ MB/s (PCIe Gen 4/5).
  • Access Latency: Microseconds (0.02ms).
  • Best For: Database servers, game servers (Minecraft chunk loading), high-traffic web applications.

2. Head-to-Head Performance Comparison

Metric HDD (Spinning Disk) SATA SSD PCIe NVMe SSD
Interface SATA / SAS SATA III PCIe Gen 4 / 5 (Direct)
Max Sequential Read ~180 MB/s ~550 MB/s 3,500 – 7,500+ MB/s
Max Sequential Write ~150 MB/s ~500 MB/s 3,000 – 7,000+ MB/s
Random IOPS (4K) ~100 – 200 IOPS ~90,000 IOPS 500,000 – 1,000,000+ IOPS
Access Latency ~10ms (Milliseconds) ~0.1ms ~0.02ms (Microseconds)

3. Why IOPS and Latency Matter More Than MB/s

While marketing specs focus on sequential MB/s (great for copying one giant video file), server workloads (like databases or game servers) perform thousands of tiny random 4KB read/write operations every second.

  • IOPS (Input/Output Operations Per Second): Indicates how many individual file read/write requests the storage drive can execute per second.
  • NVMe drives deliver over 500,000 IOPS, allowing database queries and chunk loads to execute without bottlenecking the CPU.

Command of the Day: lsblk

The lsblk (List Block Devices) command displays information about all block devices connected to your Linux system.

Syntax

lsblk [options]

Practical Example

lsblk -o NAME,SIZE,FSTYPE,TYPE,MOUNTPOINT,MODEL

Sample Output

NAME        SIZE FSTYPE TYPE MOUNTPOINT MODEL
nvme0n1   953.9G        disk            SAMSUNG MZQL2960HCJR-00A07
├─nvme0n1p1 512M vfat   part /boot/efi
└─nvme0n1p2 953.4G ext4   part /

Explanation

The nvme0n1 prefix confirms that your primary system partition is mounted directly on a high-speed NVMe drive.


Common Mistakes

  • Using HDDs for database hosting: Running MySQL or PostgreSQL on spinning HDDs causes high iowait and severe application latency.
  • Confusing megabits with megabytes: Disk speeds are measured in Bytes (e.g. 3500 MB/s), whereas network speeds are measured in bits (e.g. 1 Gbps).

Troubleshooting

  • Checking active disk I/O performance: Install sysstat and run iostat to monitor disk load in real time:
    sudo apt install sysstat -y
    iostat -xz 1 5
    

Best Practices

  • Standardize on enterprise NVMe storage for all production databases, APIs, and game server hosting.
  • Use HDDs strictly for secondary compressed backups.

Frequently Asked Questions

What is the difference between M.2 and U.2/U.3 NVMe drives?

M.2 is a small consumer form factor, whereas U.2/U.3 drives are enterprise hot-swappable NVMe drives designed for continuous server operation and higher thermal dissipation.


Conclusion

NVMe storage provides revolutionary speed gains in throughput, IOPS, and latency compared to legacy drives. Power your servers with ultra-fast NVMe storage on RivinCloud!