News for hackers. Stuff that matters.
Re:ECC matters by CoolGuySteve on Sunday January 03, 2021 @12:27PM (#25623205)
I always wondered why isn't ECC built into the memory controller, the same hardware that runs the bus into L3 or the page mapper could checksum groups of cachelines.

It seems redundant to have every module come with its own checking hardware.

Re:ECC matters by p_l on Sunday January 03, 2021 @12:49PM (#25623389)
ECC is a function of memory controller, not memory, on current systems. There's also usually some form of ECC on whatever passes for system bus, and internal caches have ECC as well.

For memory controller, parity/ECC/chipkill/RAIM usually involved simply adding additional memory planes to store correction data. I believe the rare exceptions are fully buffered memories where you have effectively separate memory controller on each module (or add-in card with DIMMs)

Re:ECC matters by kasabali on Sunday January 03, 2021 @12:37PM (#25623291)
AFAIK it is built into the memory controller, at least for ECC UDIMM. There's an extra DRAM chip on the module for parity (generally 8+1), but it is memory controllers responsibility to utilize it (that's why not all CPUs support ECC)