Skip to contentSkip to conversation

Software based ECC ?

DISCUSSION Bodo Eggert 2 participants 2 messages Aug 21, 2007 3 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 1 line · Folkert van Heusden
Quoted 1 line
Quoted 1 line

http://pdos.csail.mit.edu/papers/softecc:ddopson-meng

softecc_ddopson-meng.pdf

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

"SoftECC : A System for Software Memory Integrity Checking"

Personally, I'd recommend just shelling out the bucks for hardware ECC if the reliability matters.

a question and an idea: Q: is ecc guaranteed to detect all bitflips?

It's guaranteed not to.

Having n extra bits, you can detect n-bit-flips and correct n/2-bit-flips (provided you use an optimal code).

These extra bits can flip, too, so if you have m >= 1 data bits and any finite number n of extra bits, it's possible to have an undetectable n+1-bit-flip.

Signature · 4 lines
If you can't remember, then the claymore IS pointed at you. 

Friß, Spammer: [email protected] [email protected]
 [email protected] [email protected]
#4 lore raw
Quoted 11 lines · Bodo Eggert
Quoted 1 line · Folkert van Heusden
Quoted 1 line
Quoted 1 line

http://pdos.csail.mit.edu/papers/softecc:ddopson-meng

softecc_ddopson-meng.pdf

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

"SoftECC : A System for Software Memory Integrity Checking"

Personally, I'd recommend just shelling out the bucks for hardware ECC if the reliability matters.

a question and an idea: Q: is ecc guaranteed to detect all bitflips?

Quoted 11 lines

It's guaranteed not to.

Having n extra bits, you can detect n-bit-flips and correct n/2-bit-flips (provided you use an optimal code).

These extra bits can flip, too, so if you have m >= 1 data bits and any finite number n of extra bits, it's possible to have an undetectable n+1-bit-flip.

Signature · 1 line
If you can't remember, then the claymore IS pointed at you.

Of course common ECC codes detect and correct single bit errors. When used in memory, bits in a word are never adjacent so a cosmic ray or other stray particle which could upset bits usually result in bits being upset in different words so they remain correctable.

The MIT paper is noticeably deficient in its ability to do anything useful. It proposes checking things at 100 Hz intervals and trapping each memory access as though these things happen only once in awhile and, of course, assumes that the code doing the checking will never be corrupted. Further, it ignores the cache(s).

Cheers,
Dick Johnson
Penguin : Linux version 2.6.22.1 on an i686 machine (5588.29 BogoMips). My book : http://www.AbominableFirebug.com/
_

****************************************************************
The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to [email protected] - and destroy all copies of this information, including any attachments, without reading or disclosing them.

Thank you.