Why does RAM need to be refreshed many times a second?
Lesson 9.3 · Rings, Then Buckets
Rob · Jenny · Sarah
Hand-woven rings vs. billions of leaky buckets.
Rob shows the crew a photo of core memory: a screen of crossed wires with a tiny ring at every crossing, threaded by hand.
Each ring is one bit.
Then Jenny shows a magnified photo of a RAM chip, where each bit is a microscopic bucket holding a little electric charge.
Jenny says the buckets leak. Sarah asks how that could possibly work.
The short answer
Because each bit is a tiny bucket of charge that leaks, and the chip tops them all up constantly. Grandma Ruth’s two 2 GB sticks are DDR3, an older generation of those buckets. The laptop can take 8 GB of it, and old DDR3 sticks are cheap.
Try it yourself
Drag the slider through the years to see how computer memory changed.
Year: 1945
Mercury delay lines
Magnetic core memory
The first DRAM chip
Megabytes
Gigabytes
Faster and denser
What you just did has a name
DRAM
DRAM, dynamic random-access memory, is the kind of memory on your RAM sticks.
Each bit is a tiny capacitor, a microscopic bucket of electric charge, with a transistor as its door: charged is 1, empty is 0.
The buckets slowly leak, so the memory reads and rewrites every bit many times a second to keep it fresh.
That constant refreshing is the “dynamic.” It’s cheap and dense, which is why main memory uses it.
A few more things
SRAM vs. DRAM
Cache uses SRAM, built from latches like 9.1. It’s faster and doesn’t need refreshing, but takes several transistors per bit. DRAM takes one transistor and one bucket, so it packs far more into the same space.
DDR3, DDR4, DDR5
Those labels are generations of DRAM sticks, each faster than the last. They have different notches, so you can’t put the wrong one in.
Refreshing costs a little
While a row is being refreshed, it can’t be read. Memory chips schedule refreshes cleverly so you never notice.
Go deeper
The longer version, if you want it.
Rope memory on the Moon
Apollo’s computer from Module 8 stored its programs in core rope memory: wires threaded through or around magnetic rings, by hand, by workers at a factory in Massachusetts. A wire through a ring was a 1; around it was a 0. The program was literally woven.
Changing a single instruction meant reweaving. That’s about as far as you can get from downloading an update, and it’s why the software had to be right before it flew.
Quick check
Why does DRAM need refreshing?
Let’s take it slower
Picture billions of tiny buckets, each either full of water (1) or empty (0). They all have pinholes, so the full ones slowly drain. A worker runs along the rows topping up every full bucket, over and over, many times a second. As long as the worker never stops, every bucket stays right. Pull the power and the worker stops.
More examples
Why RAM sticks are cheap
One transistor and one bucket per bit is about as simple as memory gets, so DRAM can pack billions of bits onto a chip for not much money.
Phone memory
Your phone uses a low-power version of DRAM, stacked right on top of or next to its main chip to save space and battery.
Back to the question
So why does RAM need refreshing?
Show the answer
Because each bit is a tiny bucket of charge that leaks, and the chip tops them all up constantly. Grandma Ruth’s two 2 GB sticks are DDR3, an older generation of those buckets. The laptop can take 8 GB of it, and old DDR3 sticks are cheap.
More on this: What is RAM, and how much do you need?
One last question
Build what a bit of DRAM is.
Tap everything that fits, then check.
Talk Card
Talk Card · 9.3
DRAM stores each bit as a tiny charge in a microscopic capacitor. The charge leaks, so the chip refreshes every bit many times a second.
How Computers Work · pettigrewlab.com/learn


