From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,e0b2509fc325501 X-Google-Attributes: gid1164f8,public From: Chris Subject: Re: Alphja Future? (thread on fault-tolerant architectures) Date: 1998/12/12 Message-ID: <3672DAD7.6201DD56@dial.pipex.com>#1/1 X-Deja-AN: 421613329 Content-Transfer-Encoding: 7bit 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> <3671B5CC.237C228A@dial.pipex.com> Content-Type: text/plain; charset=us-ascii Organization: Polymorphic Mime-Version: 1.0 Newsgroups: comp.sys.dec Richard S. Shuford wrote: > > I'm not sure what performance hit you mean here. > The performance hit you get where >1 cpus are all processing the same code, rather than >1 cpu's all processing different threads of the same code. > > >_A cheaper way with less performance loss is to have a cpu > >_(can be a completely different architecture) devoted entirely to system > >_monitoring and running bite continuously, but nothing else. > > Is there a word missing in the above sentence? May not be perfect grammar, but the meaning seems clear. > > The way you speak of "system monitoring" leaves me unsure if you > understand that a redundant CPU, either 3-way voted or pair-and- > partner, can detect via silicon hardware comparators (within a very > few nanoseconds) that something has gone awry, and then hardware gates > are forced into a high-impedance state to get the defective components > out of the way--so that the remaining good components can instantly get > on with the computation. > Understand - the hardware method is the optimum way - if you are doing comparison in hardware, you can take it down to instruction, microinstruction, or even clock cycle granularity. But you don't have n cpu x single cpu performance, you still have a single cpu throughput, or am I missing something here ?. Neither Vax cluster or, AFAIK, Sun servers use this technique - it's far too expensive and arguably overkill for the application anyway. System design is always a tradeoff between an acceptable level of performance and cost and no system can be made 100% reliable in any case. The law of diminishing returns applies - the closer you get to the ideal, the more complex the system becomes (in itself, detrimental to system reliability) and the more the costs skyrocket. > > I are NOT talking about a loosely coupled system where the processor > holds up a placard once per second to say, "I'm OK." In such a > system, if the placard does not appear on schedule, you have no way of > knowing whether you can trust the output you got since the most recent > placard posting. To be fully certain of your data, you have to throw > out the last second's output and compute it again. Whether doing so > will cause a headache for your users depends on your application. If > you choose to repeat the computation, either your application > programmers must explicitly code the re-computation or you must employ > some type of checkpointing scheme in a software layer underlying the > application program. > I was not thinking about that either, more the scenario (which I have direct experience of - a jet engine controller) where the outputs of two separate cpu's, running the same code, were compared on an ongoing basis by a third cpu. There were two of these controllers per engine. The comparison was done on _computed_ outputs, so it was a high level approach, but it did provide an acceptable level of performance and reliability. The third cpu can also be used for ongoing system testing. For example, memory pages not currently being used by the system can be pattern tested, i/o controllers and drives exercised etc. There are so many approaches to the design of fault tolerant systems that it's quite rightly a science in its own right - i'm no expert, but straddle hardware and software engineering, so it is an interesting subject. Some of us come here to learn, as well as to be entertained... Rgrds, Chris