From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,41733fae94404880 X-Google-NewGroupId: yes X-Google-Thread: f7344,41733fae94404880 X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,gid3717dac89a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.33.161 with SMTP id s1mr9546403pbi.2.1319077807284; Wed, 19 Oct 2011 19:30:07 -0700 (PDT) MIME-Version: 1.0 Path: d5ni34141pbc.0!nntp.google.com!news1.google.com!goblin2!goblin1!goblin.stu.neva.ru!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: glen herrmannsfeldt Newsgroups: comp.sys.dec,comp.os.vms Subject: Re: DEC Multia (UDB) issues Date: Thu, 20 Oct 2011 02:30:04 +0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: <4e526600$0$23941$e4fe514c@news2.news.xs4all.nl> <4e9ca1b5$0$6955$e4fe514c@news2.news.xs4all.nl> <2ce75091-303e-4476-aa11-5405420f6f02@s14g2000vbj.googlegroups.com> NNTP-Posting-Host: H0vc4U5LIRkRHNPyGCs2dA.user.speranza.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: tin/1.9.6-20100522 ("Lochruan") (UNIX) (Linux/2.6.32-5-amd64 (x86_64)) X-Notice: Filtered by postfilter v. 0.8.2 Xref: news1.google.com comp.sys.dec:3357 comp.os.vms:35711 In comp.os.vms Johnny Billquist wrote: (snip) >>> But those extra >>> "parity" bits were aggregated for use as ECC, not for simple >>> parity. One extra bit for each eight data bits means four >>> extra bits for a 32-bit word, which is enough for ECC. >> No, but 8 extra bits for a 64 bit word is enough for ECC. > Right. If I remember right, you need five bits of ECC for 32 bits of data. > Exactly how many bits you need for 64 bits I don't know, but I would > have suspected that 8 bits would be enough. :-) I believe log(n+1)+1 bits, were n is the number of bits, including the ECC bits. You need to be able to correct all errors, including errors in the ECC bits. Then you need to be able to detect double bit errors, so one additional bit. So, eight ECC bits for 64. -- glen