News for hackers. Stuff that matters.
Re:I *detest* the crazy industry politics that made ECC memo... by GekkePrutser on Sunday October 16, 2022 @01:09PM (#33225270)
The problem with faulty memory (that could go bad after purchasing) is not knowing about it. ECC doesn't always protect you (it can only fix one bit flip, not more), but at least you will know the memory is bad. You will not keep working with data that is being corrupted.
Re:I *detest* the crazy industry politics that made ECC memo... by smoldesu on Sunday October 16, 2022 @01:33PM (#33225454)
I get what you're saying, but nobody is going to run three trials of memtest86 on their machine and chalk the data corruption up to cosmic radiation. When memory dies are broken, they're broken. It's pretty simple to ascertain that, if you suspect your memory has gone bad.
Re:I *detest* the crazy industry politics that made ECC memo... by adrian_b on Sunday October 16, 2022 @01:51PM (#33225599)
When the memory becomes so bad that it is obvious, you might have already lost parts of the content of various files, which may be unrecoverable.
Re:I *detest* the crazy industry politics that made ECC memo... by sliken on Tuesday October 18, 2022 @02:21PM (#33251720)
Not sure I'd say easy. I've seen many cases where the errors take more than 12 hours to show with memtest86.
Re:I *detest* the crazy industry politics that made ECC memo... by adrian_b on Sunday October 16, 2022 @01:49PM (#33225583)
Yes, early warnings about bad memory modules are probably the most useful ECC feature.

I have always used only ECC memory in any computer larger than an Intel NUC.

When the memories were new, they always had very low rates of correctable errors, e.g. one error after 3 to 6 months of continuous operation.

Nevertheless, I had several cases when a certain memory module started to have very frequent errors after several years of working fine. Due to ECC, I was able to identify it and replace it, before causing irreparable data corruption in files.

Moreover, in one case I had a laptop with ECC memory which seems to have used some poor quality SODIMM sockets. After being not used for several months (which made it more sensitive to air humidity, by not being hot as during use) it seems that the contacts of the sockets had oxidized so when using the laptop again I have seen very frequent memory errors.

Eventually, after some time wasted with investigation, I have scrubbed the contacts of the SODIMM sockets and I have reseated the memory modules, and the errors have disappeared.

ECC is somewhat less necessary in those laptops and small computers that have soldered DRAM chips, both because the total amount of RAM is small (the error frequency is proportional with the total amount of RAM) and because there are no sockets and long PCB traces (which are susceptible to electrical noise) between CPU and RAM.

At least for all computers that have socketed memory, there should have been a customer protection law forbidding the sale of such computers without ECC memory, because it is not acceptable to use a computer that may produce at any time undetectable errors.