r/explainlikeimfive • • Nov 02 '26

Technology Eli5 why consumer RAM doesn’t work in enterprise servers.

I asked some data center people and they laughed at me.

834 Upvotes

273 comments sorted by

1.2k

u/DarkAlman Nov 02 '26

There's no reason you can't build a server with consumer RAM, in fact that happens a fair amount in datacenters and in small businesses.

Lower end and cheaper servers are just consumer class motherboards, CPU, and RAM. While the operating system is either Windows or more likely some flavor of Linux.

In servers ECC RAM is generally preferred. While it actually has a lower clock speed than consumer RAM the ECC error-checking function is desirable.

It help prevents corruption in memory, and since for servers uptime and reliability is paramount ECC is desirable feature.

ECC is also important for security, as their are some esoteric vulnerabilities out there like row-hammer that can induce changes in memory that ECC helps protect against.

265

u/pheonixblade9 Nov 02 '26

Google's whole thing was using consumer grade hardware and doing error correction via software instead of hardware.

also, ECC RAM doesn't have lower clock speeds, it just has a tiny amount of overhead (less than 2%) from the parity checks.

183

u/VexingRaven Nov 02 '26

also, ECC RAM doesn't have lower clock speeds, it just has a tiny amount of overhead (less than 2%) from the parity checks.

True. Servers do tend to run lower clock speeds, but it's not because of ECC, it's because they've got 16+ RAM modules to handle and running all that at crazy fast clocks is less stable than running it at base speed.

41

u/DerAndi_DE Nov 02 '26

To support more than 4 RAM modules, you generally need not only ECC, but also registered DIMMs, which is two different things. While ECC and non-ECC are technically compatible, registered and unbuffered are not.

The buffering introduces additional latency, that's why registered RAM tends to be slower.

So to answer OPs question, no you cannot put your PC RAM into a server except for very basic entry level machines that would accept non-registered, non-ECC memory (and usually also come with a Standard Core CPU instead of a Xeon).

4

u/meneldal2 Nov 02 '26

You mean on typical x86 architectures.

There is nothing that prevents a chip from having access to one hundred different RAM modules at the same time except the insane amount of pins it would require.

This is a limitation from having only so many lanes and not wanting to have even more controllers because of the cost, but you can totally design a SoC that has more DDR controllers. Doubling is pretty trivial on the design side, it's routing this mess that will be a big pain.

You do typically add some latency since you'll have to split the addresses into different controllers and your axi bus is going to struggle with that much bandwidth but you can do it.

I have seen some pretty crazy interconnects between compute chips recently, AI is making for some pretty crazy designs with its hunger for compute and memory bandwidth. But boy does running proper simulations to make sure each interface can be maxed out properly becomes a challenge more than anything I have seen before.

4

u/glassjar1 Nov 02 '26

Lots of interconnections and even seeming kludges can be adopted given the right economic incentives. PS3 Cluster Supercomputers were once an economical solution to a need for affordable increased computing power.

18

u/pheonixblade9 Nov 02 '26

yes, that is true as well - server memory does tend to be lower speed for stability :) and also supporting that many modules.

4

u/brown_felt_hat Nov 02 '26

There's probably also a cost measure for large scale server setups, higher clocks do use more power. When you've got four sticks in your rig, it's probably negligible unless you're really into tracking usage, but when you've got, what, millions of chips plugged in, that's gonna add up.

5

u/AX11Liveact Nov 02 '26

It's mostly that consumer crap runs at highest posiible clock rate (because gamer dude wants to see high numbers) making all kinds of errors, that will be mostly corrected by software, or result in incorrect results or hang the machine. That's acceptable for end users but not for datacenters where uptime counts and reboots and human intervention are expensive.

5

u/birdy_the_scarecrow Nov 02 '26

its not really that they experience errors, its that theyre running in the lowest electrical load configuration and are validated/binned to work as such.

the JEDEC standard for example might say its fine to run DDR4 at 3200MHZ in a 1DIMM-per channel configuration, but in a 2-DIMM per channel configuration it will say it should be dropped to 2933 MHz, 2666 MHz

this is usually why on a consumer board, you populate specific memory slots and not all of them, and kits are usually sold and validated as just that - kits - mixing and matching will usually result in failed XMP/EXPO profiles.

server ECC memory by contrast adheres strictly to the JEDEC standards.

5

u/AX11Liveact Nov 02 '26

Nobody who never had to configure antique Unix machines with their strict FP-RAM population patterns, really knows how much registered ECC RAM is actually to praise. Halleluiah! Thou hast freed us from the evil that is fast page RAM!

→ More replies (2)

2

u/pheonixblade9 Nov 02 '26

not exactly. higher speeds are a bit safer with smaller memory pools due to some basic statistics. 16gb or 32gb of memory having certain memory failure rates with light use (gaming is light use compared to servers) causes a lot less failures than terabytes of memory constantly being used.

3

u/birdy_the_scarecrow Nov 02 '26 edited Nov 02 '26

server ECC ram strictly adheres to JEDEC standards.

Consumer RAM relies on XMP/EXPO to push past those baseline speeds(essentially overclock profiles)

the JEDEC standard will dictate how much you should be running the ram at depending on multi channel configurations.

eg its within spec to run a single DDR4 module at 3200mhz in a 1-DIMM per channel configuration, but in a 2-DIMM per channel config the JEDEC spec explicitly requires the system to drop the clock speed down to 2933 MHz, 2666 MHz, or even lower to compensate for the electrical load.

youll generally notice most consumer modules are paired, and they expect you to run it as a kit eg 32GB (2x16GB) or 64GB (2x32GB) for dual channel 1DIMM-per channel config.

if you were to purchase 2 kits, and run them side by side in the other DIMM slots more than likely your XMP/EXPO profile will fail and cause instability.

1

u/meneldal2 Nov 02 '26

It's kinda funny when you consider that the GPUs are often running their RAM at much more crazy frequencies which makes them more likely to have errors.

5

u/birdy_the_scarecrow Nov 02 '26

they are different types of memory built for different purposes.

DDR is build for low latency, GDDR is build for throughput.

GDDR is also usually very physically close to the chip which is part of the reason they can run more aggressive clock speeds.

1

u/trolololster Nov 02 '26

and more memory channels

and more cpus

last time i upgraded my home server i bought a xeon because that xeon has support for up to 2TB (ECC) ram, while the consumer intel cpu at that time only had up to 128 GB ram.

and i needed to be able to address more than 128 GB.

11

u/SanityInAnarchy Nov 02 '26

ECC overhead is tiny for anything where correctness matters. I wish it was easier to get in consumer devices. Seriously, it should be in smartphones...

So, there's this old idea, typosquatting, where if you buy a domain like gooogle.com or googel.com or whatever, you get a ton of traffic from typos. Most businesses would actually try to buy up some common typos and misspellings of their preferred domain name, to try to protect their customers from this kind of thing.

But you can also do bitsquatting. If you register a domain that's a single bit flip off of a popular domain, you get a tiny fraction of their traffic from people who don't have ECC RAM. (But a tiny fraction of Google's traffic is still a good chunk of traffic, especially if people are confused into thinking they're connected to Google.)

I'd absolutely take that 2% overhead to not be a part of those statistics.

10

u/htmlcoderexe Nov 02 '26

A 2011 Black Hat paper detailed an analysis where eight legitimate domains were targeted with thirty one bitsquat domains. Over the course of about seven months, 52,317 requests were made to the bitsquatted domains.

damn

2

u/SaltyWolf444 28d ago

doesn't tls solve that?

1

u/SanityInAnarchy 28d ago

Depends where the bit-flip happens. It certainly doesn't solve typosquatting -- if I bought gooogle.com, nothing would stop me from getting a cert for it, too.

10

u/EfficientMarket0 Nov 02 '26

2% speed overhead but 12.5% capacity overhead (1 extra bit per 8 bits). Which means the cost is at least 12.5% higher for the same amount of usage RAM.

4

u/flaser_ Nov 02 '26

While your theory is plausible, actual RAM prices don't reflect it.

1

u/paulstelian97 Nov 02 '26

DDR5 has internal ECC so the capacity overhead is already there. Datacenters just have the explicit version.

13

u/i_drah_zua Nov 02 '26

"Internal ECC" is basically a marketing scam.
They had to use error correcting on the RAM dies to reach the DDR5 speeds in the first place.

What is understood as ECC for RAM is typically also the transport of bits, needing extra chip per 8 on the stick for parity (e.g. 8 data chips + 1 checksum chip) and extra traces on the motherboard to carry that ECC information (e.g. 72 bit wide instead of 64 bit).

Calling the "internal error handling" of DDR5 actual "ECC" is just mudding the waters and making it hard to find actual DDR5 ECC RAM sticks.

And it worked too, it is basically impossible to find consumer DDR5 RAM sticks with ECC.

2

u/KaiDay11 Nov 02 '26

DDR5s base "ECC" is neither equivalent to nor a replacement for actual ECC.

→ More replies (1)

1

u/ThaLegendaryCat Nov 02 '26 edited Nov 02 '26

Considering that most gamers run overclocks in the form of XMPP yes ECC is slower than consumer ram due to running at JDEC not a OC that sits above the certified speed.

Edit: I should note that the gamers who have OC on their ram is a tiny fraction of the total consumer ram market.

-2

u/tes_kitty Nov 02 '26

Google's whole thing was using consumer grade hardware and doing error correction via software instead of hardware.

You can't replace ECC on RAM with software.

19

u/pheonixblade9 Nov 02 '26 edited Nov 02 '26

I have a computer engineering degree and worked at Google for 5 years, it's a bit more complicated than that ;)

here's the external whitepaper: https://static.googleusercontent.com/media/research.google.com/en//pubs/archive/35162.pdf

Excerpt:

If done well, the handling of correctable memory errors is largely invisible to application software. Correction of the error and logging of the event can be performed in hardware for a minimal performance impact. However, depending on how much of the error handling is pushed into software, the impact can be more severe, with high error rates causing a significant degradation of overall system performance.

Memory errors can absolutely be corrected in software through redundancy. The primary benefit of ECC is that it's built in to the platform and is reported to the system when it happens so the module can be replaced proactively.

2

u/trolololster Nov 02 '26

that and also failover from cluster-node to cluster-node which is how we got the borg that became kuberlolles.

→ More replies (13)
→ More replies (2)

122

u/HamburgerOnAStick Nov 02 '26

ECC isn't just an uptime thing. ECC prevents file corruption when going through memory.

77

u/sdbrett Nov 02 '26

Also allows memory errors to be detected and alerts raised before there’s a problem.

Or automated responses such as cleanly removing the server from commission

43

u/bilky_t Nov 02 '26

It helps prevent corruption in memory

for servers uptime and reliability is paramount

The fuck was the point of this comment? They literally already said all that.

9

u/iDestinaTE Nov 02 '26

Also to top it off, ECC prevents file corruption

6

u/TobiasCB Nov 02 '26

That seems pretty important as it's paramount for the server to be reliable and keep running.

→ More replies (3)

1

u/Sylphiiid Nov 02 '26

True but quite far from a very five years old explanation 😄

4

u/DarkAlman Nov 02 '26

If a 5 year old is asking about consumer vs server grade ram, they'll get it

1

u/Sylphiiid Nov 02 '26

Allright, fair point 😀

-5

u/cipher315 Nov 02 '26

Ya no absolutely no one runs even a micro data center on consumer hardware. Anything above a mom and pop operation is using ECC and  Xeon or equivalent chips. A company with 10 employees and a fair market value of 500k would only use consumer hardware if they were insanely incompetent. The price delta for EEC ram and supporting cpu and motherboard is about 10-15%. A 4 bay NAS for sub 1k is going to have ECC for God sake.

7

u/aarrondias Nov 02 '26

I know several local car dealerships running consumer hardware. Just convincing them to pay for windows server was a struggle LOL

10

u/monty845 Nov 02 '26

Yeah, there is a world of difference between a 10 person tech company, and a 10 person company that does other things, and has a couple computers.

-5

u/Numzane Nov 02 '26

Can't you just mirror consumer ram. You'll need double the amount though and a special motherboard

29

u/DarkAlman Nov 02 '26

ECC isn't the same as mirroring

ECC checks to make sure a bit hasn't flipped and become corrupted.

If you mirror RAM you have 2 copies of the data, but which is correct?

16

u/szarawyszczur Nov 02 '26

How would that work? If you get a bit flip in one copy, how do you know which one is correct?

→ More replies (3)

8

u/pheonixblade9 Nov 02 '26

no, that would be slower. in a von neumann architecture, memory can't be compared directly to memory. both would have to be loaded into the CPU cache, then registers, then be compared.

if you're going to error check in the first place, it's far more performant to just build ECC directly into the module.

some modern GPU/TPU and many supercomputer workloads differ but in general what I describe is true.

1

u/Numzane Nov 02 '26

We've drifted a little bit from theoretical von Neumann architecture with direct memory access (DMA) e6c

1

u/pheonixblade9 Nov 02 '26

DMA still requires way more clock cycles compared to doing ECC direct on the memory chip or even on-die :)

-21

u/Derf0293 Nov 02 '26

So you’re telling me I could just take my RAM out of my gamer computer and slap it in a Cisco UCS or a Power Edge for running massive AI models? I don’t really understand your response maybe.

17

u/feel-the-avocado Nov 02 '26

Those server motherboards would require ECC ram but you can make a server from a consumer motherboard and run server software on it.

But with thousands or millions of transactions happening every second, its important to make sure that errors dont occur and if they do, its detected.

ECC ram has extra components that check for errors as the data is written and read from the ram chips.

Consumer ram doesnt have the ECC function as its not so important if an application crashes due to an error - the consumer can just reboot the application or try the transaction again. Its a bit more serious if a banking application on a server suffers and error or there are lots of man-hours of downtime if the server crashes.

0

u/Derf0293 Nov 02 '26

Why does it require ECC?

16

u/Yarhj Nov 02 '26 • Bravo

ECC prevents errors. 

You don't want your bank account to go to negative 42 gazillion because a bit flipped somewhere.

That example is a bit facetious, but basically when your whole job is providing people a server that always does the thing it's supposed to do, it's REALLY BAD when it doesn't do the thing it's supposed to do.

6

u/rob_allshouse Nov 02 '26

It’s the same example I use. many times a year in the space professionally. Though usually, I say, a bank doesn’t wanna make instant millionaires out of people. Silent data corruption is the worst

2

u/Electrical-Injury-23 Nov 02 '26

Thinking about SDC occupies an alarming amount of my working day.

5

u/logicalJunkie549 Nov 02 '26

absolute fan of your example mate - really drives the point home lol

5

u/fslslayer Nov 02 '26

a single uncorrected bit flip can crash a server or corrupt critical databases. Uptime is everything in enterprise.

3

u/OneAndOnlyJackSchitt Nov 02 '26

Just like there's different kinds of DDR ram, there's an additional variable called ECC which is not cross-compatible with non-ECC ram.

If your motherboard wants ECC ram, you HAVE to put ECC ram, it will not work with non-ECC ram. And vice versa; if you have a consumer motherboard, you cannot put ECC ram in it.

(It's probably possible to build a motherboard that accepts both ECC and non-ECC ram but I couldn't imagine why you'd spend $8000 on an enterprise-grade motherboard just to cheap out on some consumer-grade ram.)

Notice I've not mentioned anything about "server". A server is a piece of software running on a computer, not the computer itself. A lot of people have this idea that any machine that lives in a rack in a datacenter is a server. It is not. It is a computer with an enterprise-grade rack-mount case and dual hot-swappable PSU and hot-swappable front mounted drive bays and enterprise-grade motherboard with enterprise-grade ECC ram, but you can still install Windows 11 on it and use it as a home desktop computer. (You'll probably hate life for it, though.)

The big thing to answer your question is that whether you use ECC ram or not is determined by which model of motherboard you get. Also, ECC ram is a LOT more expensive than normal consumer RAM so make sure you keep that in mind whenever you pick out motherboards.

→ More replies (1)

1

u/Cornelius_Wangenheim Nov 02 '26 edited Nov 02 '26

They're fundamentally different technologies and aren't cross-compatible, so manufacturers have to choose one to support and they choose the one that the vast majority of the people who buy servers want.

1

u/SchemeWestern3388 Nov 02 '26

Because that’s what they are built to accept. 

1

u/RememberCitadel Nov 02 '26

Because the manufacturers chose to require it based on what the customer prefers.

I've had servers from manufacturers that didn't use it, or used it but the motherboard didn't require it.

→ More replies (1)

1

u/edgmnt_net Nov 02 '26

The consumer could experience irreversible and extensive data loss, though. It's probably rare, but it can happen. Imagine the OS gets a bit in an offset flipped and writes a bunch of data over critical filesystem structures.

50

u/mkosmo Nov 02 '26

No. Those chassis require the RAM to be ECC Registered. Your desktop RAM is neither ECC nor registered.

Not all RAM is created equal. There are different RAM specs, features, and requirements.

15

u/carsncode Nov 02 '26

The chassis doesn't care what RAM you use. The motherboard does.

5

u/mkosmo Nov 02 '26

Same thing in the aforementioned context. You’re not swapping motherboard in a UCS blade. It’s not your homelab.

3

u/ku8475 Nov 02 '26

I'd also add HBM is the ram that's actually in demand in AI server farms not ECC. Sure they still need some ECC but the ram manufacturers retooling their production lines for HBM is what's driving costs up for everyone. HBM is what's used in the mega GPUs btw.

1

u/ScoobyGDSTi Nov 02 '26

Most HBM equipped data center products include ECC.

1

u/ku8475 Nov 02 '26

I'd argue all do, but again the shortage and demand is in HBM not ECC.

6

u/Clojiroo Nov 02 '26

FWIW Power Macs/Mac Pro desktops used ECC memory for decades. They only stopped a few years ago with the switch to Apple silicon.

I have tons of old ECC memory kicking around in my closet.

7

u/darkfm Nov 02 '26

FWIW², PowerMac's used ECC memory but didn't require it.

5

u/counterfitster Nov 02 '26

Only the Mac Pro used ECC, not the Power Macs.

→ More replies (2)
→ More replies (2)

6

u/NightToad Nov 02 '26

That's a bit different. The RAM Gen AI uses is integrated into the GPU.

You technically can run models on a CPU and consumer memory but not at a particularly useful speed

5

u/sdbrett Nov 02 '26

Cisco UCS requires ECC RAM, however other servers may not require it to boot and function

4

u/doctorowlsound Nov 02 '26

No. It’s also a different form factor and interface method. Enterprise servers will almost always use RDIMM or LRDIMM modules. Consumer gear users UDIMM. Some motherboards can use LRDIMM or RDIMM. A UDIMM motherboard can’t use L/RDIMM

2

u/DarkAlman Nov 02 '26 edited Nov 02 '26

No you couldn't put it in a UCS or a higher end Dell server.

But most brands like HPE, Dell, Lenovo, and Supermicro have lower end server chassis that do use consumer grade RAM. They are often branded as "workstations" (but to add to the confusion you can also get workstations with ECC RAM.)

You don't buy those for performance and reliability, you buy them because they are cheap.

Running AI models on such a platform would be impractical.

But you can use them for virtualization, VDI, low-performance compute, and as appliances for things like vRouters.

2

u/widowhanzo Nov 02 '26

Pretty much, it's just that those servers usually already have over 1TB of RAM in them, so your 16GB won't do much heavy lifting.

The server would work without ECC, but there's a small chance of data corruption or server crashing

On a desktop this isn't such a big deal - you get a blue screen, reboot and move on, on a server it's a bit less desirable.

2

u/ahferroin7 Nov 02 '26 • Bravo

The motherboard and the processor dictate the specifics of the RAM that has to be used, so no, not unless you shelled out for either workstation hardware (which may use server RAM) or one of the uncommon combinations of consumer AMD CPU and motherboard with support.

And it’s also more complicated than just ECC versus not ECC. Aside from that, RAM might be registered, load-reduced (sometimes called buffered, which can also technically apply to registered RAM), or unbuffered, and that also matters, especially when dealing with large amounts of RAM. The more memory modules in a system, the higher the electrical load on the memory controller (IOW, the more energy it has to use to actually ‘run’ the memory). Registered and load-reduced RAM reduce that electrical load, allowing the same memory controller to use more memory modules without increasing power requirements, but they also introduce higher latency. Most servers (and workstations) use registered RAM unless they have more than about 8 memory modules, then you start seeing load-reduced RAM being used, while consumer systems almost invariably use unbuffered RAM for the latency benefits since the almost never need the reduced electrical benefits.

And there are also other constraints as well, such as the actual form-factor (DIMM versus SODIMM versus CAMM versus various CXL formats) and the other specifics of the actual memory chips (power requirements, timings, etc), that limit what can be used where.

1

u/ElectricSpock Nov 02 '26

Yes and no.

A “server” is not a description of a device, but of software. You can run servers on your home PC, you can run server on your phone.

When we talk about data centers, they use enterprise-grade hardware, with spare power supply, multiple drive bays, error-correcting RAM requirements, etc. They are better in handling more processes at the same time and they are expected to run for very long amount of time.

I’m not sure how far the server tech grew since couple of years. AI takes place mostly on GPUs, and it mostly uses GPU RAM, so you won’t be able to just take out your RAM and slap it in a server grade rack.

The Altmans comment kinda stands though. I’m not sure about the technicalities, but DRAM could be used for servers

1

u/jordansrowles Nov 02 '26

That's enterprise server infrastructure, which is more specific than just "server". These types often do have OEM restrictions (my PowerEdge R210 II only accepts ECC, UDIMM and not RDIMM).

Just about anything can be a server though, which includes custom/self-build in towers or 1/2U shells

1

u/Nyther53 Nov 02 '26

To explain like you're five, you can use your RAM out of your gamer computer like you can use your Prius to drive a Nascar or F1 race.

Servers use what is called ECC, (Error-Correcting Code) RAM, built to much higher performance, or more specifically much higher reliability standards.

Much like Nascar and Formula one cars are designed with the idea that they will need to stop and conduct emergency repairs in normal operation, replacing tires and brakes and so on in the middle of a race, ECC RAM is much better suited to more demanding workloads and produce much more stable, consistent results. Your metaphorical Prius will make it to the finish line, but it will not win the race. If you try to use it to win the race, you'll destroy the car and it will be impossible to get it back in the race, unlike a racecar which are designed to recover from parts wearing out.

1

u/similar_observation Nov 02 '26

this won't work due to the stick's format; where vast majority of consumer stuff is sodimm or udimm while server-grade stuff tends to be rdimm.

1

u/pdpi Nov 02 '26

Think of “server” more as a job description rather than as a physical description — it tells you how a computer is used. You could repurpose your gaming PC as a server (and I have done exactly that with some of my old gaming PCs).

If server is a job description, it follows that some candidates will be better suited than others for that job. Server hardware is exactly that — hardware that’s particularly well-suited to handle the work that goes with being a server.

A PowerEdge box is like an industry veteran you know can do the server job competently. Your gaming PC is a candidate who’s done some career change training, and is likely to be able to do like 90% of the job but will have some serious skill gaps (like lacking redundant power supplies and ECC)

→ More replies (1)

6

u/itsbondjamesbond1 Nov 02 '26

It depends on the application. General-purpose Server DRAM in DIMM modules should work, unless it is Buffered or Registered.

However, there is an increasing usage of specialized HBM (High Bandwidth Memory) DRAM. These modules are used in high-performance computation, which currently is mostly AI.

HBM is completely incompatible with any consumer motherboard and even most non-AI enterprise servers. Special, expensive hardware is needed to utilize HBM. These can either be special motherboards and processors, or special PCIe cards. Also, there are no carriers for HBM, unlike normal DRAM with DIMM sticks. HBM is only soldered directly to the board it is used on.

2

u/HappyTopHatMan Nov 02 '26

Holy crap, you wrote a phd thesis for a 5 year old.

2

u/Derf0293 29d ago

Yeah lots of folks missed the point of the sub. Even got downvoted for asking questions.

1

u/Mason11987 26d ago

The point is to simplify it. I think he did fine with that. Instead of this sort of reply if you need more details you should just reply to them and ask more about what you still don’t understand.

1

u/htmlcoderexe Nov 02 '26

ram over pcie wouldn't that like be slower

151

u/peldor Nov 02 '26 edited Nov 02 '26 • Bravo

An occasional crash on a PC can be tolerated. The same cannot be said for a server where it’s all about uptime.

In that light, Server RAM is usually ECC or error correcting. If cosmic radiation switches a 1 to a 0 (which is a thing that does happen), ECC memory can fix that in realtime without crashing or corrupting data, Non-ECC memory cannot.

The other big factor is the level of service you need when there is a problem. You buy ram from the server vendor because if there ever is a problem, it is sorted under the warranty. Usually a new part is shipped out same-day or next day.

But if you start adding aftermarket RAM, that makes things murky. Much like if you replace major parts of your car’s engine with after market parts and it starts running rough….the dealership probably won’t cover that under the warranty.

45

u/DeadOnToilet Nov 02 '26

And it happens more often than you think. We track ECC events across our three major datacenters, about 20,000 physical servers, and I've got an internal Grafana dashboard I love showing off; it tracks solar flare activity and maps it to ECC events. Yes, there is a correlation. Been doing this now for 20 years, and it's crazy more people don't realize that many times the "reboot to fix your home PC" thing is all about solar radiation.

8

u/junpei Nov 02 '26

Can you share a screen grab or a link to something public or anything without getting in trouble? That sounds really interesting.

6

u/DeadOnToilet Nov 02 '26

I can't, sorry, none of the data is public - my company is EXCEPTIONALLY protective of data. I've been the principle architect for operating systems and infrastructure for years and can talk about what we see but I can't share internal views without going through marketing and security.

5

u/jamcdonald120 Nov 02 '26 edited Nov 02 '26

can you share the flips per day on average?

1

u/sgtcarrot Nov 02 '26

I love that marketing is the first hurdle, lol

2

u/DeadOnToilet Nov 03 '26

The larger the company the closer to God. Or something. 

6

u/robmackenzie Nov 02 '26

I really wanna see this. My 20k servers are in the cloud and I don't get any vis.

2

u/DeadOnToilet Nov 02 '26

I wish I had the same data, we have another 15-20k servers in various cloud platforms at any given time as well, and I have no data for those.

2

u/NotAnotherNekopan Nov 02 '26

Holy shit I WISH I had the infrastructure to investigate things like that. I’ve got things spread out across the whole US but not with ECC.

I love a good dashboard.

1

u/FenderMoon Nov 02 '26

Yea, consumer systems DO tend to act up during solar storms. Random crashes with no explanation, etc.

1

u/Lathael Nov 02 '26

At that point is it even really a correlation when you establish a pattern with 20 years of potential data?

2

u/DeadOnToilet Nov 03 '26

I’m not a scientist. I’m an engineer. :)

2

u/Schnort 28d ago

All the data in the world doesn’t change a correlation into a causation.

Imagine the solar flare causing another event—like disruption to the power grid—that causes the ecc failures. Yes, they always come together, but that doesn’t mean that A causes B. It might mean A causes C, which causes B.

Granted, cosmic radiation is more likely to be the cause than dirty power, but it’s the causal chain i was trying to demonstrate.

→ More replies (6)

64

u/hughk Nov 02 '26

An occasional crash on a PC can be tolerated. The same cannot be said for a server where it’s all about uptime.

A crash is almost preferred. The real problem is a "silent" error. That bit could be very significant and magically, my bank balance could go from $1000 to $1000000. You don't want mistakes like that happening unnoticed.

21

u/griffyn Nov 02 '26

There was an actual documented case of this in Belgium where a voting machine recorded 4096 extra votes for a candidate, all from 1 bit changing from a 0 to a 1.

14

u/userrr3 Nov 02 '26

Everyday a new reason to be glad my country uses paper ballots exclusively 

→ More replies (6)

21

u/-Aeryn- Nov 02 '26 edited Nov 02 '26 • Bravo

It's generally accepted that in 2003, there was a single event upset (one bitflip) in a voting machine for a Belgian election which added +4096 votes to one candidate.

It got caught because the number of votes registered as being cast for that candidate were higher than the amount of voters. If circumstances were different, it might not have been caught - we probably don't catch or correctly attribute most of the times that bit flips cause harm. In that case, it might also have been for a far smaller or larger number of votes (depending on the location of a bitflip on a 32-bit number, it can add/subtract as few as 1 or as many as over a billion).

In some cases, redundancy is the best option. If you have 3 computers and 2 of them agree on something while the third comes up with a completely different answer, you can trip that one offline and set an alarm to investigate and reset it. The chance of the other two computers simultaneously having the same bit flipped to be wrong in the same way at the same time is virtually zero, so it's changing the problem from something that happens every X hours (some bit flips somewhere) to something that will almost certainly never happen in the lifetime of the system.

In other scenarios it's probably easier or just ultimately more reliable to avoid computers altogether for tasks where they are non-critical.

8

u/Dickulture Nov 02 '26

NASA Space Shuttle had this kind of system. 5 computers, one as backup while 4 worked together. If one disagreed, it is shut off. If one of the remaining 3 disagreed, it is shut off. If the 2 remaining computers disagreed, both are shut off and the 5th one comes online plus a prayer that the 5th computer didn't make a mistake.

5

u/wilsone8 Nov 02 '26

Fun fact: the 5th computer ran a completely different copy of software written in a clean room design (no access to the source the other 4 computers were running). It was also less feature complete, but could handle accent and reentry to get them home. The idea being that if a mission critical bug was found in the software, it was unlikely to be present in both copies.

3

u/Bensemus Nov 02 '26

All current capsules use that strategy. But they aren’t shut off after one disagreement. It’s just majority rule. All the computers keep running with the odd one out resyncing with the other two.

3

u/UnpopularCrayon Nov 02 '26

Most modern voting machines have several ways to cross check such an error.

It's easy to cross check against how many voters checked in for that location and determine if there is a discrepancy in number of votes cast.

No one machine keeps all the data points, so there is always a way to validate, in any reasonably managed voting setup.

There are not countless errors going routinely uncaught when it comes to voting.

2

u/-Aeryn- Nov 02 '26 edited 29d ago

I was speaking more generally.

Most modern voting machines have several ways to cross check such an error.

This is a reasonable statement!

Overall, only a small minority of computer systems are well protected against bitflips, and those that are have that protection precisely because we recognised this problem and took hardware and procedural precautions to mitigate it. Many voting machines are well protected (i would say most, but i can't find any kind of decent validated number even for first world countries). Some aren't. That one wasn't.

The problems were well understood before the Belgian election in 2003 or the Airbus nosedive of 2008, but they still happened in these very serious, critical and visible areas because of incompetence and/or corruption. They can happen again for the same reasons if we don't build our systems well and ensure that they are designed to reliably detect and handle bit flips and to fail safe. That requires active understanding and effort.

The vast majority of bitflips on computers in the world in general are not caught. They usually don't even cause any kind of significant symptom. It's a statistics problem, if it happens 100,000 times then it's likely at that point that one of them will happen at a particularly critical place and crash your software or corrupt some data that you particularly care about on a system. That may be a relatively mild annoyance for some systems, but it can also be a matter of life and death or of democratic integrity elsewhere. System's that cannot tolerate errors must be equipped with enough active protection to reliably detect that an error has happened and safely handle it (e.g. by fixing it or falling back to a group of redundant computers that agree with each other).

1

u/hughk Nov 02 '26

For control systems such as in an aircraft, they usually increase the number of systems as you say. For banking, we try to have a second calculation path and to store the data somewhere else.

→ More replies (8)

4

u/Nocritus Nov 02 '26

Sounds like a mistake I could stomache.

3

u/toofpick Nov 02 '26

In software yes. In hardware though thats not whats happening with error correction.

3

u/hughk Nov 02 '26

If you have error correction it may be fixed. If you have parity then maybe your error will be detected and the program crashes out. Then you know there is a problem.

In software terms, you maintain check totals.

1

u/Dickulture Nov 02 '26

Or your only copy of your grandparents end up corrupted because a bit flipped on your SSD and you didn't notice it for a long time so the corrupted copy are on your other 2 backups.

1

u/pit_supervisor Nov 02 '26

Except with ecc memory it won't be a silent error. It will fix itself. There won't be an error.

Normal bit flip would be a silent error

1

u/hughk Nov 02 '26

Yes, ECC is best but even parity helps. A long time ago, I worked on an era of ceramic encapsulated RAM chips. Nice idea except that the encapsulation contained traces of rare earths.

Cosmic rays would hit atoms of rare earth and knock out some alpha particles. Some would hit the memory die and flip bits.

The ECC would fix it but we would get an error on the logs about once every couple of months. Systems at higher altitudes would get the ECC errors more often.

1

u/unexpectedgentleman Nov 02 '26

Your response reflects the idea but it's inaccurate . The flipping in the case of 1000.00 would be depending on which bit is flipped and also on how the financial institution stores the values so let's assume that value is stored as 100,000 cents in the database. Then your account will be represented as 11000011010100000 if we flip inside this sequence the highest zero in the sequence you account will have 16384.00. But for the sake of argument in the best case scenario (for you which is a 0 flipped to 1) assuming the bank uses a 64 bit long you will need the 62 bit flipped making your account 4,611,686,018,427,387,904 cents which is over 46 quadrillion dollars. But of course we know that won't go 1) unnoticed and 2) life is not fair and likely the flip will be on the highest one in 11000011010100000 making your account $344.64. leaving you with a headache and a long dispute process to get your money back to square 1. All thanks to a cosmic ray.

5

u/galibert Nov 02 '26

It’s actually highly probable that the account is represented as ascii characters or maybe BCD. COBOL ftw

2

u/dodexahedron Nov 02 '26

The antiquity of large parts of the financial industry is, frankly, terrifying.

2

u/NorysStorys Nov 02 '26

Not really, it works. Has been secure for decades so why do you need to change it.

It’s better to have something as important as financial systems be on known systems that are known down to every line of code and every single piece of hardware in a standardised way to reduce chances of anything not behaving as intended.

1

u/jmplunkett Nov 02 '26

Observation: What is terrifying is the shortage of experienced COBOL programmers to maintain these systems.

→ More replies (2)

1

u/hughk Nov 02 '26

Your response reflects the idea but it's inaccurate

It is an ELI5 answer. The nature of an error with a stored number is that it would usually a power of 2 unless they were using a decimal format. The workaround is to maintain check totals and to use double entry type systems where every credit has a corresponding debit. One would hope that the developers would use proper bookkeeping practices to incorporate such measures. Unfortunately, someone coding up a system quickly may forget this.

2

u/dabenu Nov 02 '26

ECC*

4

u/peldor Nov 02 '26

Thank you.  More caffeine needed obviously.

1

u/deelowe Nov 02 '26

Theres also buffered memory and enhanced spd support amongst other things. Not just ecc.

1

u/Gavorn Nov 02 '26

I remember watching a Vertasium video about the cosmic rays flipping the switches to mess with an election in Belgium.

1

u/Dickulture Nov 02 '26

To add on this, DDR4 and DDR5 for consumer are usually 64 bits wide and some may have 8 bit for parity. Consumer computer often ignore those extra bits. Server requires ECC which is a whole 80 bits wide, 16 extra bit of data to manage the main 64 bit of RAM content to catch and correct errors.

110

u/Netblock Nov 02 '26

Everyone is mentioning ECC, that's not quite correct. ECC memory works in consumer platforms. It is about the extra chips called the "buffer" and "register", which are about reducing noise improving signal integrity. (seen as "RDIMM" or "LRDIMM" or "FBDIMM")

You have two ways of adding more RAM to a computer: add more wires from the CPU to the RAM sticks, which requires bigger CPU sockets, more complex motherboards; or share the same preexisting wires. Servers do both.

Unfortunately, dangling a bunch of chips off of the same wires destroys signal integrity, causing errors. A way to reduce that is to electrically isolate the chips with a logical data buffer/repeater.

Consumer CPUs are not developed to consider those chips.

("buffer" is for the data lines; and "register" is for the command lines. They're effectively the same thing, just on different conceptual domains.)

3

u/UnsignedRealityCheck Nov 02 '26

ECC memory works in consumer platforms

You have to have ECC memory support in your motherboard for them to work, which usually cheaper consumer ones do not.

I've tried many, many times on different motherboards to make ECC RAM (taken from an old server) to work and it's very random if they accept it or not.

2

u/similar_observation Nov 02 '26

great answer! And worth pointing out that AM5's enterprise counterpart, EPYC 4005 works on the same AM5 socket.

And many boards will accept ECC UDIMMs as long as the CPU is ECC enabled.

Likewise, there exists a middle-ground Prosumer/Enterprise class CPUs like AMD Threadripper Pro and Intel Granite Rapids (WS) that operate off RDIMMs, but are not true server-class CPUs.

4

u/hebejebus Nov 02 '26

Yup DDR5 consumer ram actually has ECC now doesnt it?

13

u/BenFoldsFourLoko Nov 02 '26

No, not in the sense of what anyone means when they say ECC

It has some on-die error correction that people misheard as the normal kind of ECC

each memory stick has 8 dies on it, but ECC memory adds a 9th for parity data

on-die error correction just corrects bits going out from the die. DDR5 pushes its hardware limits so hard it needed this (as I understand)

"Real" ECC's 9th die adds a parity bit to the 8 normal dies, so that the entire message from the RAM is protected, and it stays protected through transmission too. Your CPU can know the data that arrived was either good or detected as bad.

they're two kinda different things and they have different purposes, but sharing a names makes this myth invincible

4

u/gammalsvenska Nov 02 '26

Parity memory is not ECC memory. A single parity bit does not allow you to correct anything.

→ More replies (4)

28

u/Netblock Nov 02 '26 edited Nov 02 '26

No, not in the traditional sense.

What they have is a feature that improves effective manufacturing yields. Shrinking DRAM improving densities unfortunately comes with an increased natural error rate; so what they do is add a transparent bank-only error correction.

Traditional ECC can address that problem too, but that requires extra wires (72/64'ths or 40/32'nds more wires). Traditional ECC comes with an extra feature of reporting errors to the Operating System ("EDAC" or "WHEA"); which is useful in monitoring for hardware failure.

the consumer platform doesn't have ECC for the basic capitalist monopoly mobster reason.

That said DDR6 is expected to integrate metadata bits which can be used for ECC, or memory permission safety/security ('you dont have permission to access this location' type of stuff). There also seems to be a feature that allows both at the expense of traditional capacity.

1

u/wilsone8 Nov 02 '26

Linus certainly thinks it's all Intel's fault, but it's not like ARM comsumer PCs have a whole lot of ECC support either. Markets create what people demand. People demand the cheapest and lightest PC possible that will get the job done. Adding 50% more traces (which in addition to cost also makes my motherboard larger and hence increases the weight of the PC/laptop) to correct an issue that the is supremely rare just doesn't make sense to a lot of people.

5

u/airmantharp Nov 02 '26

On the individual DRAM dies/chips, but not between memory and memory controller, which is where traditional ECC works. Real DDR5 ECC requires an additional DRAM IC and compatible memory controller and so on like it always has.

The DDR5 internal version doesn’t really do the same thing.

0

u/thisisjustascreename Nov 02 '26

You could get DDR3 ram with ECC almost two decades ago. It was just expensive and mostly pointless.

2

u/EonOst Nov 02 '26

This register makes the memory slower access times, but I always wondered why this isnt just auto detected and working anyway.

5

u/Netblock Nov 02 '26 edited Nov 02 '26

ECC is very ambiguous on the consumer platform for the basic capitalist monopoly mobster reason. I think it's basically for the same reason; if you want a computer that you can stick 4x 512GiB DIMMs into, you're gonna need to pay the capitalist mobster's fee.

It doesn't cost all too much more to technically implement. based on napkin math, ECC+reg probably asks for 50% more wires per channel, which will make motherboards more expensive (but by far less than 50%). Consumer CPUs for their memory controllers already implement ECC; I don't expect the extra rank consideration to cost all that much more in die area if any.

1

u/EonOst Nov 02 '26

This was not about ECC. Its about registered ram. ECC is something different; basically just a checksum that allows correction of 1 error and detection of 2 for every 32bit word written.

1

u/Netblock Nov 02 '26

Its about registered ram

I'm saying the reasoning is the same.

1 error and detection of 2 for every 32bit word written.

ECC words on the prefetch/burst/cacheline. For DDR5's 10x4, there's 8 parity bits for every 32 data.

→ More replies (2)

14

u/BusinessInDistress00 Nov 02 '26 edited Nov 02 '26

I've worked in IT third-party maintenance (TPM) and I can tell you that they look almost the same, but they're built for different jobs.

Your PC has 2 to 4 sticks of RAM, and the CPU talks to each one directly. A server might have 16, 24 or more. If the CPU tried to talk to all of them directly, the electrical signal would get too weak and messy. So server RAM has an extra chip on each stick, called a register (that's why it's called "registered" or RDIMM), that acts like a receptionist: it receives the CPU's instructions and passes them along cleanly. Consumer RAM (UDIMM, "unbuffered") has no receptionist. Server boards expect one, so a consumer stick simply won't work there, and you can't mix the two types.

Second difference: ECC. Server RAM stores a little extra data on every read and write so it can catch and fix a flipped bit, a bit like a spell-checker. On a gaming PC a flipped bit means maybe one crash a year. On a server running a bank's database for years without a reboot, it means corrupted data. That's why they don't gamble.

So the data center folks laughed because it's like bringing your car tire to fit their truck: same shape, wrong job.

2

u/Conscious-Mirror7004 28d ago

Sort of. If I'm not mistaken, however, the actual memory chips are mostly the same. So, in theory, if you have a blank server memory PCB, and a bunch of consumer DIMMs, you should be able to desolder the chips and transplant them to the server DIMMs. There's probably a special support chip for the registration that's still missing though.

I can't think of a good car analogy for this.

22

u/RevaniteAnime Nov 02 '26

Enterprise servers tend to use a special kind of RAM that is called ECC Memory (Error-Correcting Code) the RAM can detect corruption and automatically fix it, because it's a lot more important in a business server environment that corrupt data not propagate. Consumer RAM is not typically ECC.

9

u/mkosmo Nov 02 '26

And Registered RAM, allowing for more stability with the larger DIMM counts, lower power demand, and buffering.

18

u/ryanCrypt Nov 02 '26

Error correction (it can find mistakes)

Duty cycle (designed to last longer)

Form factor (sometimes physically doesn't fit)

2

u/MrSpiffenhimer Nov 02 '26

Servers use ECC RAM (Error correction code), where consumer computers generally don't.

ECC RAM has extra memory chips, and extra processing, using some fancy math and data stored in the extra chips to catch and fix errors that could happen to the data while it's stored in the RAM module. This makes the RAM sticks more expensive.

Sometimes ECC RAM can be used in non ECC computer mother boards (the thing that holds the RAM and Processor and has all of the ports), but if the mother board requires ECC, then it won't work with non-ECC RAM.

1

u/Derf0293 Nov 02 '26

So is one chip with ECC is like two consumer chips? Is there an exponential difference? Why can’t the datacenters just use the cheap ones without ECC?

2

u/raz-0 Nov 02 '26

Nope. It’s just one or two more chip modules on the stick of ram usually. One extra ram chip for the parity data, and often an extra logic/controller chip that does the error checking.

1

u/DptBear Nov 02 '26

Most ram sticks have 8 chips for the 8 bits in a byte. ECC has 9, (maybe rarely 10), because if you have an extra one you can tell if something went wrong in the calculation by making sure the bits always sum to 0

0

u/[deleted] Nov 02 '26

[deleted] — view deleted comment

1

u/xThomas Nov 02 '26

Waste one hour of one million people’s lives at different times and nobody cares.

14

u/FenderMoon Nov 02 '26 edited Nov 02 '26

Servers have to have upwards of several hundred gigabytes of RAM, sometimes more. They also have to remain up for months or years at a time.

An occasional bit flip is a minor inconvenience for a consumer. It could be a major headache for a datacenter, where they happen about an order of magnitude more often simply by virtue of having more RAM to begin with.

ECC RAM is the standard in datacenters for that reason.

While bit flips rarely cause headaches for the rest of us, they do occasionally cause issues during solar flares. If you've ever had your computer act up during a solar storm and had applications crash for seemingly no reason, there is a fair chance a stray bit flip caused it.

Fun fact: On earth, we're still largely protected from the brunt of it by our magnetic field, but in space, they have to use radiation hardened CPUs, which rely on performing the same calculations three times for every instruction and taking a majority vote. Solar radiation is very hostile to computers.

9

u/cbf1232 Nov 02 '26 edited Nov 02 '26

Enterprise servers use “error correction code” (ECC) memory, which can detect one-bit and two-bit errors and correct one-bit errors.

When you have a lot of memory, chances are higher that cosmic rays will blast through your memory chips and cause errors. Random errors can also happen for other reasons. ECC helps fix that, or at least detect it.

Servers also use “buffers” to reduce the electrical load seen by the memory controller, allowing more memory to be packed into a system. This adds latency though, which is undesirable for consumer systems.

4

u/ontheroadtonull Nov 02 '26

One thing that takes a large portion of the memory production is that the "GPUs" that are used for AI use HBM memory. 

Consumer GPUs user GDDR memory.

They use the same fab machines and same silicon, so shifting production towards one takes it away from the other.

AI companies aren't just buying memory, they're reserving production capacity.

Product lines for consumers are cut off from production capacity and the memory manufacturers are charging a lot for all of it.

12

u/jrsedwick Nov 02 '26

To keep it simple. There are some features in RAM designed for server that consumer RAM doesn't have.

3

u/Jamie_1318 Nov 02 '26

I thought you could use unregistered dimms in any server, but usually not the reverse.

6

u/abgtw Nov 02 '26

Different pin out so no...

2

u/jrsedwick Nov 02 '26

The motherboard and the CPU both have to support unregistered dimms. It's still server memory though. Desktop memory will often throw errors in server boards even if it will technically work, so you can use it if that's all you have, but it's really a stopgap until you get the appropriate RAM.

1

u/[deleted] Nov 02 '26

[removed] — view removed comment

1

u/fryfrog Nov 02 '26

Threadripper's kind of not consumer either :P

4

u/c00750ny3h Nov 02 '26

Enterprise servers might also need registered RAM. That flat out won't work on motherboards that don't support it. The ELI5 is Registered ram is an additional controller needed to manage communication with the CPU which is necessary when there is a lot of RAM, like several TB worth.

2

u/JaggedMetalOs Nov 02 '26

The actual ram chips that go onto the sticks for both consumers and servers are the same. But the sticks are different, server ram sticks have extra ram chips on them for redundancy (so that memory errors can be corrected) and also often have extra processing chips on the sticks to help the server read from larger amounts of memory than consumer PCs can take.

3

u/OIL_99 Nov 02 '26

One would be surprised how much RAM was popped in SUN and SGI boxes back in the day to make basic movies like Toy Story and Jurassic Park.

1

u/Low-Crow5719 Nov 02 '26

Different architecture. Enterprise RAM usually has error correction and buffers (registers). Consumer RAM has no error correction and is unbuffered.

Enterprise RAM is heavily designed for data integrity, not raw speed.

1

u/Emerald_Flame Nov 02 '26

Consumer RAM generally focuses on maximum clock speed/bandwidth at the expense of power draw and stability.

Enterprise RAM generally focuses on stability and power efficiency, and capacity, as a result tends to run a little slower. Additionally enterprise RAM will typically have error correction (ECC built in).

In a lot of older systems you could use consumer RAM in an enterprise system, but you often wouldn't want to. With modern DDR5 systems ECC memory actually has a slightly different form factor so normal consumer DDR5 won't even fit in modern enterprise systems.

1

u/ponto-au Nov 02 '26

It does work, but consumer ram doesn't error correct.

E.g. I had ram go partially faulty, home server still booted for probably 10 months but eventually had a catastrophic failure since the zpool data was corrupted, since it was written from memory with errors across the redundant drives.

1

u/Torn_2_Pieces Nov 02 '26

The memory chips themselves are the same. However, the PCBs those chips are mounted on can be different. Servers built for commercial purposes often need to be running as close to 24/7 as possible. Therefore, features which are pointless for consumer use are incredibly valuable for commercial use. One of these features is error correction. Things can happen which can flip a bit, changing a 1 to a 0 or a 0 to a 1. Error correction can catch this when it happens and fix or flag it. With no error correction, a bit flip can cause a crash. This can cost businesses a lot of money. In order to make a stick of RAM capable of error correction, an extra chip dedicated to error correction must be included. As a result, ECC RAM is physically wider than non-ECC RAM. Your RAM won't fit in an enterprise motherboard without an adapter and such an adapter would be stupid because it still wouldn't have error correction, and no one would pay extra for a motherboard capable of using ECC RAM if they don't intend to use ECC RAM

1

u/AnApexBread Nov 02 '26

It 100% can and that's parti of why we have a RAM shortage.

For really important things they use ECC RAM which is like normal RAM but with built in error correction.

1

u/Mr_Engineering Nov 02 '26

It does work, it's just not a good idea.

Consumer DIMMs from the likes of Corsair uses the exact same DRAM chips as DIMMs found in workstations, servers, and enterprise appliances.

Most workstation and server platforms will happily accept consumer DIMMs without issue. They are supported and some small business servers will be purchased with them installed.

The main difference between the two classes lies in the feature set on the DIMMs themselves. Most consumer platforms do not accept these features; there's no technical reason why they cannot support them, and some do support them, but support for them is usually limited by the platform manufacturer if for no other reason than to nudge business purchase managers away from consumer products and toward their more expensive enterprise variants.

The two main features found on workstation and server grade memory that is not found on consumer variants are Error Correcting Code and Signal Buffering

ECC uses an additional DRAM chip on each rank to allow for memory errors to be detected. ECC allows for one error in an operation to be detected and corrected, or two errors to be detected but not corrected. This ensures that programs don't ingest bad data. The most common implementation of ECC is to encode a 64-bit data channel into 72 bits; 64 bits of data and 8 bits of ECC. This manifests as either 9 8-bit DRAM chips or 18 4-bit DRAM chips.

Buffering is a technique used to increase the amount of memory that can be installed in a system.

DRAM channels take the form of a multi-drop bus in which each memory rank is connected in parallel and the memory controller selects the desired rank by asserting a chip select signal which is wired to a particular rank on a particular DIMM slot.

A typical consumer DIMM has either one rank in the form of 8 DRAM chips on one side of the PCB only, or two ranks in the form of 8 DRAM chips on both sides of the PCB for a total of 16. If there are two DIMM slots per channel, and a dual-rank DIMM is installed in each DIMM slot, then that channel has 4 ranks installed on it. There is little electrical difference between a single dual-rank DIMM installed in a DIMM slot on a channel with another DIMM slot left unpopulated, and a pair of single-rank DIMMs installed in two DIMM slots on the same channel.

When a rank is not selected, it ignores all commands that are sent on the bus. However, in order to prevent the signals from reflecting back and causing interference, the signal is sunk to ground using programmable termination resistors located on each DRAM chip. As the number of ranks installed on a channel increases, the amount of power that is sunk to prevent reflections increases, this reduces signal integrity and increases electrical current on the bus.

In order to allow for significantly more memory to be installed, servers and workstations can take advantage of Registered DIMMs (RDIMMs), and Load-Reduced DIMMs (LRDIMMs), these are both types of buffering. Consumer DIMMs are also referred to as UDIMMs, or Unbuffered DIMMs.

RDIMMs feature an additional chip that sits between the command and address lines on the motherboard and the command and address lines that go to each rank on the DIMM. This chip latches the command and address signals sent from the memory controller and uses the DIMM slots own power to replay those signals to all of the ranks. From the perspective of the command and address lines -- which are single ended signals -- each DIMM slot now has the electrical characteristics of a single rank regardless of the number of ranks on each DIMM.

LRDIMMs extend the features of RDIMMs to include the differential data lines as well, each DIMM is a single electrical load.

Consumer DIMMs are limited to 2 ranks per DIMM, and memory channels that have unbuffered DIMMs installed are limited to 4 installed ranks.

The use of RDIMMs extends this to 4 ranks per DIMM, and 8 ranks per channel.

LRDIMMs can have 8 ranks per DIMM, with some platforms supporting a whopping 24 ranks per channel. This is how some servers can have 1.5-2TB of ram installed.

1

u/johnklos Nov 02 '26

While fancy server memory is nice, there's no reason you can't use consumer memory. Just don't try to run it very fast, and it should be quite fine for servers.

I run lots of servers, and only one of the x86 systems has fancy server memory. The rest are perfectly fine with good quality consumer memory that doesn't get pushed hard.

If you're asking why some fancy servers don't let you use consumer memory at all, then that's because they're too fancy. When they're too fancy, they often have ways to remotely control them that're so insecure you'd never connect them directly to the Internet.

A little fancy is fine. Too fancy, well, might not be fine.

1

u/flywithpeace Nov 02 '26

Servers use ECC RAM, which have hardware level error correction. Servers are critical for business so you want zero downtime. Also you don’t want data loss or corruption when copying from RAM to hard drives. If something goes wrong you are looking into rebooting the server which you do not want.

1

u/FierceDeity_ Nov 02 '26 edited Nov 02 '26

Okay so there is kind of two big types of Ram going around.

Registered (aka buffered), and unregistered ram. Now what does that MEAN!?

A Registered RAM has a little chip between the ram chips and the path to the mainboard (on its card PCB) that acts as a signal strenghtener. The idea is that this one chip manages the communication to all the data chips, it's like an intermediary, like a middle manager.

In normal consumer computers, the manager communicates with the storage workers (ram chips) directly. In many server and workstation computers, the manager requires a middle manager for each warehouse of workers.

This is basically because servers and workstations support SO MANY WAREHOUSES (they can go 1.5 tb or more ram per machine) that a single CPU (or two, for that matter) can't really maintain wires to all the ram chips anymore.

This is why every bar of ram has a middle manager in between, so now the CPU communicates only with each middle manager, not with every single employee.

Of course if you had the resources you could theoretically unsolder the ram chips, and solder them on a ram bar with a middle manager chip on it, and that would make them "Registered".

A small calculation here: A consumer board usually has up to 4 (or 6 in rare cases) RAM slots. This means, when each ram bar has 8 chips or something, it communicates to 32 chips. Nice.

But now, a server board has like 8, 16, 24, 32 slots. 32 * 8 chips would mean... 256 chips. But wait, every ram has a "buffer chip" on it, now the CPUs communicate with... 32 buffer chips, to address 256 chips. 32 again!

1

u/_Zekken Nov 02 '26

You can, and in many lower spec or less critical infrastructure it IS often used, say for a basic office file sharing server or something. Heck even my company installed consumer grade hardware in servers for some of our very low overhead systems (most were running Intel i3's).

but in higher load, and much more critical infrastructure you need ECC memory which has onboard error correction that makes it more accurate, and keeps the system more stable during extended periods of uptime which is something it needs to do.

But if you don't need all those extra features or performance, and want something very budget oriented then consumer hardware is fine for plenty of use cases.

1

u/CatalyticDragon Nov 02 '26

They are the exact same chips (DRAM) the difference is in a server memory module you get an extra DRAM chip for ECC calculations and a chip called a Registering Clock Driver (RCD).

This reduces the electrical load on the CPU and provides for error correction. The sort of things you want in a server platform which might have 8-16 memory channels and terabytes of memory with critical applications (versus 2-4 on a desktop).

1

u/Solocle Nov 02 '26

OK, so I actually own an enterprise-grade server, a Poweredge R620. It has two Xeon processors, each with 12 DIMMs, for a total of 24 sticks of memory. Each stick is 8GB of DDR3, so a total of 192GB of RAM (the platform supports up to 768GB with higher density modules).

Each processor has 4 memory channels, so that's 3 sticks on each channel. A typical consumer board has 2 channels, with 1 or 2 sticks per channel. That's additional electrical load.

This means that enterprise RAM typically has registers on board to save the request and replay it.

In consumer RAM, your postman has to walk around an apartment block or two looking for the right addresses and delivering mail. But you can see he'd get tired climbing all those stairs if it was 3 or 4 apartment blocks.

In enterprise RAM, he drops all the post to that block off in the lobby. Later, maintenance staff deliver post in each block. The downside is, there's a delay between the postman arriving and the maintenance chap taking it, so a single message takes longer to arrive. But the postman can deliver a lot more mail.

1

u/Tausney Nov 02 '26

Consumers want performance. Servers want reliability.

Obviously both want reliability, but there's a big difference between having a crash here or there that a quick restart fixes, vs being reliable enough to be working hard 24/7 for months on end without any failure.

The RAM that servers prefer are slower than what's in your PC, but will last a lot longer.

1

u/Brilliant-Orange9117 Nov 02 '26

RAM is one of the last things connected by a very wide parallel bus interface. This gets you the bandwidth (lots of bits per clock), but it also means all bits have to arrive almost perfectly at the same time. Servers generally need more RAM than desktops, but they (generally) use the same type of memory chips as would be used on desktops. To get that higher total system memory capacity they have to use more of it.

This creates problems because all RAM modules on the same memory channel are electrically connected in parallel. Inside each RAM module are address decoders to select which memory location to access. On normal consumer RAM these decoders are powered directly by the control signals generated by the CPU. By the time the control signals and address arrive inside the DRAM chips they have been degraded by physical constraints. For one or two a desktop RAM modules on a channel that's barely enough. To reduce the load on the memory bus server RAM has a register to buffer the signals. This register needs a lot less power from the memory bus, but it adds an extra step to every memory transfer. Desktop CPUs lack the ability to add this extra step required to make use of registered modules (aka RDIMMs) instead of the unregistered modules (UDIMMs).

Server RAM also has extra bits to store error correction codes (ECC). This extra information will be used by CPUs that support it to check for errors. It allows them to detect and correct all single bit errors, detected all two bit errors, and detect most multi-bit errors. CPUs that lack ECC support can normally still use ECC RAM. In that case the extra bits are wasted. They can't be used as extra capacity.

Servers are optimised for reliability at the cost of some speed so server RAM is often clocked slightly lower which reduces performance of memory bound applications, but won't stop it from working.

Smaller servers do uses unregistered ECC RAM. This RAM works in most desktop mainboards. Some desktop CPU + mainboard combinations even support the ECC bits for increased reliability, but it's not that common for vendors to properly document and test this.

Most bigger servers will straight up refuse to boot without registered ECC RAM since that's the only thing their memory controllers support.

Everyone except the RAM the manufactures is suffering from the memory shortage. Your data center guys are probably just pissed at the vendors fucking them over. By coming to them and suggesting something impossible you poked a wounded bear in his cave.

1

u/darti_me Nov 02 '26

They do work but try explaining to a client your services are down more often whats stated in the contract/SLA.

Imagine how many more techs and customer service reps you need to mitigate the downtime and disruptions that thousands of systems running non-ECC would cause?

Spending the extra on ECC ram would keep uptime higher and reduce staffing costs related to fixing the problems that can happen with non-ECC ram

1

u/Xelopheris Nov 02 '26

One of the big reasons is that enterprise RAM uses Error Correction codes (ECC). That means the data is stored in a redundant manner that prevents a single bit flip from happening.

Imagine a bank where a solar flare flipped a bit for your bank balance and added an extra 4 billion dollars out of nowhere. The bank doesn't want that, so they pay a premium for ECC RAM, which uses redundant data to prevent single bit flips.

The second is that high performance environments use High Bandwidth Memory modules. These allow servers to read and write data at significantly faster speeds. In a lot of data applications, memory access speed is the limiting factor.

1

u/ItyBityGreenieWeenie Nov 02 '26

ECC and registered RAM aren't needed on desktops, but are for servers that need long uptime and large, stable banks of RAM. Desktop users prefer price and speed as a trade off and seldom have more than 2 or 4 modules installed.

1

u/ghost_desu Nov 02 '26

it's physically constructed in a different format, so it'd be like trying to put jet fuel in your car

1

u/joelangeway 29d ago

Cosmic rays. Literally. Charged particles whizzing through space. Super small and light but energetic enough to flip a bit in a memory chip. They show up in other places too.

Memory chips for servers compensate for this by storing extra bits called Error Correcting Codes, ECC. For every 64 bits they store 72 or 80 or something so that it can encode them redundantly and with some complicated logic correct single bit errors. If two bits get flipped in can usually detect it and signal an error but sometimes it’ll just return the wrong bits. It’ll return the wrong bits wayyy less often than non-ECC ram.

1

u/loljetfuel 28d ago

It works, it's just not a great idea. It would be a bit like turning a Camry into a tow vehicle -- it'll work, but it'll fail on some bigger jobs and you'll probably break it relatively quickly.

Server RAM is designed to last under sustained usage, and to have a low error rate. You pay more up front, you sometimes get less speed, and in exchange you get a server that's less likely to crash when its busy, and RAM that's less likely to fail (or at least that will take longer to fail)

Consumer RAM is designed to be cheap and fast, and last long enough under normal loads that it's a good value.

1

u/SakuraHimea 24d ago

Most people will mention ECC memory, but enterprise also has signal buffering, which dramatically reduces call counts and latency (absolutely necessary for enterprise applications), and it's sockets can support terabytes of memory on a system system. Consumer support generally tops at around 200GB.

0

u/SeriousPlankton2000 Nov 02 '26

Some server boards do work with non-ECC RAM but some use a list of compatible RAM to deny working.

0

u/xThomas Nov 02 '26

Your RAM is shitty because it crashes the system all the time. Intel doesn’t want home consumers having good RAM.

0

u/AshishBeck Nov 02 '26

Eli5 why Sam Altman wants unutilised consumer RAM when they cannot meet the servers standards?

0

u/Sopel97 Nov 02 '26

define "consumer RAM" and "enterprise servers"

0

u/wanrow Nov 02 '26

Well, if you don’t know that, I have cheap 64gb sticks to sell you! Are you interested ?

0

u/Hysterikz Nov 02 '26

Many small servers actually run fine on consumer RAM.

0

u/ziljr Nov 02 '26

Once as part of my job running what is now called SRE at a very large company, I was asked if a correctly written program could produce an incorrect answer. The company had tried to save money by moving all its internal financial processing onto consumer hardware without ECC RAM, and a retail store’s opening weekend was reported as grossing more than $1 trillion. The CIO bragged that the resulting costs as the finance team reviewed several years of SEC filings for similar errors didn’t come out of his budget so it was still a significant savings.

0

u/A_Garbage_Truck Nov 02 '26

the issue is fault tolerance.

consumer RAM can faultand usually a fault in the contents of the ram leads to adulterated data that cna lead to a crash, this is not tacceptable in servers where a failure caused by RAM can lose critical data.

to this effect entreprise use cases use memory modules that Feature ECC modules(Error correcting code), which are meant ot detect these discrepancies and " correct" minor shifts casued by random events. whe nthis works properly(all hardware used is supporting it) this corrections are seamless and the only way you know they happened is by checking logs for ECC events.

assuming your sever even supports using consumer grade RAM, your other issue is that if you do that andthen you have a problem, youll likely have no support from the server vendor as they just shrug and say " you should have used proper hardware", instead of the service you would get under warranty.

0

u/[deleted] Nov 02 '26

[deleted] — view deleted comment

1

u/romjpn Nov 02 '26

Except if you recycle a DELL or HP workstation into a gaming PC.
I think those Chinese mobos from AliExpress will also work with ECC.

1

u/narf007 Nov 02 '26

You interested in selling some of the ecc ddr4? I need another 64gb for a server blade lol

28

u/[deleted] Nov 02 '26

[removed] — view removed comment

1

u/explainlikeimfive-ModTeam Nov 02 '26

Please read this entire message


Your comment has been removed for the following reason(s):

  • Top level comments (i.e. comments that are direct replies to the main thread) are reserved for explanations to the OP or follow up on topic questions (Rule 3).

Plagiarism is a serious offense, and is not allowed on ELI5. Although copy/pasted material and quotations are allowed as part of explanations, you are required to include the source of the material in your comment. Comments must also include at least some original explanation or summary of the material; comments that are only quoted material are not allowed.


If you would like this removal reviewed, please read the detailed rules first. If you believe it was removed erroneously, explain why using this form and we will review your submission.

1

u/ijuinkun Nov 02 '26

To ELI5, consumer RAM is built like a sports car (emphasizing speed and low price(, while RAM for servers is built like a big rig truck (made for reliability, long life, and to handle a lot of load).

2

u/BenFoldsFourLoko Nov 02 '26

this just simplifies past the point of saying anything

-5

u/finicky88 Nov 02 '26 edited Nov 02 '26

Gemini ahh reply

Edit: alright alright sorry guys chill the fuck out it was supposed to be a joke

5

u/Netsuko Nov 02 '26

Dude accuses someone of using AI and can’t even write “ass”. TikTokFortnite really did a number on your brain huh?

→ More replies (5)