SSD vs HDD: Which is Better for you?
What’s the difference between SSDs and HDDs? Solid state drives and hard disk drives are similar in their physical specifications, but they store data very differently. There are advantages and disadvantages to each type of drive, and deciding on which type is right for you comes down to how you use your computer. Our guide shows you how each type of storage drive works and what it means for you.
The technology behind hard disk drives is well known and well-tested. Hard disk drives have been around for more than 50 years, steadily increasing their storage capacity and decreasing their physical size. HDDs rely on spinning disks, or platters, to read and write data.
Hard disk drives consist of one or more magnetically-sensitive platters, an actuator arm with a read/write head on it for each platter, and a motor to spin the platters and move the arms. There is also an I/O controller and firmware that tells the hardware what to do and communicates with the rest of the system.
Each platter is organized into concentric circles called tracks. Tracks are divided into logical units called sectors. Each track and sector number results in a unique address that can be used to organize and locate data. Data is written to the nearest available area. There is an algorithm that processes the data before it’s written, allowing the firmware to detect and correct errors.
The platters spin at preset speeds (4200 rpm to 7200 rpm for consumer computers). Those speeds correlate to read/write rates. The higher the preset speed, the faster a hard drive will be able to read and write data.
Each time you ask your computer to retrieve or update data, the I/O controller tells the actuator arm where that data is located, and the read/write head gathers the data by reading the presence or absence of a charge in each address. If the request was to update the data, the read/write head changes the charge on the affected track and sector.
The time it takes for the platter to spin and the actuator arm to find the correct track and sector is known as latency.
The drawbacks to HDDs are a result of the mechanical parts used to read and write data, as physically finding and retrieving data takes more time than electronically finding and retrieving data. The mechanical parts can skip or even fail if they are handled roughly or dropped. This is a concern in laptops, but not as much in desktops. HDDs are also heavier and use more energy than comparable SSDs.
The benefits of a hard disk drivs are that they are a proven technology, and are frequently less expensive than a solid state drives for the same amount of storage. Currently, HDDs are also available with more storage space than SSDs.
Solid state drives use flash memory to deliver superior performance and durability. Because there are lots of small, moving parts inside your hard drive — magnetic heads, spindles, and spinning platters — it’s easy for things to go wrong and you could lose your important data. Without moving parts, SSDs are more durable, run cooler and use less energy..
SSDs can be thought of as large USB drives; they use the same base technology. NAND, the technology in solid state drives, is a kind of flash memory. At the lowest level, floating gate transistors record a charge (or lack of a charge) to store data. The gates are organized in a grid pattern, which is further organized into a block. Block size can vary, but each row that makes up the grid is called a page.
An SSD controller that performs several functions, including keeping track of where data is located.
Updating data is more complex for SSDs. All the data in a block must be refreshed when any portion of it is updated. The data on the old block is copied to a different block, the block is erased, and the data is rewritten with the changes to a new block.
Each time you ask your computer to retrieve or update data, the SSD controller looks at the address of the data requested and reads the charge status.
When the drive is idle, a process called garbage collection goes through and makes sure the information in the old block is erased and that the block is free to be written to again.
There is another process, called TRIM, that informs the SSD that it can skip rewriting certain data when it erases blocks. Because there are a finite number of times any block can be rewritten, this is an important process that prevents premature wear on the storage drive.
To further prevent wear on the drive, there is an algorithm to make sure that each block in the drive gets an equal amount of read/write processes. This process is called wear leveling and happens automatically as the drive is working.
Because the read/write process requires data movement, SSDs are usually overprovisioned with storage; there is always a certain amount of the drive that is not reported to the operating system, and not accessible to the user. This allows room for the drive to move and delete items without affecting the overall storage capacity.
SSDs are newer technology, and as such, are more expensive than HDDs. Although they are catching up, it can be harder to find large-capacity solid state drives. HDDs can be as much as 2.5 times larger.
Solid state drives deliver faster load times for games, applications, and movies. Because of the technology they use, SSDs are lighter and better able to withstand movement and droppage. In addition, solid state drives use less energy, allowing computers to run cooler.
The difference between hard drives and solid state drives is in the technology used to store and retrieve data. The table below illustrates some of the differences.
HDDs are cheaper and you can get more storage space. SSDs, however, are faster, lighter, more durable, and use less energy. Your needs will dictate which storage drive will work best for you.
Cost | Speed | Durability | Highest capacity | Energy efficiency | |
---|---|---|---|---|---|
HDD | Cheaper | Slower | Less durable | 10TB | Use more energy |
SSD | More expensive | Faster | More durable | 4TB | Use less energy |