TIL ECC memory can detect and fix single-bit errors on the fly
I always assumed ECC RAM was just "server RAM" with a higher price. Turns out it stores extra check bits alongside your data, so if a single bit flips the memory controller can correct it automatically, and it can detect (but not fix) many two-bit errors.
That's why it's standard in servers and popular for NAS builds where silent corruption is a real worry. The catch is that your CPU and motherboard both have to support it.
Does anyone here run ECC at home? Was it worth the hassle of finding compatible parts?
Comments · 4
Do consumer gaming PCs benefit from ECC? I'd guess a bit flip in a game is just a visual glitch, so it's not worth paying extra.
For a gaming rig it's usually not worth it, and consumer boards often don't support it. Where a flip would corrupt saved data or calculations, it matters more.
Studies of large server fleets found memory errors are more common than most expect, including from cosmic rays. For databases and scientific work, ECC is cheap insurance.
So a bit flip could silently change a number in my program? That's a scary thought for anything handling money or data.