0

Possible Duplicate:
Should I use ECC RAM for the next computer I build?

How often does regular RAM make a mistake?

Generally speaking, what are the odds of it actually impacting anything (including silent data corruption here, but excluding changes to some data that will never be read)?

EDIT: I would also be interested to know if there are differences between DDR2 and DDR3 in this regard.

12
  • @techie007 I disagree. I don't care about what is faster, and what motherboards support it. Also lacking in that answer are any numbers for how often these issues occur. All he has in anecdotal evidence that it helps.
    – soandos
    Dec 11, 2011 at 7:20
  • @techie007 Also, the PDF he links to, while interesting, does not give a real number to how many errors regular RAM makes (especially today, as opposed to in 2009) or why there appears to be such variation (sign of bad data?). It also only deals with errors that are correctable. What is the difference between that and total?
    – soandos
    Dec 11, 2011 at 7:24
  • What's the actual question? "What's the difference between ECC and non-ECC RAM?" (which you can find out on Wikipedia at least I'm sure), or "What are the odds I could be affected by a 1-bit RAM error that ECC could have caught"? Dec 11, 2011 at 7:32
  • More a modification of the second. What are the odd I will be a effected by an error minus the odds that I will be effected by an error using ECC RAM.
    – soandos
    Dec 11, 2011 at 7:33
  • Well ECC memory can only correct 1-bit errors, so at least those are the only ones you have to worry about subtracting from your total. ;) So you want to know how much more "at risk" of 1-bit errors you are by not having ECC? Dec 11, 2011 at 7:39

1 Answer 1

1

You are looking for the mean time between failure (mtbf) and mean time to failure (mttf).

Both of these are dependent of the quality (defects are possible) of the RAM as well as its failure rate. The failure rate is mainly dependent on the total device hours and an acceleration factor, at which the cells fail. Other parameters include temperature, uptime and energy...

A document that goes into detail on this is Hybrid Memory Products Ltd - SRAM Module - MTBF analysis. In this example, the used memory lasts over a lifetime for hundreds of years. You can see various memory manufacturers report the same thing, here is an example from Kingston:

Our process works so well that our mean time between failure rating exceeds 500 years!

The gist of this is that ECC is there to cover up for hardware mistakes or extreme usage, this is the reason why you often see it installed in servers as they don't want to risk having faulty memory.


From the other question, there is a study on this that shows different results, 50 - 167 errors per month rather than an error after a long lifetime. Now who speaks the truth? Did Google properly use MemTest?

Google has come out swinging on this issue. See http://blogs.zdnet.com/storage/?p=638 for how this really does affect modern-day systems.

This however is from 2009 based on data from the years before that, so it might be different these days.

10
  • If there are hardware mistakes, won't they show up rather quickly using something like memtest?
    – soandos
    Dec 11, 2011 at 7:44
  • @soandos: They might or might not, it depends on how long you scan. Some people can't afford to spent so much time confirming that all their hardware components are fine. While I guess it is done at a professional level, often people just go and run it when they suspect memory errors... Dec 11, 2011 at 7:48
  • If it is a hardware defect, it would not fail 100% of the time when that area of RAM gets written/read to/from?
    – soandos
    Dec 11, 2011 at 7:50
  • Single-bit memory errors can happen even if the RAM isn't faulty, and can happen practically spontaneously ("Electrical or magnetic interference inside a computer system can cause a single bit of dynamic random-access memory (DRAM) to spontaneously flip to the opposite state."). ECC for catching those one-off system errors, not to make it keep working if the RAM is broken (that's what "ChipKill" is for). Dec 11, 2011 at 7:53
  • @techie007: As I said, other parameters have an influence. Interference should be fine with most of today's motherboards, and that's again a hardware defect if it does occur on a regular basis. Hence, ECC covers up for those hardware mistakes... Dec 11, 2011 at 8:05

Not the answer you're looking for? Browse other questions tagged .