Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #23780

Re: RAM Failure modes [long -- whiners don't read]

From Don Y <blockedofcourse@foo.invalid>
Newsgroups comp.arch.embedded
Subject Re: RAM Failure modes [long -- whiners don't read]
Date 2016-04-26 17:35 -0700
Organization A noiseless patient Spider
Message-ID <nfp1b7$muo$1@dont-email.me> (permalink)
References (1 earlier) <nfnitl$4q2$1@dont-email.me> <nfo7vm$lss$1@dont-email.me> <nfoaks$1dg$1@dont-email.me> <nfog3g$o5k$1@dont-email.me> <nfolu0$foq$1@dont-email.me>

Show all headers | View raw


Hi Dimiter,

>> Would you leave one of your instruments running (with code executing
>> out of RAM) for a year and expect the program image to be intact?
>
> Of course, happens all the time. For many months at least.

Then I suspect you are just not aware of the errors that are
occurring -- or, that they are masked by "expectations", etc.

Using the error rates predicted in google's paper:

25,000FiT/Mb * 64MB * 8 = 12,800,000 Fit
12,800,000 / 1,000,000,000 hrs = 12.8/1000 hrs
or, one every ~80 hours.

Using their high figure (75000 FiT/Mb) cuts that to one error
every ~1 day!

For a 128MB system, that's a range of 1 error every 12 - 40 hours.

If you're not seeing these (have you verified the code image in
RAM is unchanged?), then there is some difference between an
embedded product (e.g., soldered down RAM devices?) or a difference
in the components you're using or conditions under which they
are operated (e.g. larger device geometries -- though some
studies claim smaller geometries are not responsible for increases
in error rates)

>> Would you leave 50 of them, side by side, and expect the same?
>
> Yes (64 or 128 M DDRAM, no ECC).

With 50 units running concurrently (and independently distributed
errors), you should see one of those machines experiencing an error
every 15 - 60 minutes.

>> Errors *do* occur.  How vulnerable you are to them is a different
>> issue.  If a soft/hard error causes a light to blink at 3Hz instead
>> of 2Hz... <shrug>
>
> Of course errors do occur. My point is "do you take preventive measures
> to not be hit by a meteor while crossing a rush hour street?".

There were 63 reported meteorites in the 2001-2012 period, WORLD-WIDE.
Let's extrapolate that rate to an average lifetime -- say 500 (regardless
of where you might be at the time)

The planet's surface area is ~200 million square miles.  Let's assume I
am a one square mile target -- even when I'm indoors!  So, in my lifetime,
I stand a 500/200,000,000 chance of being hit by a meteorite.

In an 80 year span (roughly 700,000 hours... call it a million hours),
that says I'd have a 500/200M*1M chance of getting hit in a given hour.
Or, the equivalent of 0.5FiT

[lots of handwaving here to give a relative sense of scale]

>>> Leave memory testing to the silicon and board manufacturers, they have
>>> better means to test it than the CPU which uses it. If you need the
>>> feeling of some extra reliability use a part with ECC (and populate
>>> the chips for it....).
>>
>> But there aren't many parts that *do* support ECC, natively.
>
> Well silicon makers must have good risk assessment strategies for
> the decision when to put in ECC, which underscores my point.

No, they also have MARKETING strategies involved!  PC's have been sold
with ECC "optional" for many years -- despite the sizes of the memory
complements installed!  Because adding 15% to the cost of a DIMM
would make the product "too expensive"?

> If a chip does not have it it is because in all likelihood it
> does not need it. What is the point of ECC for a part which
> costs $10 or less and will be programmed in C or some other
> HLL where the programmer will never know what exactly does the
> code do.
>
> The larger parts from Freescale/NXP do have ECC on their DDRAM
> controllers, IIRC those I have seen correct single bit errors
> and signal larger ones. How justified is this technically I
> just don't know, don't have their testing etc. data collected
> over the years, but it clearly is economically justified (your
> system won't be discarded at some decision making point because
> it does not have ECC - and at this size ECC is no big part of
> the cost).
>
>> How do you know you've had a memory failure?  Or, have they been
>> "catastrophic" (hard to ignore)?  Without ECC -- and runtime
>> tools that monitor and log those errors -- you can't say whether
>> your experiencing none... or MANY!  And, where the threshold lies
>> between "none", "some" and "many".
>
> Well like I said many systems running for many months without being
> reset is nothing special for me so if there were some memory problem

I disagree.  There are numerous ways for a memory error to slip through
without disturbing operation in a noticeable (*verifiable*) way.
Will your customers notice if the LSB in a raw datum is toggled?

Have a read of:
    <http://www.cse.psu.edu/~mtk2/guw_DSN04.pdf>
pay attention to the "not manifested" results -- cases where a KNOWN
error was intentionally injected into the system but the system appeared
to not react to it.

As I say, I suspect errors *are* happening (the FiT figures suggest
it and the experiment above shows how easily errors can slip through)

> I'd have noticed it. I have noticed things much harder to imagine;
> like interference into an I2C line which could cause some hang (was
> software correctable once I realized this occurred) etc., and other
> events which occur very rarely and are very hard to detect. Memory
> issues have not been one of them. Then again, I speak only of a
> few systems I have designed and manufactured.

Back to comp.arch.embedded | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

RAM Failure modes [long -- whiners don't read] Don Y <blockedofcourse@foo.invalid> - 2016-04-25 20:18 -0700
  Re: RAM Failure modes [long -- whiners don't read] Jasen Betts <jasen@xnet.co.nz> - 2016-04-26 08:09 +0000
    Re: RAM Failure modes [long -- whiners don't read] Don Y <blockedofcourse@foo.invalid> - 2016-04-26 10:46 -0700
  Re: RAM Failure modes [long -- whiners don't read] David Brown <david.brown@hesbynett.no> - 2016-04-26 13:23 +0200
    Re: RAM Failure modes [long -- whiners don't read] Don Y <blockedofcourse@foo.invalid> - 2016-04-26 10:22 -0700
      Re: RAM Failure modes [long -- whiners don't read] Dimiter_Popoff <dp@tgi-sci.com> - 2016-04-26 21:08 +0300
        Re: RAM Failure modes [long -- whiners don't read] Don Y <blockedofcourse@foo.invalid> - 2016-04-26 12:41 -0700
          Re: RAM Failure modes [long -- whiners don't read] Don Y <blockedofcourse@foo.invalid> - 2016-04-26 13:29 -0700
          Re: RAM Failure modes [long -- whiners don't read] Dimiter_Popoff <dp@tgi-sci.com> - 2016-04-27 00:21 +0300
            Re: RAM Failure modes [long -- whiners don't read] Don Y <blockedofcourse@foo.invalid> - 2016-04-26 17:35 -0700
              Re: RAM Failure modes [long -- whiners don't read] Dimiter_Popoff <dp@tgi-sci.com> - 2016-04-27 04:21 +0300
                Re: RAM Failure modes [long -- whiners don't read] Don Y <blockedofcourse@foo.invalid> - 2016-04-27 06:36 -0700
                Re: RAM Failure modes [long -- whiners don't read] Dimiter_Popoff <dp@tgi-sci.com> - 2016-04-28 02:47 +0300
                Re: RAM Failure modes [long -- whiners don't read] Dimiter_Popoff <dp@tgi-sci.com> - 2016-04-28 05:09 +0300
        Re: RAM Failure modes [long -- whiners don't read] David Brown <david.brown@hesbynett.no> - 2016-04-26 22:00 +0200
      Re: RAM Failure modes [long -- whiners don't read] Robert Wessel <robertwessel2@yahoo.com> - 2016-04-26 14:08 -0500
        Re: RAM Failure modes [long -- whiners don't read] Don Y <blockedofcourse@foo.invalid> - 2016-04-26 13:05 -0700
          Re: RAM Failure modes [long -- whiners don't read] Robert Wessel <robertwessel2@yahoo.com> - 2016-04-26 23:28 -0500
            Re: RAM Failure modes [long -- whiners don't read] Don Y <blockedofcourse@foo.invalid> - 2016-04-26 22:25 -0700

csiph-web