Difference between revisions of "Solid state drive/NVMe"

From ArchWiki
Jump to navigation Jump to search
m (improve style)
m (Removed grub limitation note as it's been fixed)
Line 12: Line 12:
  
 
Extra userspace NVMe tools can be found in {{aur|nvme-cli-git}}
 
Extra userspace NVMe tools can be found in {{aur|nvme-cli-git}}
 
=== Limitations ===
 
 
==== GRUB ====
 
 
[[GRUB]] does not support booting from {{ic|/boot}} partitions that reside on NVMe drives, see {{Bug|47447}}.
 
  
 
== Performance ==
 
== Performance ==

Revision as of 02:45, 7 March 2016

NVM Express (NVMe) is a specification for accessing SSDs attached through the PCI Express bus. As a logical device interface, NVM Express has been designed from the ground up, capitalizing on the low latency and parallelism of PCI Express SSDs, and mirroring the parallelism of contemporary CPUs, platforms and applications.

Installation

The Linux NVMe driver is natively included in the kernel since version 3.3. NVMe devices should show up under /dev/nvme*.

Extra userspace NVMe tools can be found in nvme-cli-gitAUR

Performance

Alignment

Partitions should be aligned to 4096 bytes.

Discards

Note: Contrary to recommendations for SSDs, NVMe devices should not be issued discards.

Discards are disabled by default on typical setups that use ext4 and LVM, but other filesystems might need discards to be disabled explicitly.

Airflow

NVMe SSDs are known to be affected by high operating temperatures and will throttle performance over certain thresholds.[1]

Testing

Raw device performance tests can be run with hdparm:

# hdparm -Tt --direct /dev/nvme0n1

References