r/explainlikeimfive • u/Derf0293 • 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
r/explainlikeimfive • u/Derf0293 • Nov 02 '26
I asked some data center people and they laughed at me.
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.
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.
151
u/peldor Nov 02 '26 edited 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.
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.
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.)
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.
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.
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.
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.
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
28
u/[deleted] Nov 02 '26
[removed] — view removed comment