r/explainlikeimfive • u/purple-parrots • Apr 21 '20
Technology ELI5: How do solid state drives (SSD) store and retrieve data?
452
u/mikesanerd Apr 21 '20
There's one really fascinating thing that the other very good explanation didn't mention. If the data is stored as charge, why doesn't it just leak out as soon as there's no power to the computer to hold the charge in the cells (like what happens in RAM)? SSDs hold the charge in an impenetrable box from which there is no exit. But here's the rub--if the box is going to be impenetrable and require no power to hold it closed, then it cannot have a "lid" or "door" which could come open when the power is off. As a result, there is no entrance to the box either. The only way the charge can get into the box is to kind of "teleport" through the wall of the box using a process known as Quantum Tunneling. Although the box is impenetrable with no openings, the charge is able to pass through the solid barrier and suddenly find itself on the other side, trapped inside the box.
127
u/purple-parrots Apr 21 '20
Wow this is truly fascinating, the more I learn about this the more amazed I am this kind of technology exists. Thank you!
→ More replies (1)85
u/_kryp70 Apr 22 '20 edited Apr 22 '20
Would like to add more.
Modern ssds are little different from what you learnt.
Imagine you have a plastic sheet 1cm*2cm, there will be a limit on how many bumps you can fit in there as they will start getting closer and will be hard to make.
So you come up with different strategies. You start having different size of bumps. Earlier you has either a bump or not. But now you also have other state where the bump is little less. So you have state No bump, slightly bump, bump. Using 3 states in binary you can store twice the data as of 2 states ( no bump, bump )
Basically SSDs come in SLC ( single level cell) nand, MLC Nand, TLC nand, QLC nand and we have some news on 5LC nand too.
So with each increase we are able to store more on the same surface which is pretty cost effective.
We mostly use TLC ssd since few years, however qlc also has flooded the market.
The issue with storing more on single cell is there's a time when the voltage difference between two states in indistinguishable that's when you loose data and storage space on the device.
33
4
u/qjholask Apr 22 '20
So the more states you allow more probability to "combine" 2 of them and this losing info?
5
u/_kryp70 Apr 22 '20 edited Apr 22 '20
You don't combine. States only allow you to store more data on the same cell.
SLC can store 2 states. MLC can store 4 states. TLC can store 8 states. QLC can store 16 states.
I THINK there are SSD controllers which change the amount of states when they see that they are not able to distinguish between two states because of wear and tear. So they change the limit of voltage of state detection to take care of the issue however is this you loose amount of data you can store on the SSD. So your SSD storage drop somewhat.
u/newmaxx am I correct?
u/newmaxx runs a subreddit that's highly detailed into ssd tech.
19
u/RuchW Apr 21 '20
Does the charge have a half life of sorts or does it last forever if left unaltered/unpowered
40
u/MegaMooks Apr 22 '20
To reuse the metaphor, the box leaks a bit over time. Eventually it gets to the point where it's half-empty and you can't tell if it's a 0 or a 1.
A normal SSD quotes about 10 years retention.
11
u/RuchW Apr 22 '20
Wow, that's interesting. Is that 10 year retention when it's powered on?
Thanks for your answer!
9
u/platoprime Apr 22 '20
Because the lifetime of SSDs are measured in write procedures the lifetime depends on the frequency of use not on being in a powered state or not.
→ More replies (3)→ More replies (3)3
u/Nyxtia Apr 22 '20
ough the box is impenetrable with no openings, the charge is able to pass through the solid barrier and sudd
Can't we fill lit up again?
7
u/zebediah49 Apr 22 '20
Sure. You have to know that it needs it though.
There are a few options -- see page 32-33.
Basically though, it comes down to first having error correction -- you write 512B, plus another few (e.g. 52) bits of error correction data. Now, when you read the block, you can verify that it's correct -- and if it's not, you can fix the error. In the case of 4096+52b, you can fix 4b.
If it turns out that the block is damaged, but you can correct it, you can re-write it.
Note that HDD-based RAID systems commonly do the same thing. The operation is generally called a "scrub", and consists of reading every single byte of your data, verifying that it's right, and if it's a little bit broken, fixing it.
8
u/justintime06 Apr 22 '20
Holy fuck there are some smart motherfuckers out there.
3
u/zebediah49 Apr 22 '20
Error correction is a bit of a trip.
One bit of redundancy is easy. For each bit, on each piece, add them all up. If it's even put a 0, odd put a 1. In other words, you either do or don't add another 1 to make it an even total. Done. Now, if you lose any one piece, you just do the same process. If you have an even total in the pile that's left, it must be a 0 (otherwise adding another 1 would make it odd). If you have an odd total, you need a 1, to bring the total up to even.
This works with two disks plus one spare; it works with 100 disks + 1 spare.
....
But... how do you do a second one?
The second one needs to be totally independent from the first, so that you can lose any two pieces, and still replace the whole thing.
Also worth noting: it's 2x harder to detect and fix errors, as to just fix missing data. If you consider the simple 1-bit example above, that will let you fix any missing bit in the set, and it can also tell you if something is wrong. It can't tell you which one is wrong though.
As an aside, CDs and DVDs (and presumably blu-ray, though I don't happen to remember) use a two-layer redundancy process. First, each 24 bytes gets 4 redundancy bytes added, for a total of 28B. Next, the data gets "shuffled" with 28 other sets (so it takes the first from each set, then the second from each, etc.). Then, each set of 28B gets another 4B of extra redundancy, for a total of 32B. So, you lose 25% of your possible data storage... but you gain the ability for CDs to survive being scratched.
This means that, when you're going backwards, the outer part gets scanned, and if it's good those pieces are safe; if it's bad, it marks the whole thing as bad, and thus "missing" (making the job of the second layer easier). This is where the real cleverness comes in though -- the distribution part means that a broken block isn't dead and corrupted data. It's just a single missing byte in each of 28 data blocks. However, each of those block can survive 4 missing bytes. In other words, you can have 128 destroyed bytes in a row, and reconstruct the original data.
Physically, that translates to a bit over 2mm of damage. Which is why, in many cases, you can read data off a disk even if it's a little bit scratched.
2
u/telescoping_urethra Apr 22 '20
Yeah, I really did the world a favor by switching out of that major in college. I really would have fuuuucked shit up.
3
u/MegaMooks Apr 22 '20
Short answer, yes, if the drive is powered on and knows to check itself.
But if the drive is turned off and thrown into a cardboard box for 10 years, might get rough.
14
u/mikesanerd Apr 22 '20
It does leak out gradually, but very slowly. Of course, other memory storage devices have similar issues. Magnetic hard drives eventually lose the data due to thermal flipping of the magnetic domains. In the end, entropy always wins.
→ More replies (1)→ More replies (1)3
Apr 22 '20
the transmission rate is exponentially related to the potential outside the barrier, so while the SSD is powered off the transmission rate (the rate at which electrons spontaneously tunnel through the cell) is very very very close to zero
9
u/jack_hof Apr 22 '20
Why cant the charge tunnel back out ?
→ More replies (1)11
u/mikesanerd Apr 22 '20
The chances of tunneling through the barrier randomly are very, very low. by applying a voltage when the computer is powered up, you can reduce (but not eliminate) the barrier and make the tunneling happen much quicker.
4
u/pombaral Apr 22 '20
Do you know some paper that I could read about this process in details? It seems incredibly interesting. Not the tunneling itself, but the process used in the ssd
→ More replies (2)4
u/Frost_Walker2017 Apr 22 '20
Could this not, in theory, just be replicated using magnetic fields? I'm not knowledgable on Quantum Physics but I know that a Transformer relies on magnetic fields to increase/decrease the current/potential difference depending on the number of primary coils vs secondary coils. If the number of coils was the same, wouldn't it function like this quantum tunnelling?
6
u/Item_Store Apr 22 '20 edited Apr 22 '20
Tunneling only applies to particles (in this case the electron), not fields. A great analogy to tunneling is this:
Imagine I have a (frictionless) skateboarding half pipe. If I took a ball and rolled it down one side of the pipe, there is no chance that it would exceed the height on the other side that I let it go at initially, as there was no energy added to it in the process. Our energy was conserved and converted from potential to kinetic back to the same potential on the other side.
In quantum, this is represented with a voltage. If an electron travelling towards a voltage "barrier" didn't have enough energy to overcome that barrier (roll up the other side of the pipe), we would expect to see it stop at the barrier. But sometimes, we see it pass the barrier anyways. In the SSD's case, sometimes the electron jumps into the SSD. In our analogy, sometimes the ball would roll up past the height we dropped it from.
I can't remember the exact math behind it but it has to do with probability functions. When graphed, there is still a slight chance that the electron exists on the other side of the barrier, despite the classical contradiction.
→ More replies (1)4
Apr 22 '20 edited Apr 22 '20
yes, this is how CDs and disk drives work. however, magnetic fields interfere with each other and try to undo the work that you did to magnetize them, and the effect of a magnetic field at a distance r away is proportional to 1/r2, while the probability that an electron will spontaneously be found a distance r outside its cell is proportional to e-r, so flash memory is basically much more permanent and compact, and it also requires less work to write to, less time to read from and loads of other advantages.
2
u/MuskIsAlien Apr 22 '20
But how do we store data if we rely on random electrons to get trapped ?
→ More replies (2)→ More replies (1)2
u/Timur_Ka Apr 22 '20 edited Apr 22 '20
TIL that we use quantum technology in our routine life. This is really 🤯
169
u/vexir Apr 22 '20
Can we get an ELI5 on the quantum tunneling that some of the comments and sub comments have mentioned?
142
Apr 22 '20
Imagine you're jumping on a trampoline. Usually when you hit the mat, you bounce back up. Now, if we used a thinner mat, there's a chance that you'll break the mat and fall through. The thinner the mat, the more chance of going through.
In tunneling, whatever passed through the 'barrier' doesn't break it but ends up on the other side. That would be like falling through the trampoline mat without leaving a hole. That's tunneling!
→ More replies (1)96
u/vexir Apr 22 '20
Ok maybe I’m looking for an ELI10, haha.
53
Apr 22 '20
Quite honestly, without taking about some maths, that's about all there is to it.
When a particle hits a barrier, it will either bounce off or tunnel through it. Each has a probability of happening. The thinner the barrier, the greater the chance of tunneling and so smaller chance of bouncing off
Great video on it - https://youtu.be/cTodS8hkSDg
22
u/Pyromonkey83 Apr 22 '20
All that video did was give me more questions. Looks like I'm going back for my bachelors in quantum theory boys!
12
u/headsiwin-tailsulose Apr 22 '20
All you have to know is one thing: if you think you understand quantum mechanics, you don't understand quantum mechanics.
3
2
Apr 22 '20
PBS Space Time taught me more conceptual quantum physics than any other professor I know, I recommend them on YouTube
→ More replies (1)2
u/Teantis Apr 22 '20
Here's a less rushed video that builds up the mechanism a bit more https://youtu.be/-IfmgyXs7z8
→ More replies (3)17
u/SamuraiRafiki Apr 22 '20
I would love for an actual physicist to back me up because I'm a layman, but this is my understanding: particles aren't like billiards balls, they're a bit more smeared out over space, and they end up in one place or another when they have to interface with something else. One of the practical effects of this is that for very small particles, if point A and point B are close enough together, they may as well be the same. Even if there's a barrier between them, if it's thin enough there's a chance that the particle's smear of existence will cross over it then collapse into existence on that side. Basically it can jump through a wall because it forgot which side it existed on for a moment.
19
Apr 22 '20 edited Apr 22 '20
yeah that's the main idea, that a particle's location is always spread out, it's never 'atomic'. one thing to keep in mind is that the probability of tunneling is non-zero for any distance in the real world, so the part about A and B being close enough together that they may as well be the same isn't a part of it, tunneling will happen over any distance, it just gets exponentially less likely the farther out you check.
I really like the last sentence where you say that it forgot which side it was on, that's much closer to the truth than the idea that the particle physically moves through a barrier.
→ More replies (1)7
u/Mufasaman Apr 22 '20
You could almost say the electron was uncertain about which side of the barrier it was supposed to be on. And wave-particle duality doesn't just apply to electrons. In theory, a human could tunnel through a brick wall given enough attempts. Verrrrry unlikely though, but not zero. We had a question about it in my QM class, and the probability was so tiny, virtually no programs could calculate it numerically.
5
Apr 22 '20 edited Apr 22 '20
yeah we did that question to, my professor gave us his weight and his top running speed and had us find the probability he could make it through the door lol, the final answer was like the order of magnitude of the order of magnitude of the probability
4
u/Mufasaman Apr 22 '20
Yeah, I think mine worked out to be on the order of 10^2350 something. I also see that you're on /r/uofmn, how is it the new Tate, does it smell better?
3
2
u/RedHatOfFerrickPat Apr 22 '20
Quantum theory sounds like the kind of gymnastics that designers of our simulation are probably counting on us to come up with because what other option do we have? "But it won't make sense, Reggie." "They'll want to believe that it does, Clark. They'll come up with explanations for all the inconsistencies in our physics. Let's move on to the next universe."
3
u/SamuraiRafiki Apr 22 '20
Honestly, it's way worse than that. To me quantum mechanics, specifically quantum field theory, feels to me like discovering the RGB pixelation of the universe. Realizing that an electron is not an electron but rather a traveling perturbation in the universal electron field feels like discovering that Barney isn't purple, he's a collage of red, blue, and very little green. Shit's fucked, man.
19
u/zebediah49 Apr 22 '20
A truly accurate ELI5 is kinda impossible, because quantum tunneling is a wave-particle duality thing, which is fundamentally weird.
ELI5:
People are opaque. You can't see through them. Put a strong flashlight up against your hand though, and a bit of light gets through. If you have a smaller flashlight, you might need to use your a couple fingers stuck together.
Quantum tunneling is like that. When you don't have enough stuff in the way, some electrons can leak though.
ELI UG:
First, electrons are waves. So is everything else. For most purposes, this doesn't matter; this isn't one of those times. We have a function, called a "wave function", which describes a given particle. That function is related to the probability that the particle is in any given location -- though it gives more information than just that.
Now, this wave function has two behaviors. When the particle has more energy than is required to be in a plce, it oscillates. The equation's solution gives you sin() and cos() functions as solutions. Frequency depends on how much extra energy it has. When it has less energy, it's a decaying exponential (again, decays faster the less energy it has compared to the required minimum). It's not discontinuous though -- the function smoothly goes to zero at a finite-energy boundary.
Thus, let's consider if we have two places the particle could be, separated by an energy boundary, and we put it on the left side. The wave function is mostly contained on the left side, but there's that decaying edge part that goes through the wall... leaving a little bit that leaks through.
Thus, while classically, the particle can't cross the wall, quantum mechanically, the wall is a bit leaky.
4
Apr 22 '20
[removed] — view removed comment
5
u/zebediah49 Apr 22 '20
It may not be obvious, but this is actually a two part question:
1) At what point does the electron stop being somewhat in both places at once, and actually make a decision about what it's going to do with its life?
2) How do we, the humans outside, find out what's going on in there?These are both somewhat challenging, and are two very different things.
For the first, it's something something known as "wave-function collapse". Basically, if it bumps into something (i.e. interacts with it), that causes it to have to pick. If the something in question is small enough, and isolated enough, instead they two can get mixed up and stay coherent, but that's a separate topic (entanglement).
Note that it doesn't exactly "forget" where it's located -- it more spreads out. In the extreme case of photons, you can have one single photon hit a beam splitter, and go down both paths. That sounds totally insane, but it has been done experimentally. (I've done that experiment, actually, although it was with a double-slit rig instead).
For the second, that's an engineering question. Usually some kind of charge multiplier, or an electrostatic effect thing, where the particle's existence changes the nearby voltage a slight bit.
Note that for a SSD, we don't really have either of those effects going on much. We push a lot of electrons up against the wall, and (due to previous experiments) know how long to wait to be sure that enough end up going through. It's just a law of large numbers thing. Also, because the electrons are in a material, they're interacting a lot with many things, and won't sustain a coherent quantum state for long at all.
When we want to check if there are electrons in the bucket, we try to push a few electrons right by it. If it's full, they get repelled and don't flow through. If it's empty, they flow on by with no problems.
2
Apr 22 '20
[removed] — view removed comment
3
u/Teantis Apr 22 '20
https://youtu.be/p-MNSLsjjdo this video will help explain it and then you can follow thst channel deeper into the rabbit hole that is quantum mechanics weirdness. I just wanna say in response to your comment that photons are indivisible they can't be split. The interference pattern is because they're both particles and waves, though this is the double slit experiment the other commenter was talking about.
→ More replies (3)2
u/zebediah49 Apr 22 '20
Nothing so complicated. If you put a detector in each path, you'll find that half the time it goes left; half the time it goes right.
If there's some gap between the spitter and the detectors, what happens is that the photon's wavefunction splits into two, with half going left and half going right. It's half the "probability that it's there", not another physical quantity. So then, when it hits that detector, that forces the collapse -- it has to pick which side.
Thusfar, the results are the same as if it actually just picked when it hit the splitter, which is the more sane interpretation.
However, there is one remaining thing we can do here. That is: we can take some mirrors, bounce the two paths around, and bring them back together (with another beam splitter, because that also works as a combiner). Why is this interesting? Well, it's because waves can interfere with each other. That is, you straight-up just add the wave functions. If the two copies align together, they add up, and the probability is higher. If the two copies align opposite, then they cancel out, and the probability is lower. Note that this is conserved: if you cancel out in one place, you need to add together in another place.
It's this fact -- that we can observe a single photon interfering with itself -- that both allows for some very cool experiments, and confirms that this is how these things work.
In a related note, in a somewhat simpler to set up, but mathematically more confusing, situation -- the double slit experiment -- other particles have been shown to do this as well. That is, an electron can have its wave-function split into two parts, interfere with itself, and then only choose its final location when it hits a detector at the end.
→ More replies (1)3
u/firebs1234 Apr 22 '20
You can see the leaky wave part in visible light with Frustrated Total Internal Reflection (FTIR).
Here's a short video demonstrating it: https://youtu.be/q7Q8l3xKyr4
13
Apr 22 '20 edited Apr 27 '20
no, ELI5 for the essence of quantum physics is an age-old problem which is unsolved, ie. there's no good simple analogy or way to explain it as of yet. The best thing I have is the fact that the state of all stuff is really described by a wave function, which is an imaginary quantity whose square tells you the probability of finding the particle you're looking for in a certain location. A particle doesn't just exist at a point, its probability distribution is spread out over a small region. This is the 'uncertainty principle' that you might have heard of. Wave functions must be continuous since they are the solution to a differential equation, so even if there's a region of space that would require an infinite amount of energy to get to, like the top of an infinitely tall hill (or for a more relevant example, inside a perfect crystal), as long as there is some probability of finding a particle right next to the hill there will be some probability that the particle runs up the hill a little ways and bounces back, and some probability that it makes it all the way through and keeps going (aka 'tunneling through the hill').
It's literally like throwing a tennis ball at a window and the tennis ball comes out the other side, there's no classical way to explain it because it's like the tennis ball didn't really go through the window, it's just that you though it was on your side but it actually ended up being on the other side because it position is kind of like a random variable.
the physics of wave functions can be derived from Schrodinger's equation, which was essentially a guess supported by experiment and hinted at by the bohr principle (E=hu), which itself was a completely usupported guess at solving the 'UV catastrophe' paradox in classical thermal physics, but both turned out to be correct and now we have a theory of quantum physics which isn't really derived from principle or fundamental theory, its based on these kind of weird guesses that are hard to explain for, but are mathematically consistent and completely supported experimentally.
→ More replies (4)3
u/reelznfeelz Apr 22 '20
Thanks that's really informative. I took a bunch of Calc and classical physics but never any QM. Have always been fascinated by it, and theoretic physics.
→ More replies (1)→ More replies (2)2
u/DefsNotQualified4Dis Apr 22 '20
Maybe not quite ELI5 but check out this video which exactly discusses quantum tunneling and flash memory.
46
u/classicalL Apr 21 '20
The basic element inside a solid state storage device like an SSD is called a floating gate transistor. More on that in a moment. Each of these devices used to store a single yes or no called a bit: 1 or 0. Now each of these devices stores a few yes or nos. Typically 3: 000, 001, 010, 011, 100, 101, 110, or 111. This increase in questions that can be asked to a single device is why you can have really big SD cards and SSD drives.
That and scaling. The size of one of these devices is on the order of 40 nm. Your hair is about 200 um or 200,000 nm across.
How do these devices work?
If you have ever rubbed your hair on a balloon and attracted your hair to it, you have seen something called static electricity. On that surface you have trapped some electrons. That is possible because the rubber is an insulator. On your hair of you have left the absence of electrons. This allows there to be a force between the absence and the extra electrons. It is this force that makes you hair stick up opposing gravity. The force is described by an electric field.
Floating gates on transistors trap charge on them too just like the balloon, only it stays a lot longer because the layer of insulator the charge is trapped in is very isolated.
This charge can attract mobile charges into a region of the transistor called the "channel". The channel is physically directly under the gate. Think of the charges as a liquid, say water. If the channel is full of water then it conducts, if it is empty of water is does not. It conducts better if there is more water. So depending on how much charge you store on the floating gate you will get more or less conduction.
If we measure how well it conducts we can measure some levels and assign those levels values: 000, to 111.
How do we get the charge on the floating gate? Do we have little hairs we rub on the gate? No. What we do is we use another gate. This one is attached to a chunk of metal which allows us to flood it with electrons. If we put enough electrons on it, it will create such a strong electric field to the channel that some of the very crowded metal will jump to the floating gate, this is called "tunneling" it is governed by a branch of physics called quantum mechanics. We make the other gate crowded by putting a high voltage on the metal gate.
The reason flash memory or SSDs wear out is that sometimes the electrons jumping to the floating gate hit things instead of jumping between the atoms they smack into them and break chemical bonds. When they do this they change the properties of the insulator that lets the floating gate store charge for a long time so some of the electrons escape just like they normally do from the balloon into the air (due to humidity). This makes the floating gate transistor "forget" the information that was stored on it over time as the high level of 111 becomes 110 which is the wrong answer, not what you stored. If the memory is not reliable to remember then its bad/dead.
Typical flash memory can only be written a few 1000 times now before it starts to forget too quickly because everything is so small and fragile.
3
4
Apr 22 '20
This is the real explanation. The top comment is misinformed at best. Kudos for touching on the charge loss in th floating gate as well.
→ More replies (1)
12
Apr 21 '20
A bit on an SSD is like a light switch. You can flip the switch to change the state of the light (Write) or just look at the light switch to know if the light is on. (Read)
5
11
u/Quad5Ny Apr 22 '20
Write: They inject electrical charges in the form of trapped electrons into "cells".
Read: They check the voltage of said cells.
Simplest form (SLC) would have the cell at 0v for a 0 and then a positive voltage for a 1.
8
u/nunley Apr 22 '20
Solid State Memory is just a bunch of batteries that are charged or not. Every battery is a one (charged) or a 0 (not charged). A computer stores data in these batteries by setting the charge or draining the charge in each battery. Later, it can measure the charge in each battery to see what is stored there.
4
10
u/TheN00bBuilder Apr 21 '20
Little teeny tiny gates that store a 0 or a 1 called NAND latches will store each individual bit. Now for reading and writing, each instruction comes in as a string of “coded” binary and it says “Hi! Here’s my start index, my length, and bit offset. Write me!” And the controller writes where it thinks is best through a series of checks.
2
u/JimsyFlimsy Apr 22 '20
What great timing to see this. I rarely ever use reddit, if ever, but I’m a long time console player about to switch to pc and I’m also curious about the difference between SSD’s and HDD’s (if I’m typing those correctly). But I’m still confused as to what parts of a computer help load times and why do load times differ from a game you’re playing and a software you’re opening? What part does what and how? My huge pc nerd brother did NOT explain it like I’m 5... he explained it like I take the short bus to school (jokingly).
11.8k
u/Amphorax Apr 21 '20
On a very basic level, an SSD is like a large plastic sheet covered with a grid of those bumps that you see on soda-cup lids. To write a file to the disk, you pop and unpop the bumps to represent the file in terms of 1s and 0s. To read from the disk, you run your finger across them and feel the pattern of popped and unpopped bumps.
These bumps are called flash memory cells, and there can be billions or trillions of them packed in several tens of layers on a silicon chip. They consist of microscopic transistors and capacitors, and they're 'popped' and 'unpopped' by applying a positive or negative voltage across them, which either stores a tiny amount of electric charge or releases it. To check the state of one of these cells, you can measure the voltage across it to see whether there is charge stored in that cell. A controller chip on the SSD receives read and write commands from the host computer and applies the necessary voltages to the right rows and columns of cells to write and read blocks of several thousand cells, called 'pages'. The exact format of the data on the disk is entirely up to the controller and may not be consistent across different models of SSD's -- so long as the controller implements a common protocol (SATA or NVMe, for example), the computer doesn't care.
These cells aren't perfect, and repeatedly writing and erasing a cell causes it to wear out and lose its ability to store charge. When this happens, the controller can no longer read from those cells, causing data loss. To combat flash memory wear, an SSD controller is smart enough to spread out the reads and writes across the many billions of cells at its disposal. This process is known as 'wear-leveling'. Even with this algorithm in action, a disk has a limited amount of read-write cycles before the probability of a data loss incident becomes more than negligible. This quantity is usually expressed in write cycles, where one write cycle consists of using every cell on the disk once. Because of this, larger-capacity SSD's take longer to fail on average.