Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* ECC and True Parity (A little off topic)
@ 1998-07-21  7:56 Brett Andrews
  1998-07-21 18:42 ` Wes Bauske
  0 siblings, 1 reply; 2+ messages in thread
From: Brett Andrews @ 1998-07-21  7:56 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Wes (and anyone else who might want to know):

Well, here goes.

With true parity, the codewords are 9 bits long (8 bits data, 1 bit 
parity).  Because there is only 1 bit of parity, and 1 bit can only have 
two possible states (off or on), then it's kinda like saying there's an 
error or not (but not being able to say in which data bit the error 
occurred, or how to properly decode it).

With the ECC as in RAM, the codewords are 72 bits long (64 bits data, 8 
bits parity).  With 8 bits of parity, you get 256 different possible states 
for the whole parity block (8 bits).  Since there are a total of 72 
single-bit errors possible with 72-bit codewords, the 256 possible states 
for the parity block are more than enough to properly decode a codeword 
that has a single-bit error (and also detect double-bit errors).  This is 
why ECC is better than true parity, even though overall it uses the same 
number of parity bits per data bit.  If you think about parity in terms of 
bits per codeword, it may make more sense.  I hope this is a good enough 
explanation.  I didn't want to get into syndromes, parity check matrices, 
and maximum likelihood decoding tables....

Brett Andrews
taukimus@uci.edu

On Monday, July 20, 1998 1:15 PM, Wes Bauske [SMTP:wsb@paralleldata.com] 
wrote:
> Quant-X Alpha Linux Support wrote:
> >
> > Hi Chis !
> >
> > >       IIRC, ECC has 4bits parity for every 8bits data.
> > > Anyone confirm or shootdown?
> >
> > shootdown -h now ;-}
> >
> > Parity is normally 1bit/8Bit data and dedects an odd number of
> > flipped bits; but can't correct them.
> >
> > ECC (on alpha) works with 64-bit/Data 8-bit/"parity" (so it needs the 
same
> > number of bits like parity checking, but operates on larger junks).
> > ECC is able to dedect and correct a single bit error and dedects
> > double bit errors.
> >
>
> So, can you describe how the ECC uses the same number of bits
> as True parity but can do things better?? Always wondered how
> it worked but never sorted it out. (It works so why worry I figured)
>
>
> Wes
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ECC and True Parity (A little off topic)
  1998-07-21  7:56 ECC and True Parity (A little off topic) Brett Andrews
@ 1998-07-21 18:42 ` Wes Bauske
  0 siblings, 0 replies; 2+ messages in thread
From: Wes Bauske @ 1998-07-21 18:42 UTC (permalink / raw)
  To: axp-list

Brett Andrews wrote:
> 
> Wes (and anyone else who might want to know):
> 
> Well, here goes.
> 
> With true parity, the codewords are 9 bits long (8 bits data, 1 bit
> parity).  Because there is only 1 bit of parity, and 1 bit can only have
> two possible states (off or on), then it's kinda like saying there's an
> error or not (but not being able to say in which data bit the error
> occurred, or how to properly decode it).
> 
> With the ECC as in RAM, the codewords are 72 bits long (64 bits data, 8
> bits parity).  With 8 bits of parity, you get 256 different possible states
> for the whole parity block (8 bits).  Since there are a total of 72
> single-bit errors possible with 72-bit codewords, the 256 possible states
> for the parity block are more than enough to properly decode a codeword
> that has a single-bit error (and also detect double-bit errors).  This is
> why ECC is better than true parity, even though overall it uses the same
> number of parity bits per data bit.  If you think about parity in terms of
> bits per codeword, it may make more sense.  I hope this is a good enough
> explanation.  I didn't want to get into syndromes, parity check matrices,
> and maximum likelihood decoding tables....
> 

Thanks, Makes sense to me. The low level detail
isn't an issue to me. I do SW anyway. Just nice
to have some idea how it works.

One other term I've heard was bit steering where
there are extra bits available to be reassigned
when a chip goes bad. Think IBM uses it on their
more expensive equipment.


Wes


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-07-21 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-21  7:56 ECC and True Parity (A little off topic) Brett Andrews
1998-07-21 18:42 ` Wes Bauske

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox