91 points · by mud_dauber · 11y ago · 67 comments
With smaller and more dense DRAM chips every year, it takes an even smaller amount of disturbance to flip a bit. ECC needs to go mainsteam yesterday.
Obviously the problem is that Intel has twice the single thread performance, but all modern CPUs are so fast that it's almost irrelevant. And on top of that most of the "actually needs performance" applications are being updated to use the GPU instead of the CPU anyway.
I assume Intel disables ECC in consumer CPUs to help prop up the prices of the Xeon models which are essentially the same CPUs but at a higher price point.
Absolutely.
it usually costs more to power a CPU over its lifetime than it does to buy it, and Intel's been aggressively optimizing the Core architecture's performance per watt to prevent ARM from taking over on products where battery life is important.
Between 12 percent and 45 percent of machines
at Google experience at least one DRAM error
per year. This is orders of magnitude more
frequent than earlier estimates had suggested.
We just had a big discussion on this topic a few days ago. https://news.ycombinator.com/item?id=10598629http://static.googleusercontent.com/media/research.google.co...
https://news.ycombinator.com/item?id=10598629
He didn't dare himself to not use ECC for the database... :)
Umm, I don't know -- perhaps data integrity? Having multiple servers doesn't solve the "I just wrote bad data to disk" problem.
Now every server has a bad copy of the data.
Or even more fun: I do an OS update and something is slightly corrupted -- enough to harm data being processed, but not enough to crash applications. Fun!
I know pretty much no application for which this is the case.
PC manufacturers have zero incentive to add ECC when 99.99% of consumers don't care or even know.
Networking: a mixed big. Some designs manage ECC inside the processor, others use memories with ECC for specialized functions like packet QoS. Commmodity DRAM errors are a known irritant and planned for.
Servers: I'm not quite sure of my facts here, but a DRAM manufacturer would have to persuade a commmodity manager at Dell, etc, that ECC is worth it. A commodity manager won't give a d* unless his systems guys say that it's needed.
I worked in a DRAM fab; I saw how it was made and tested. It's a month-long process involving dozens of machines. Particulate contamination, watermarks, process variation -- there are tons of things that can go wrong. And then testing. There's just no way to test thoroughly enough to catch all of the possible issues with timing and crosstalk. Not to mention electromigration and dielectric breakdown. You can do burn-in, but it's not going to catch everything. We even know which die are most failure-prone (usually edge die, due to process uniformity issues.) If they pass test, they get shipped!
Of course these issues are manufacturing related.
Re. cosmic rays, it's surprising, but I think they can cause errors: http://stackoverflow.com/questions/2580933/cosmic-rays-what-...
Apple did exactly this to the EFI of some machines, to mitigate Rowhammer[1]:
Description: A disturbance error, also known as
Rowhammer, exists with some DDR3 RAM that could
have led to memory corruption. This issue was
mitigated by increasing memory refresh rates.
[1] https://support.apple.com/en-us/HT204934A beautifully whimsical way to end a fascinating technical article!
For such laptops to exist, there should exist a memory controller that supports ECC RAM. Intel's chips have memory controller built-in, since Nehalem (2008) [1] and Intel has no mobile CPUs with ECC support. Apart from the brand-new mobile Xeon's, the first of which are released in September and have 45W TDP; [2][3] I think the laptops with them are not out yet.
[1] https://en.wikipedia.org/wiki/Nehalem_%28microarchitecture%2...
[2] http://ark.intel.com/products/family/88210/Intel-Xeon-Proces...
[3] https://en.wikipedia.org/wiki/List_of_Intel_Xeon_microproces...
http://www.dell.com/au/business/p/precision-m7510-workstatio...
"Memory
8GB (1x8G) 2133MHz DDR4 Memory Non ECC
16GB (1x16G) 2133MHz DDR4 Memory Non ECC
16GB (2x8GB) 2133MHz DDR4 ECC Memory ECC
16GB (2x8G) 2133MHz DDR4 Memory Non ECC
32GB (4x8GB) 2133MHz DDR4 Memory ECC
32GB (4x8GB) 2133MHz DDR4 Memory Non ECC
32GB (2x16GB) 2133MHz DDR4 Memory Non ECC
64GB (4x16G) 2133MHz DDR4 Memory Non ECC"I don't know if you'd call that "consumer grade" or not, though.
Based on the list of authors at the beginning of the article and the credited source given in the figures ("Ioan Stefanovici, Andy Hwang & Bianca Schroeder" and "Source: Hwang, Stefanovici, and Schroeder, Proceedings of ASPLOS XVII, 2012")