Open in app
Cover art for How phase-change memory replaces RAM and storage

How phase-change memory replaces RAM and storage

Technology · 6 min listen

Get the app on mobile
Download on the App Store Get it on Google Play
Cover art for How phase-change memory replaces RAM and storage
0:00
0:00
Transcript

HostI was thinking about my old laptop this morning. When I hit the power button, I have enough time to go to the kitchen and make a full pot of coffee before it actually lets me open a web page and get to work. It feels like this is just how computers are, but why do we still have to wait for everything to load every single time?

GuestIt comes down to a split in how computers think. You can imagine your computer has two different types of brains. One is the working memory, which is lightning fast but loses every thought the second you pull the plug. The other is the long term storage, like your hard drive. That one keeps your files safe for years, but it's much slower. Everything you do on a computer involves this slow hand off between the two. The working memory asks the storage for a file, waits for it to arrive, and then finally gets to work. That gap is why you're waiting for your coffee while the laptop boots up.

HostSo we have a fast brain that forgets and a slow brain that remembers. Why has nobody just made one brain that does both?

GuestPeople have been trying for a long time, and the leading hope right now is something called phase change memory. It uses a very thin layer of a special kind of glass. This glass is strange because it can exist in two different states. In one state, the atoms are all jumbled up and messy, like a pile of bricks. In the other state, they're all lined up in a neat, perfect grid. When you hit that glass with a quick pulse of heat from an electric current, you can flip it from messy to neat and back again. The computer reads those two states as the ones and zeros it needs to store data.

HostIf it's just flipping between messy and neat, how does that help with the speed problem? It sounds like we're still moving things around.

GuestWell, nothing is actually moving across the chip. You're just changing the physical state of the material right where it sits. It's much faster than the way a standard hard drive or even a thumb drive works. But the real win is that once the glass is in one of those states, it stays there. You can turn the power off completely and those atoms will stay in their neat grid or their messy pile for decades. That means you could've the speed of working memory but the safety of a hard drive. If this worked perfectly, your computer would never really turn off. You would hit the button and your screen would be exactly where you left it, instantly, because the working memory never forgot what it was doing.

HostThat sounds like the dream, but I have heard this kind of talk before with other tech that never showed up. If this glass is so great, why am I still waiting for my laptop to start?

GuestThere's a big catch, and it's mostly about heat. To flip those atoms from messy to neat, you have to get that tiny spot of glass very hot, very fast, and then cool it down. Doing that once is easy. Doing it billions of times a second across a chip with billions of tiny spots is a nightmare. All that heat builds up. If the chip gets too hot, the glass might get stuck or the parts around it might start to break down. We're also finding that these chips can wear out. Every time you melt and freeze that tiny bit of glass, you're putting stress on the material. After a while, it just stops switching.

HostSo it's like a lightbulb that eventually burns out because you're flipping the switch too much?

GuestBasically, yes. Right now, a standard stick of RAM in your computer can be written to almost an infinite number of times without breaking. Phase change memory is getting better, but it still has a limit. If you used it for everything, your computer might only last a year or two before the memory started to fail. There's also the cost. The way we make chips today is set up for the old system. Changing everything over to this new material is expensive, and the big companies are hesitant to bet everything on it until the heat and wear problems are totally solved.

HostBut we're seeing it in some places, right? I thought some big data centers were already using things like this to speed up their search results.

GuestThey're, but it's mostly used as a middle step. It sits between the fast memory and the slow storage to act as a kind of buffer. It helps when you have huge amounts of data that need to be reached quickly but are too big to fit in the normal working memory. Researchers are now looking at new ways to build these chips, like stacking them in layers or using different mixes of metals in the glass to make them switch with less heat. Some new tests show we might be able to make them last much longer by using tiny pulses of light instead of electricity to change the state.

HostIt seems like we're still in that awkward phase where the tech is almost there but not quite ready for a regular person to buy.

GuestWe're definitely in the middle of a tug of war between how we have always built computers and this new way of thinking. The big question is whether we can find a material that stays stable for years but can still change its mind in a billionth of a second without melting the whole device.

HostThat laptop on my desk might still give me enough time to brew a pot of coffee for now.

GuestThe atoms in those chips are still a bit too stubborn to settle into that perfect grid without a fight.

HostMy old computer will keep its slow two-brain system until we finally figure out how to keep that glass cool under pressure.

Made with Wander

A world of curiosity you can listen to. Explore endless questions, or ask your own.

Get the app