Explaining SSDs: The Price/Performance Trade-off

ExplainingComputers
22 Oct 202314:52

Summary

TLDRThis video from explainingcomputers.com dives into the intricacies of solid-state drives (SSDs), highlighting the impact of various flash storage types on SSD life expectancy. It explains the role of SLC cache in sustaining write speed and the distinctions between SSDs with and without DRAM. The script covers different NAND technologies like SLC, MLC, TLC, QLC, and 3D NAND, and their implications on program/erase cycles. It also discusses wear leveling, terabytes written (TBW) ratings, and the importance of SSD capacity for both storage needs and data change frequency. The video provides insights into SSD performance factors, including interface types, IOPS ratings, and the use of SLC cache to enhance write speeds. It concludes with a look at DRAM-less SSDs and their performance trade-offs, emphasizing the importance of choosing the right SSD based on specific requirements and the necessity of regular backups.

Takeaways

  • 💾 SSDs have become more affordable with manufacturers using techniques to offer higher capacities at lower costs.
  • 🔍 Understanding different flash storage types and their implications on SSD life expectancy is crucial.
  • 🌟 SLC cache plays a significant role in determining sustained write speed for SSDs.
  • 🔢 SSDs come in various form factors and use NAND logic gate technologies like floating gate and charge trap flash.
  • 🔄 SSDs use wear-leveling techniques to distribute program/erase cycles evenly across the drive to extend life.
  • 🚫 Never keep an SSD more than 90% full to maximize its lifespan.
  • 📊 SSD manufacturers often express minimum life expectancy through the terabytes written (TBW) metric.
  • 🔝 SSD capacity is a measure of both storage size and how frequently data changes.
  • 💾 SSDs with higher IOPs (input/output operations per second) are preferable for system drives.
  • 🔄 SSDs equipped with SLC cache can write data at higher speeds initially before data is migrated to slower TLC or QLC cells.
  • 💡 DRAM-less SSDs are cheaper and consume less energy, but may have lower performance and reduced lifespan compared to DRAM-equipped SSDs.

Q & A

  • Why is it important to understand different types of flash storage for SSDs?

    -It's important to understand different types of flash storage because they have implications for SSD life expectancy, sustained write speed, and overall cost-effectiveness. Knowing these differences helps users make informed decisions based on their storage needs and usage patterns.

  • What are the two common technologies used in flash memory chips for SSDs?

    -The two common technologies used in flash memory chips for SSDs are floating gate and charge trap flash. These technologies differ in how they store and manage electrons to represent data.

  • How does the number of bits stored per cell in SSDs affect their life expectancy?

    -The more bits stored per cell, the fewer program/erase (PE) cycles the SSD can sustain before failing. This is because as cells wear out, it becomes harder to accurately distinguish between different states, leading to a higher likelihood of errors and eventual failure.

  • What is the difference between SLC, MLC, TLC, and QLC in terms of data storage and life expectancy?

    -SLC (Single Level Cell) stores one bit of data per cell and can sustain up to about 100,000 PE cycles. MLC (Multi-Level Cell) stores two bits per cell, TLC (Triple Level Cell) stores three bits, and QLC (Quad Level Cell) stores four bits. As the number of bits per cell increases, the usable PE cycles decrease, with MLC having around 3,000 cycles, TLC between 500 and 2,000, and QLC between 300 and 1,000.

  • What is the significance of 3D NAND technology in SSD manufacturing?

    -3D NAND technology allows for more flash memory cells to be stacked on top of each other, fitting more cells in the same space. This increases the storage capacity of SSDs without changing the number of bits stored per memory cell. It's an indication of the SSD's manufacturing process and contributes to higher capacity drives.

  • How does wear leveling affect the lifespan of an SSD?

    -Wear leveling is a technique used by SSDs to maximize their life expectancy by evenly distributing program/erase cycles across the drive. This is done at the block level and is most effective on drives with a reasonable amount of free space. It's recommended not to have an SSD more than 90% full to ensure longer life.

  • What does the term 'terabytes written' (TBW) refer to and how is it used to express SSD life expectancy?

    -Terabytes written (TBW) is a value used by manufacturers to express the minimum life expectancy of their SSDs. It indicates the total amount of data that can be written to the SSD before it reaches the end of its lifespan. The TBW value varies with drive capacity, with larger drives typically having a higher TBW rating.

  • Why is it not recommended to use an SSD as a system drive if it's almost always full?

    -Using an SSD as a system drive when it's almost always full can reduce its lifespan. This is because wear leveling, which helps extend SSD life, is most effective when there is sufficient free space on the drive. A drive that's constantly full has less room for wear leveling to operate effectively.

  • How does the presence of an SLC cache in an SSD affect its write performance?

    -An SLC cache in an SSD allows for faster initial data writes because these cells can be written to more quickly than TLC or QLC cells. The SSD's controller writes incoming data to the SLC cache first, then moves it to slower storage during idle periods. The size of the SLC cache can significantly impact the duration for which the SSD can maintain its maximum write speed.

  • What is the role of DRAM in SSDs and how do DRAM-less SSDs operate?

    -DRAM (Dynamic Random Access Memory) in SSDs serves as a cache to speed up performance and store a map of data as it's moved during wear leveling. DRAM-less SSDs operate without DRAM chips, which makes them cheaper and reduces energy consumption. They use a portion of their NAND flash cells to store the data map, which can reduce the drive's lifespan. However, recent DRAM-less SSDs using Host Memory Buffer (HMB) can access the host computer's RAM via the PCI interface, maintaining performance and lifespan.

  • How do the different SSD technologies (SLC, MLC, TLC, QLC) and their respective life expectancies impact the choice of an SSD for a specific use case?

    -The choice of an SSD for a specific use case depends on the required life expectancy and sustained write requirements. For example, an SLC SSD with a high number of PE cycles is suitable for write-intensive applications, while a QLC SSD with fewer cycles may be more appropriate for read-heavy tasks. The user's specific needs, such as the frequency of data changes and the amount of data to be stored, should guide the selection of the SSD technology.

  • What precautions should be taken when using SSDs for data storage?

    -SSDs, while reliable and fast, are not permanent data stores. It's important to take precautions such as regular data backups and using encryption to ensure data security and integrity. This is especially crucial given that SSDs have a limited number of program/erase cycles, after which they may fail.

Outlines

00:00

💾 SSD Technology and Life Expectancy

This paragraph introduces the topic of solid-state drives (SSDs), focusing on their cost-effectiveness and the various techniques used to increase storage capacity. It explains the differences between single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), and quad-level cell (QLC) flash memory, which determine the number of bits stored per cell and the number of program/erase cycles each can sustain. The paragraph also touches on the concept of 3D NAND and V-NAND, which increase storage density without changing the number of bits per cell. The importance of understanding these technologies is highlighted in relation to SSD life expectancy.

05:01

🔄 SSD Performance and Wear Leveling

The second paragraph delves into SSD performance, wear leveling, and the concept of terabytes written (TBW) as a measure of SSD life expectancy. It explains how wear leveling distributes program/erase cycles evenly across the drive to extend its lifespan, and the importance of maintaining free space on the SSD to facilitate this process. The paragraph also discusses how SSD capacity relates to the frequency of data changes, using examples to illustrate how different SSD capacities can meet different needs based on TBW ratings. It provides specific examples of Samsung SSDs with different types of flash memory and their respective TBW ratings, emphasizing the trade-offs between capacity, performance, and endurance.

10:04

🚀 SSD Speed, SLC Cache, and DRAM-less SSDs

This paragraph discusses the factors affecting SSD read and write speeds, including the interface type (PCIe vs. SATA/SAS) and the IOPS rating. It explains the role of SLC cache in SSDs, which temporarily stores data at a faster rate before transferring it to slower TLC or QLC cells. The paragraph demonstrates the performance impact of SLC cache size through a data transfer example, highlighting how sustained write speeds can be affected once the cache is full. It also addresses DRAM-less SSDs, which omit DRAM chips to reduce cost and energy consumption, and how the introduction of Host Memory Buffer (HMB) in the NVMe standard has improved the performance and life expectancy of these drives. The paragraph concludes by emphasizing the importance of considering specific requirements for life expectancy and sustained write speed when choosing an SSD, and the need for regular backups due to the non-permanent nature of SSD storage.

Mindmap

Keywords

💡Solid-State Drives (SSDs)

Solid-State Drives, or SSDs, are a type of non-volatile storage device that store data on flash memory chips. They are known for their fast data access speeds and reliability compared to traditional hard drives. In the video, SSDs are the main focus, discussing their cost-effectiveness, capacity, and different types of flash storage that affect their life expectancy and performance.

💡Flash Storage

Flash storage is a type of non-volatile storage technology that retains data even when power is not present. It is the core component of SSDs. The video explains that different types of flash storage, such as SLC, MLC, TLC, and QLC, have varying capacities and endurance levels, which are crucial for understanding the lifespan and performance of SSDs.

💡SLC Cache

SLC Cache refers to a portion of the SSD's flash memory that is configured to store data at a faster speed, similar to how Single-Level Cell (SLC) flash memory operates. The video demonstrates the importance of SLC cache in determining the sustained write speed of an SSD, showing how performance can degrade once the cache is full.

💡Program/Erase (P/E) Cycles

Program/Erase cycles are the number of times a flash memory cell can be written to and erased before it becomes unreliable. The video emphasizes that this metric is vital for SSD life expectancy, with different types of flash memory (SLC, MLC, TLC, QLC) supporting different numbers of P/E cycles.

💡Wear Leveling

Wear leveling is a technique used in SSDs to distribute write and erase cycles evenly across the memory cells to prolong the drive's lifespan. The video mentions that wear leveling is more effective when there is a reasonable amount of free space on the SSD, advising against filling an SSD to more than 90% capacity.

💡Terabytes Written (TBW)

Terabytes Written is a measure used by manufacturers to express the minimum life expectancy of an SSD in terms of the total amount of data that can be written to it. The video uses TBW as an example to illustrate how SSD capacity and life expectancy are related, with larger drives having higher TBW ratings.

💡3D NAND

3D NAND is a manufacturing process where flash memory cells are stacked in layers to increase storage density in the same physical space. The video explains that while 3D NAND increases capacity, it does not change the number of bits stored per memory cell and is an indicator of the SSD's manufacturing process.

💡IOPS (Input/Output Operations Per Second)

IOPS stands for Input/Output Operations Per Second and is a performance metric that measures how many separate read and write operations an SSD can perform each second. The video notes that cheaper SSDs often have lower IOPS ratings, which can affect their overall performance.

💡DRAM-less SSDs

DRAM-less SSDs are solid-state drives that do not include DRAM chips, which are traditionally used for caching and mapping data during wear leveling. The video discusses how these drives can be cheaper and consume less power but may have lower performance and reduced lifespans, although new standards like HMB have mitigated some of these issues.

💡Host Memory Buffer (HMB)

Host Memory Buffer, or HMB, is a feature of the NVMe standard that allows DRAM-less SSDs to use some of the host computer's RAM for caching and mapping data. The video explains that HMB enables DRAM-less SSDs to have similar performance and lifespans as those with DRAM, without the need for onboard DRAM chips.

Highlights

SSD storage costs have never been lower, and manufacturers are using techniques to offer higher capacities at minimal costs.

Understanding different flash storage types and their implications for SSD life expectancy is crucial.

SLC cache plays a role in determining sustained write speed in SSDs.

SSDs without DRAM have differences compared to those with DRAM, impacting performance and cost.

SSDs come in various form factors and physical connectors but store data on flash memory chips in grids of cells.

Two common technologies used in NAND flash are floating gate and charge trap flash.

NAND flash cells can be individually written but erased in blocks, affecting SSD lifespan.

SSDs have evolved from SLC, which stores one bit per cell, to MLC, TLC, QLC, and soon PLC, increasing storage capacity but reducing lifespan.

3D NAND and V-NAND are manufacturing processes that increase cell density without changing bits per cell.

Wear leveling is a technique used in SSDs to maximize life expectancy by distributing program/erase cycles.

SSD life expectancy is often expressed via a TBW (Terabytes Written) value, which varies with drive capacity.

SSD capacity is a measure of both data storage needs and how frequently data changes.

SSD read/write speed depends on factors including the interface and IOPS rating.

SSDs with more bits per cell, like TLC and QLC, are slower to write data and often include an SLC cache to improve speed.

The size of an SSD's SLC cache affects how long it can write data at maximum speed.

DRAM-less SSDs have been developed to reduce cost and energy consumption, using HMB to access host computer RAM.

Modern SSDs from major manufacturers offer excellent performance and reliability, with choices depending on specific needs.

SSDs are not permanent data stores, and it's important to take precautions with backups and encryption.

Transcripts

play00:01

[Music]

play00:12

welcome to another video from explaining

play00:15

computers.com

play00:17

this time we're going to return to one

play00:20

of my favorite subjects which is

play00:22

solidstate drives or

play00:25

ssds today the cost of SSD storage has

play00:29

never been so low however manufacturers

play00:32

are using a number of techniques to

play00:34

offer higher and higher capacity drives

play00:37

for a minimum cost it's therefore

play00:39

important to understand the different

play00:42

types of flash storage and their

play00:43

implications for SSD life expectancy the

play00:47

role of SLC cache in determining

play00:50

sustained right speed and the difference

play00:53

between ssds with and without D

play00:58

Ram

play01:03

as I've detailed in another video today

play01:06

ssds come in a variety of form factors

play01:09

and may feature many different physical

play01:11

connectors and electrical

play01:13

interfaces however all ssds store data

play01:17

on flash memory chips in grids of cells

play01:20

that are grouped into

play01:22

blocks specifically in most ssds the

play01:25

memory cells are Nan's logic gates two

play01:29

Tech Technologies are commonly used

play01:31

named floating gate and charge trap

play01:34

Flash in either to write or program data

play01:38

a voltage is applied to move electrons

play01:41

into a floating gate or charge trap the

play01:44

presence of these electrons changes the

play01:47

resistance between the memory cells

play01:49

source and drain and this can be

play01:50

measured by passing a current between

play01:53

them whilst n flash cells can be

play01:57

individually written they could only be

play01:59

erased in blocks to do this a voltage or

play02:02

field is applied to remove the electrons

play02:05

from the floating gate or charge trap

play02:09

however repeated program erase

play02:11

operations weaken the material cells are

play02:13

made from which result in electrons

play02:16

either escaping a floating gate or being

play02:18

retained in a CH trap after a certain

play02:21

number of program erase or PE Cycles it

play02:25

therefore becomes impossible for the

play02:27

cell to reliably function and the

play02:30

Practical implication is that all ssds

play02:33

can only sustain a limited number of

play02:35

data right operations before they

play02:39

fail the number of program array cycles

play02:41

that a memory cell can sustain in part

play02:44

depends on how much data it has to hold

play02:47

initially all ssds stored just one bit

play02:50

of data per flash memory cell which we

play02:53

now refer to as single level cell or

play02:57

SLC however to scale up Capac capacities

play03:00

for a reasonable cost multi-level cell

play03:03

or mlc was developed this stores two

play03:06

bits per memory cell and does so by

play03:09

distinguishing two additional States

play03:11

between fully programmed and fully

play03:14

erased however as the cell wears out and

play03:17

electrons stray it's more difficult to

play03:19

accurately distinguish four different

play03:22

states compared to two and so mlc ssds

play03:26

have a smaller number of usable program

play03:29

aray Cy Les than SLC

play03:32

devices in turn we next saw the arrival

play03:35

of triple level cell or TLC ssds which

play03:38

store three bits of data per cell and

play03:41

then quad level cell or qlc drives that

play03:44

store guess what four bits of data for

play03:47

cell pent level cell or PLC ssds are

play03:51

also now close to

play03:54

Market given that TLC qlc and PLC have

play03:59

to act accurately distinguish an

play04:01

increasing number of partially

play04:02

programmed States it's inevitable that

play04:05

they offer fewer and fewer programmer

play04:06

race Cycles the number of Cycles is

play04:09

different for Consumer and Enterprise

play04:11

hardware and also varies between models

play04:14

and

play04:15

manufacturers but as a guide SLC drives

play04:18

can sustain up to about 100,000

play04:21

programmer raise Cycles consumer mlc up

play04:25

to about 3,000 TLC somewhere between 500

play04:29

and 2,000 and qlc between about 300 and

play04:35

1,000 as another means of increasing

play04:38

capacity ssds are now often manufactured

play04:42

with many layers of flash memory cells

play04:44

stacked on top of each other this fits

play04:47

more cells in the same space and is

play04:49

known by several different names

play04:52

including 3D nand and vand however it

play04:56

doesn't change the number of bits stored

play04:58

per memory cell and so from a user

play05:00

perspective is simply an indication of

play05:03

an ssd's manufacturing

play05:06

process in order to maximize their life

play05:09

expectancy ssds use a technique called

play05:12

wear leveling that moves data around the

play05:14

drive in order to even out program erase

play05:18

Cycles this occurs at the Block Level

play05:21

and can happen most effectively on

play05:22

drives with a reasonable amount of free

play05:25

space so if possible it's wise to never

play05:29

have an SSD more than 90% full in order

play05:33

to make it last

play05:35

longer today manufacturers usually

play05:38

Express the minimum life expectancy of

play05:40

their ssds via terabytes written or tbw

play05:44

value but inevitably varies with drive

play05:47

capacity for example if we have 1 2 and

play05:51

4 terabyte ssds based on the same TLC

play05:54

flash with a minimum of 500 program

play05:57

erase Cycles then the one 1 terabyte

play06:00

drive will be rated 500 terabyt written

play06:03

the 2 tbte 1,000 terabyt written and the

play06:07

4 terabyte 2,000 terab written this

play06:10

highlights how today SSD capacity has

play06:13

become a measure not just of how much

play06:15

data we want to store but how frequently

play06:18

we want to change

play06:19

it for example if you're purchasing an

play06:22

SSD to uses a system drive that will

play06:25

contain lots of program and data files

play06:27

that rarely change then the 1 terb SSD

play06:31

may be an excellent choice as 500 terab

play06:34

written equates to 100 GB written every

play06:38

day for 5,000 days which is 13.7 years

play06:44

however if you need to record and raise

play06:46

2 hours of raw 4K video every day then

play06:50

the 1 tbte drive would hit life

play06:52

expectancy in 18 months whilst the 4

play06:55

terb model could last 6

play06:58

years

play07:00

to provide some practical examples here

play07:03

I've got three 1 tbte Samsung

play07:06

ssds the product names indicate that

play07:09

this 860 pro drive is mlc or what

play07:13

Samsung term 2 bit mlc whilst this 870

play07:17

Evo is TLC or what Samsung would

play07:20

helpfully call 3-bit

play07:22

mlc and on the end this 860 CUO is qlc

play07:27

or what Samsung choose to label 4bit

play07:30

mlc and why Samsung cannot stick to

play07:33

standard terms is one of the many great

play07:36

mysteries of

play07:38

computing anyway the 1 tbte mlc Pro is

play07:41

rated for 12200 terabyt written the TLC

play07:45

Evo for 600 and the qlc CUO for

play07:49

360 and sadly whilst the pro drive will

play07:52

last longer as Drive capacities increase

play07:55

this is no longer deemed relevant for

play07:57

client devices and so like most

play08:00

manufacturers Samsung sadly no longer

play08:03

make 2bit mlc consumer

play08:14

ssds the speed at which an SSD can read

play08:18

and write data depends on many factors

play08:21

as we can see one of these is its

play08:24

interface with drives using the most

play08:26

recent PCI mvme connections having the

play08:29

opportunity to transfer data

play08:31

considerably faster than ssds which

play08:33

utilize SATA or SAS this said SSD

play08:38

performance depends on far more than its

play08:41

interface for start cheaper ssds

play08:44

generally have a lower iops or input

play08:47

output operations per second rating this

play08:50

measures how many different read and

play08:52

write operations can occur every second

play08:56

and can vary from a few thousand to over

play08:58

a million

play09:00

so if you're comparing two ssds to use

play09:03

as a system Drive always go for the one

play09:06

with a higher IOP

play09:09

specification returning to SSD

play09:12

Technologies the more bits are stored in

play09:14

each memory cell the slower data can be

play09:17

written and because TLC and qlc Flash

play09:21

write data far more slowly the most SSD

play09:24

interfaces can deliver modern drives are

play09:27

equipped with an SLC cash

play09:30

this means that the SSD has some flash

play09:33

memory cells configured to store just

play09:35

one bit of data which can be written to

play09:38

far more quickly so the ssd's controller

play09:42

initially writes incoming data to its

play09:44

SLC cells before migrating it to slower

play09:48

TLC or qlc in idle

play09:51

periods to illustrate this let's copy 36

play09:55

GB of data to a 500 GB Samsung 970 Evo

play10:00

plus m.2 mvme

play10:04

SSD as we can see things initially speed

play10:07

along but after 22 GB of data transfer

play10:11

the drive's SLC cache is full and right

play10:15

performance collapses from its previous

play10:17

level of about 2.7 GB a

play10:21

second things then take a while to

play10:23

settle with the right speed finally

play10:26

stabilizing at about 800 megab a second

play10:29

for the remainder of the

play10:32

copy clearly the more SLC cache and SSD

play10:36

possesses the longer it will be able to

play10:38

write data at its maximum

play10:41

speed and the larger the drive the more

play10:44

SLC cache it will possess for example

play10:48

whilst the 500 GB Evo 970 plus we just

play10:52

tested has 22 GB of SLC cache the 1

play10:56

terabyte model has 42 GB

play10:59

it's also worth noting that some ssds

play11:02

now have a dynamic SLC cache that can

play11:05

expand by reconfiguring empty TLC or qlc

play11:09

cells as

play11:11

SLC thankfully Samsung publishes the

play11:14

size of the SLC cache on its ssds

play11:18

something it labels as turbo right but

play11:22

sadly some other manufacturers do not

play11:24

reveal SLC cash size

play11:27

information however if the sustained

play11:29

high-speed right of many tens of

play11:31

gigabytes of data matters for your

play11:34

workflow I would strongly advise

play11:36

obtaining test results to find out how

play11:38

large a drive's SLC cache may be before

play11:42

you

play11:48

purchase in addition to using TLC and

play11:51

qlc in recent years manufacturers have

play11:54

started to make dram less

play11:56

ssds dram or Dynamic random access

play12:00

memory only retains data when powered

play12:02

and has traditionally been included on

play12:04

ssds as a cache to speed up performance

play12:07

as well as to store a map of data as

play12:09

it's moved around during we

play12:12

leveling but daml ssds have no dram

play12:16

chips which makes them cheaper and

play12:18

reduces energy

play12:20

consumption however dram L ssds still

play12:23

need to perform we leveling and so first

play12:26

generation drumless ssds store a map of

play12:29

Drive contents on some of their nand

play12:31

flash cells so reducing the life of the

play12:34

drive until recently if you purchased a

play12:38

dless SSD you therefore got a cheaper

play12:40

drive but also one with lower

play12:43

performance and a reduced life

play12:46

expectancy however in the past few years

play12:49

dramas ssds from Samsung Western Digital

play12:52

and others have started to make use of a

play12:55

new mvme standard called host memory

play12:57

buffer or a

play12:59

hmb this allows the SSD to access some

play13:03

of the host computers Ram via the PCI

play13:06

interface which means that hmb dless

play13:09

ssds do not have a reduced life

play13:12

expectancy they are however still slower

play13:15

than dram ssds although this only tends

play13:18

to matter for intensive applications

play13:21

like video editing or playing the latest

play13:24

games but if you're not using your

play13:26

computer for these things a DE rless SSD

play13:30

do offer a good price performance

play13:39

tradeoff today ssds from all major

play13:43

manufacturers provide excellent

play13:45

performance and reliability compared to

play13:47

drives from just a few years ago and so

play13:51

for General use it often doesn't make

play13:53

that much difference which kind of SSD

play13:56

you

play13:57

choose however if you you have specific

play14:00

life expectancy or sustained right

play14:02

requirements it is important to pay

play14:04

attention to the characteristics of a

play14:06

particular drive and of course you've

play14:09

always got to be aware that no SSD is

play14:11

ever a permanent data store and

play14:14

therefore to take precautions as covered

play14:16

in my video cyber security backups and

play14:21

encryption but now that's it for another

play14:24

video if you've enjoyed what you've seen

play14:26

here please press that like button if

play14:28

you haven't subscribed Please Subscribe

play14:31

and I hope to talk to you again very

play14:40

[Music]

play14:51

soon

Rate This

5.0 / 5 (0 votes)

Related Tags
SSD TechnologyStorage CapacityFlash MemorySLC CacheMLC SSDTLC SSDQLC SSDWear LevelingDramless SSDsData BackupPerformance Comparison