Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Brett Andrews <taukimus@uci.edu>
To: "'axp-list@redhat.com'" <axp-list@redhat.com>
Subject: ECC and True Parity (A little off topic)
Date: Tue, 21 Jul 1998 00:56:04 -0700	[thread overview]
Message-ID: <01BDB442.57292F40.taukimus@uci.edu> (raw)

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


             reply	other threads:[~1998-07-21  8:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-21  7:56 Brett Andrews [this message]
1998-07-21 18:42 ` ECC and True Parity (A little off topic) Wes Bauske
read-only archive

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