Technology / System Admin

Is a NVMe Faster Than SATA Hard Drives?

Is a NVMe Faster Than SATA Hard Drives? picture: A
Follow us
Published on June 24, 2021

Device storage speed can have a huge impact on productivity. Though other system components, like the amount of memory or the type or processor in a system, can affect the performance of a computer, fast storage can dramatically improve how fast documents save and open and how quickly an operating system responds. So, a lot of consumers and businesses will ask if NVME is faster than a SATA hard drive and whether the additional cost is worth the performance.

Is an NVME drive faster than a SATA hard drive?

NVME drives typically offer faster performance than both solid-state SATA drives as well as mechanical SATA drives. Though there are different types of NVME drives, NVME drives communicate through the PCI Express bus in a computer which allows for faster throughput speeds than the more traditional SATA interface. This eliminates the bottleneck that the SATA interface imposes on storage devices allowing the non-volatile storage memory used in NVME drives to operate at its maximum speed.

What is SATA?

In the beginning, there was PATA.

Cheesy movie puns aside, before there was SATA, there was PATA. PATA stands for parallel AT attachment (ATA). Just like SATA, PATA is also compatible with legacy ATA protocols. PATA used a parallel communication method on a 16-bit bus using either a 40- or 80-pin cable.

SATA stands for serial AT attachment. It's designed to work with higher signaling rates for faster data transfer speeds, supports hot-swapping, and can optionally support I/O queuing. The cable used to connect SATA devices is also much smaller and shorter in size and length. Making this switch helped improve airflow which, at the time, was a growing issue as PC components became much hotter.

Likewise, the ability to hot-swap storage devices was extremely critical for some applications. For instance, if a hard drive fails in a server environment, it is much easier to remove and replace a SATA-based storage device without the server experiencing downtime and affecting business operations.

It's important to note that SATA devices still typically operate through the advanced host controller interface (AHCI) like older more advanced PATA drives would. Though the SATA device still operates through the AHCI protocol, it can support much faster data transfer rates than PATA drives, especially when the SATA device is a solid-state device.

What Types of SATA Hard Drives are There?

SATA drives come in all shapes and sizes. You must remember that SATA is nothing more than the kind of plug a drive uses. Different types of drives can use the SATA interface. Despite this, SATA storage devices typically come in one of three types.

SATA Mechanical Drive

SATA mechanical drives are your traditional hard drive. These drives use magnetic platters to store information. A head reads data from these platters as they spin. Think of this as a vinyl record. As a vinyl record spins, the needle of the record player reads information from that vinyl record in sequential order to play music. In the same way, the head in a mechanical hard drive reads data from its platters as those platters spin.

Traditional mechanical hard drives are the slowest types of drives. That's because data can only be read once per revolution (each spin). This inherently creates latency as the hard drive must wait for the platter to spin a full circle before it can read the next bit of data.

Solid-state Drive

Solid-state drives are hard drives that use non-volatile memory similar to RAM for storage. Solid state drive types can use different kinds of memory and can run at different speeds, so how fast they are is very dependent on numerous factors.

Nonetheless, because solid-state drives use memory to store information, they are almost always faster than a traditional mechanical drive. That is because the drive controller for solid-state drives can read data without waiting for physical parts to finish moving. They only need to access the on-board memory to retrieve data.

Hybrid SATA Drive

Hybrid mechanical drives are a mix of solid-state and traditional mechanical drives. Hybrid hard drives have a small amount of solid-state storage on board. The amount of solid-state storage included with hybrid hard drives varies, but it is typically 16GB, 32GB, or 64GB worth of storage.

Hybrid drives were created as a stop-gap solution when solid-state drives were first introduced into the market. At that time, solid-state drives were much more expensive while providing much less storage space. Hybrid hard drives were able to improve the speed of a traditional mechanical drive by keeping commonly accessed files in the solid-state memory on the drive while using the magnetic platters as a larger, 'cold' storage area.

Hybrid hard drives are still being manufactured today, though they are not as common as solid-state hard drives or traditional mechanical hard drives. Since the introduction of solid-state drives, their prices have fallen dramatically. Because of that, solid-state drives have become the go-to option for business and consumer computers while mechanical drives are much more affordable mass storage devices for things like network attached storage units or mass storage drives inside of computers.

How does a Data Hard Drive use NCQ?

Both traditional mechanical and hybrid hard drives use something called NCQ. NCQ stands for native command queuing, and it was not possible until the SATA spec was released in 2003.

Before NCQ came along, a platter-based hard drive simply read and wrote data in the order that it was received by the controllers in the computer. This was not very efficient. So NCQ was created.

NCQ works similarly to how an elevator works. If a person uses an elevator to go from the 1rst floor of a building to the 10th floor, it will still stop at each floor in between when someone calls it as long as that person calls the elevator before it reaches that floor. That means an elevator moving from the 1rst to the 10th floor may very well stop at the 2nd and 7th floor along the way.

It would be extremely inefficient if that elevator skipped the 2nd and 7th floor and went straight to the 10th floor. Then backtracked to the 2nd floor only to go to the 10th floor again. Then it backtracked to the 7th floor only to go back to the 10th floor a third time.

I bet you read that sentence and your eyes went cross for a quick second. It's a little obnoxious to read and equally as obnoxious in operation. Before NCQ came along, this is how mechanical hard drives worked.

NCQ queues data in a more efficient way. The drive controller takes a request for data that needs to be saved or read from the magnetic platters in a hard drive and organizes them based on efficiency rather than the chronological order those requests were made. Implementing NCQ almost doubled the efficiency of mechanical drives after it was first introduced.

Do all Data Hard Drives use NCQ?

As common as NCQ is today, not all drivers use it. Nor do you always need NCQ. For instance, if you are using a mechanical hard drive to store video files for a NAS or camera system, the drive won't benefit from NCQ that much. That is because both reading and writing large data files, like videos, to a drive is a very sequential operation. Otherwise, the data is already naturally queued in the most optimized way simply because the file is a large file and the drive needs to work with that one file by itself before moving on to another request.

That's an important consideration to take when purchasing mechanical drives. You need to consider what that drive will be used for. Purchasing data storage drives without NCQ can save a little money for each drive. When you are purchasing a bunch of drives for something like a SAN or NAS, though, that little bit of money can add up quickly.

On the other hand, if you are purchasing a mechanical drive for a machine used for work, it is worth the extra cost to purchase a drive with NCQ.

Do Solid-State Hard Drives Fail Quickly?

One of the concerns many people have with purchasing a solid-state hard drive over a mechanical hard drive is the failure rate. It's commonly mentioned both in online forums as well as manufacturer documentation that solid-state hard drives can only be written to a certain number of times.

When solid-state hard drives first entered the mass market, that was a concern. We simply did not have enough data to understand whether those concerns were valid. Today we understand that solid-state drives will typically outlast the usefulness of many computers, though. Through a variety of tactics, like wear-leveling support, the usable life of a solid-state drive can easily be 10 years or more for general consumer or business PCs.

The IT industry has found that a solid-state hard drive is more likely to fail due to an issue with the drive controller before the storage memory has an issue itself. Hard drive controller failure can be equally problematic for both solid-state hard drives as well as traditional mechanical hard drives.

What is eMMC Storage?

eMMC storage can be considered a type of solid-state hard drive. In fact, it still uses a non-volatile memory scheme like SATA-based SSD hard drives and NVMe drives. The difference is the type of memory it uses, though. eMMC storage drives use a much slower, cheaper form of memory for storage (flash memory instead of NANd memory). Unfortunately, eMMC memory can often be slower than a traditional mechanical hard drive. Its only benefit is the amount of space it requires for a computer. If at all possible, it is recommended to not purchase a device that uses eMMC memory.

What is NVME?

NVME stands for non-volatile memory express, and it is a faster alternative to the SATA interface. As SSDs became faster, they were severely limited by the throughput that the SATA interface offered since SATA was originally intended for mechanical hard drives. Instead of connecting through a serial bus controller as SATA does, NVME SSD hard drives use the PCI Express bus to communicate with the system.

The first NVME spec was released in 2013 ten years after the first SATA spec was released. It didn't start to receive more mass adoption until the mid-2010s, though. Before that time, NVME drives were typically used in servers and HPCs (high-performance computers) through specialized PCIe adapter cards. Though they are still used with these specialized PCIe adapter cards, NVMe drives can commonly be found in the M.2 form factor. The M.2 form factor is common with both laptops and desktop motherboards today.

Should You Buy an NVME or SATA Hard Drive?

The short answer is if possible, purchase an NVME drive for a computer. The prices of NVME drives have fallen considerably in the past few years making them competitive in price to even mid-tier SATA SSD drives. Likewise, NVME drives offer superior performance to traditional SATA-based SSD drives, hybrid hard drives, and traditional mechanical hard drives.

Of course, the answer is never that simple, though. So let's break down a few different use cases.

Should You Buy an NVME Drive for Servers?

Servers can be tricky beasts when choosing hardware for them. Server hardware is used for a variety of different applications, so you need to think about both current needs as well as future expandability as well.

Depending on your current server hardware, you may not have the option to use NVME drives. You will need to check the hardware compatibility of your server with the manufacturer.

Most server hardware will require using PCIe adapter cards for NVME drives. This can also limit the expandability of how many NVMe drives you can add to a server, though many PCIe adapter cards exist that can utilize four or more NVMe drives.

Another thing to consider is that because NVME drives use the PCIe bus, you'll need to ensure that you have enough PCIe lanes available for the amount of NVME SSDs that you intend on installing into the server. Otherwise, you may flood the PCIe bus and cause throttling issues in the server.

NVMe drives are a must for servers that require high-performance storage access. For instance, if your server is acting as a storage device for storage over fiber in a SAN environment, especially when used in a virtualized environment, NVME drives over fiber can have almost as good performance as having that NVME drive installed in the remote computer locally.

On the other hand, if your server is used for backup purposes or does not have high-performance requirements, it may be a better choice to use traditional mechanical drives or SSD SATA-based drives. Traditional mechanical and SSD SATA drives are still more affordable, can have potentially longer life spans, can offer larger storage capacities, and produce less heat. This is an important thing to consider in a data center environment.

Should You Buy an NVME Hard Drive for a Computer?

If your computer was produced in 2018 or later, there is a good chance that it does support NVME drives through an M.2 slot. In this case, it is recommended to purchase an NVME hard drive for your computer. The prices of NVME drives have significantly fallen in recent years. Due to their price and performance, even a mid-tier NVME drive can drastically improve the performance of a computer system.

If your computer does not have an M.2 slot, the next best option would be a SATA-based SSD hard drive. SATA-based SSD hard drives can be purchased for almost $0.10 per gigabyte of storage today. That means that even one terabyte SATA-based SSD hard drives are very affordable. Though a SATA-based SSD hard drive will not match the performance of an NVME drive, they still offer significant performance increases over traditional mechanical hard drives.


Download

By submitting this form you agree to receive marketing emails from CBT Nuggets and that you have read, understood and are able to consent to our privacy policy.


Don't miss out!Get great content
delivered to your inbox.

By submitting this form you agree to receive marketing emails from CBT Nuggets and that you have read, understood and are able to consent to our privacy policy.

Recommended Articles

Get CBT Nuggets IT training news and resources

I have read and understood the privacy policy and am able to consent to it.

© 2024 CBT Nuggets. All rights reserved.Terms | Privacy Policy | Accessibility | Sitemap | 2850 Crescent Avenue, Eugene, OR 97408 | 541-284-5522