NVMe vs SSD: Speed, Storage & Mistakes to Avoid
by Nathaniel Cooper, on Nov 15, 2019 2:13:03 PM
SSD (solid-state drive) is a type of nonvolatile storage media that stores persistent data on flash memory. It has two essential parts - a NAND flash memory and a flash controller optimized to deliver high read-write performance in sequential as well as random data fetching. SSDs don’t have any moving parts, so no breaking, spinning up or down, as was the case with ragged hard-disk drives with their rotating, magnetic media. SSD offers a distinct performance advantage. In the past, the pricing of SSDs had been way higher than HDDs. Still, with the improvements in manufacturing technology and chip capacity, prices are continuously dropping, which makes it worth every buck.
SSDs offer high transfer speeds, low latency even with random data access, more durability but not for hierarchical storage use, and expectedly no sound of moving parts. The stark performance boost can be seen in day-to-day usages, like swift system boot and shut down speeds, application launch is more robust, and the system feels smoother and without any lagging. You will have to try an SSD to see the magic it plays with the performance and agility of your computer system in handling heavy loads.
For perceived and real performance gains, storage was the last bottleneck, which was eliminated with the advent of SSD and then the high-performance NVMe SSD storage solutions. The NAND flash SSDs radically improved input-output performance, access times dropped from 6-12 milliseconds to less than 1ms. However, less than 1ms access times and breakneck I/O wasn’t anywhere near the actual capacity of what flash drives could do. The issue was the old hardware and software that was built over five decades ago for HDDs instead of the blazing-fast SSDs.
Several types of SSDs available that compete with one another in terms of performance and form factor, the real efficacy and robustness of flash memory have far been achieved.
What is SATA SSD?
SATA (Serial ATA) technology was introduced in 2003, replacing the older PATA (Parallel ATA) as the storage connection interface standard in computers. It was ushered in as a universal connector entailing a power cord and a SATA data cable, breakneck throughput in read-write speeds. At present, SATA is the market incumbent and is mostly used for connecting an SSD to the computer system. SATA uses the AHCI command protocol and supports the IDE, which primarily was built for the older and sluggish spinning disk drives and not for the sturdy flash-based storage.
Even to this day, when we consider the storage space, hard drives have a clear advantage over the SSDs as they cost less per gigabyte and hold data for longer.
SATA interface was established at the time of spinning hard disk drives, and companies made no compatibility changes. SATA SSDs can utilize the existing infrastructure for replacing the aged hard drives with a new SATA disk drive. Still, the recent advancement in the shape of NVMe doesn’t fit the SATA ports and need an M.2 port, which is rather difficult to find in prevalent consumer personal computers or laptops.
The theoretical speed of SATA 3.0 is 750MB/s, while due to physical overheads and encoding during the transfer itself, the effective transfer rate you’ll get with the newest SATA model is around 600MB/s, which is quite fast for a limiting SATA interface.
The difference in SATA and PCIe SSDs is significant in terms of cost per gigabyte, but SATA drives will give you more storage for your money, and we know when it comes to storage, we think of space, not speed mostly. SATA SSD can give you a terabyte or two for the same price as 250GB or 500GB of high-performance NVMe drive, though the speed difference isn’t noticeable for regular users.
Mistakes to avoid
- Defragmentation is not for SSDs and can negatively affect its lifespan. SSDs save data in blocks and can randomly read from any location, whether contiguous or random. You will be overkilling the flash drive when you defrag.
- Don’t use the SSD to its full capacity or you risk choking it. Because its performance gets affected, mainly write speeds, it is suggested to have minimal 25 percent of your storage space free for improved performance.
- Modern SSDs come with an in-built Garbage Collection Mechanism. Whether the TRIM command should be enabled or not is a question based on the specific OS you are using and needs to be looked into as it can clutter unwanted data in your drive and needs to be handled properly.
Related: SSD vs HDD for Video Editing
What is NVMe SSD?
Non-Volatile Memory Express (NVMe) is the latest industry-standard software interface for PCIe SSDs. Formally it is an optimized “scalable host controller interface designed to address the needs of Data Center, Enterprise, and Client systems that utilize PCI Express (PCIe) based Solid-State drives.” NVMe is a layer between the device driver and the PCIe device, standardizing the rules with emphasis on scalability, low latency, and security.
The standard developed to allow modern SSDs to operate at speeds flash memory is capable of, a sharp advantage with faster read-write. The NVMe SSD enables the flash memory to run directly through the PCI Express (PCIe) serial bus interface as it offers high bandwidth due to being directly attached to the CPU rather than function through the limiting SATA speeds. As SSDs superseded the slower HHDs as primary storage, a fast interface was required to achieve optimal use of the quicker speed capabilities.
In other words, it’s a technological depiction of the bus, the memory component (SSD) uses to communicate with the computer, and not exactly a new type of memory. A communications interface and driver that outlines a command set and feature set of PCIe based SSD. It comes in two form factor, M.2 or PCIe expansion card, a 2.5-inch U.2 connector, but with both form factors, it directly connects electrically to the motherboard via the PCIe rather than SATA connection.
The NVMe supports up to 64K commands per queue, but the protocol requires only thirteen commands to deliver high performance. The interface is designed for high scalability and NVM independence to enable next-generation technologies to deliver 4KB I/O in a mere 10μs or less, which is about one-thousandth of the latency of a high power 7200 RPM SATA drive.
NVMe is an improvement over the last interfaces like Serial ATA (SATA), and Serial Attached SCSI (SAS), which were developed for the shabby Hard Disk Drives (HDDs) and were being used till now even when replaced with SSDs because the memory technology was rapidly evolving. Still, the communication interface was not given proper attention. HDDs are still used as they provide large capacity and cheap storage, while the flash memory has previously been only employed in mobile devices like tablets, smartphones, but now are more quickly coming to the primary computer market because of blazing fast speeds and comparatively cheaper than before.
Though disk benchmarks are not indeed an accurate indicator of memory performance, they offer a baseline of what’s probable with a particular drive and system. You can see a clear difference in performance when you use NVMe, with a read/write throughput far higher than the hard drives and slower SATA SSDs also lagging somewhat behind. As prices continue to drop for the latest NVMe SSDs, they are becoming commonplace for normal personal computer users.
NVMe permits drives to use PCI Express connection, which brings many advantages over the SATA SSD interface, feasible for many application and usage scenarios. NVMe doesn’t need the intervening HBA and can connect to a higher number of PCIe lanes. A SAS lane runs at 12GB per second, which contracts to just about 1GB per second after overheads. As well a SATA lane props half of that, while PCIe lane runs at 1GB per second, and a standard NVMe SSD can be attached to four such lanes, supporting up to 4GB per second. So, a SATA SSD runs at 0.5GB per second and an NVMe SSD at around 3GB per second, which is six times higher throughput.
NVMe is not affected by the ATA interface constrictions as it sits right on the top of the PCI Express directly connected to the CPU. That results in 4 times faster Input/Output Operations Per Second (IOPs) rivaling the fastest SAS option out there. The seek time for data is ten times faster. NVMe can deliver sustained read-write speed of 2000MB per second, way faster than the SATA SSD III, which limits at 600MB per second. Here the bottleneck is NAND technology, which is rapidly advancing, which means we’ll likely see higher speeds soon with NVMe.
NVMe enables drives to benefit from the same “pool” of lanes that directly connect to the CPU. That offers scalable performance by going beyond the conventional four lanes found in most PCIe SSDs and utilize them for added performance. PCIe sockets transfer more than 25 times more data than their SATA equivalent.
NVMe drives consume a paltry amount of power in standby mode. Some of the NVMe companies have adopted the L1.2 low-power-consumption standby mode, meaning the power consumption will be under 2mW. A drastic 97 percent reduction from the 50mW used by an L1 state, widely used today. In addition to low power consumption in idle, there are other power states available for enterprise-grade users that can benefit from these to save power.
Regardless of form factor, NVMe directly communicates with the system CPU and works with all major operating systems.
NVMe SSDs reinforce the industry-standard security solutions such as the Opal SSC and Enterprise SSC by the Trusted Computing Group, by supporting the security container commands akin to the security container commands found in the SCSI.
Mistakes to avoid
Every good thing comes with its downsides, and the case is the same here with NVMe storage, which gives rise to performance issues and results in added cost and inconvenience. A few of the common mistakes and errors that can be avoided are:
- Remember, NVMe is a communication interface and storage protocol, not a storage media device.
- Deploy pooled SSD storage across the data center, which places a cache of SSD storage before higher capacity drives to provide cost-efficient and enhanced performance.
- Don’t judge an NVMe SSD on the base of price; it can cost you in endurance, quality of service, and most I/O consistency.
- A cost-benefit analysis is recommended and the analysis of the performance requirements of application workloads to determine if you do need the transitioning.
- Don’t deploy NVMe on top of the same architecture used for conventional flash, as the traditional controller can only handle low levels of I/O processing and create latency and cap performance.
Storage technology has advanced drastically over the past decade. Before the advent of SSDs, hard drives were the only storage type accessible and were pretty slow, but the systems at that time were also not that efficient to need faster storage. When SSDs came, they entirely changed the scenario for storage media, with their blazing speeds and convenient form factor.
Considering the potential exemplary performance of NAND-based SSDs, it was indeed clear that the new bus and protocol would eventually be replacing the dilapidated HHDs or for that matter, the SATA SSDs as well. Still, as the early SSDs were quite slow and massive, it deemed more feasible to use the existing SATA storage infrastructure.
In looking at the NVMe vs SDD, while NVMe is very fast and great technology, SDD still comes out on top - especially for video teams. But when (or if) that day comes, ProMAX will be here to let you know when it’s time to buy.
Until then, we've got you covered for your SSD storage. Get in touch with your needs or checkout some options by ProMAX.