From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,f98c476a0e1856d2 X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,e0b2509fc325501 X-Google-Attributes: gid1164f8,public From: "Richard S. Shuford" Subject: Re: Alphja Future? (thread on fault-tolerant architectures) Date: 1998/12/11 Message-ID: #1/1 X-Deja-AN: 421348450 Expires: 20 Jan 1999 20:20:20 GMT References: <1998Dec4.072650.1@eisner> <3667EAD0.CEAC319F@uk.sun.nospam.com> <366C62DC.446B9B3D@dial.pipex.com> <366E73B0.190A48A7@uk.sun.nospam.com> <366EA785.390846E6@star.enet.dec_nospam.com> <366F9252.5B0C1BEA@uk.sun.nospam.com> <74rg9u$i9m@gap.cco.caltech.edu> X-Sender: shuford@zen Followup-To: comp.sys.dec Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: Stratus Computer, Inc., Marlboro, Massachusetts Mime-Version: 1.0 Reply-To: "Richard S. Shuford" Newsgroups: comp.sys.dec,comp.os.vms On 11 Dec 1998, David Mathog of "Biology Division, Caltech" responded to what Fred Kleinsorge said: > > >_> The question is what type of failures allow a truly broken CPU to >_> actually be removed without requiring a restart because you cannot have >_> confidence in the continued execution of the system as a whole? ... >_> Replacing a faulty controller is another one of those cases.... > > > Fred is right, which is why every system that I've ever heard of which is > ultrareliable depends on multiple SYSTEMS (not CPUs in one system). > ... > Now I can imagine you could sort of do the same thing within a multicpu > machine - replicate each problem 3 times, assign each thread a processor, > maybe a disk and disk controller, and a particular piece of memory, then > compare the results. Dr. Mathog's imagination is not so different from the daily experience of a large number of people in the world who regard their computing as a critical activity. They work for organizations that do have computers built from multiple processors that perform the same computations, have their individual outputs compared, and emit a "system" output based on the comparison. One such group of people are the customers of my employer: Stratus Computer. There is a large body of technical literature on fault-tolerant computer architectures, and there are several ways to build a redundant-hardware machine. What he describes is a three-way voting scheme, which is certainly a workable plan. Other schemes are also possible, such as the "pair-and-partner" architecture used by Stratus since 1982. In pair-and-partner, each "logical CPU" that is visible to the user actually consists of 4 physical CPU chips, arranged as two pairs (call them "pair A" and "pair B"). All four CPUs execute an identical code path, and their outputs are given as input to comparator circuits. If one CPU chip in pair A has a problem and gives an output that disagrees with the other pair-A chip, the pair is deemed "broken" and the outputs of the two CPUs are taken off the bus. However, keep in mind that the two pair-B CPU chips are still operating, and they don't miss a beat--they continue the computation. Nothing has to "fail over". No special software is invoked. No transactions are rolled back. The remaining CPU chips just keep going. (Well, after a while they notice that pair A is broken, so they phone home and order replacement parts. No kidding.) One property of the processor chips necessary for pair-and-partner is that their operation must be deterministic, so that all 4 chips in a "logical processor" can work in lockstep. The current generation of Stratus machines uses PA-RISC processor chips from Hewlett-Packard, which permit this. (Of course, you need other parts of the computer to be duplexed, as well: memories, data busses, disks, power, I/O processors, etc.) > Sites that > can afford these can presumably afford to rent a second one for a week, > boot it into the cluster, migrate everything onto it, upgrade the original > machine, and migrate everything back--no down time. It is true that the hardware costs somewhat more than the equivalent single-chip implementation, but in many cases total cost of ownership can be less than a backup-machine fail-over-based scheme. (Consider having to buy just one Oracle license instead of two....) (I think, however, that Dr. Mathog's definition of "no down time" is rather generous. If computations are being migrated around, surely there is some discontinuity during the changeover?) My point is not to make a sales pitch but to show that such highly reliable computer architectures do exist and can be commercially successful. Some years ago, even Digital tried to do a similar product (the so-called VAX/FT machines), but, like so many of DEC's efforts, they didn't quite get the recipe right, and the VAX/FT never achieved the hoped-for market penetration. -- ...Richard S. Shuford Stratus Computer, Inc., Americas Customer Service, Marlboro, MA http://www.stratus.com/