From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-07-06 15:00:03 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!hammer.uoregon.edu!enews.sgi.com!newsfeed1.funet.fi!newsfeeds.funet.fi!newsfeed.uninet.ee!news.ut.ee!not-for-mail From: Sander Vesik Newsgroups: comp.sys.dec,comp.arch Subject: Re: CPU failure in an SMP system (was Re: Compaq kills Alpha) Date: Fri, 6 Jul 2001 21:55:24 +0000 (UTC) Message-ID: <994456524.940849@haldjas.folklore.ee> References: <993827646.193602@haldjas.folklore.ee> <9hkj7t$p05$1@bob.news.rcn.net> <993919304.195352@haldjas.folklore.ee> <9hn02h$lla$5@bob.news.rcn.net> <994085141.240641@haldjas.folklore.ee> <9hq3sl$ab2$2@bob.news.rcn.net> <994096345.28736@haldjas.folklore.ee> <9hsnb2$jd7$1@bob.news.rcn.net> <9hsvq1$jd2$1@pyrite.mv.net> <9hv5kq$fft$1@bob.news.rcn.net> NNTP-Posting-Host: haldjas.folklore.ee X-Trace: kadri.ut.ee 994456524 22467 193.40.6.121 (6 Jul 2001 21:55:24 GMT) X-Complaints-To: usenet@kadri.ut.ee NNTP-Posting-Date: Fri, 6 Jul 2001 21:55:24 +0000 (UTC) User-Agent: tin/pre-1.4-19990413 ("Endemoniada") (UNIX) (FreeBSD/4.3-RELEASE (i386)) Cache-Post-Path: haldjas.folklore.ee!unknown@localhost X-Cache: nntpcache 2.3.2 (see http://www.nntpcache.org/) Xref: archiver1.google.com comp.sys.dec:5344 comp.arch:13235 In comp.arch Eric Smith wrote: [snip] > Gracefully removing a CPU that failed while executing in user space is > reasonably easy. You kill the user task that was running. Well, you also have to force it to write back any modified data in the cache, or you may be in for serious problems... > Gracefully recovering from a CPU failure in supervisor space is hard. > What do you do if that CPU was holding a semaphore at the time? On some > systems it isn't even easy to tell what semaphores are being held by > a given CPU. And even if you can tell, simply releasing the semaphores > isn't necessarily an appropriate action. Yes, this ties into the 'write back any modified data' problem, which of of course grows with processors having increasingly larger caches... [snip - problem of detecting the fault] > If you need true fault tolerance, and want it as a general-purpose > mechanism rather than application-specific code, the only practical > approach is usually hardware redundancy. If you have two identical > units of the hardware working in lockstep, you can detect mismatches in > computed results. This is sometimes known as FRC (Functional Redundancy > Checking). However, if there is a mismatch, you can't readily tell > which of the two units failed. Thus FRC by itself only provides fault > detection, not fault tolerance. > With three units you can use voting, on the assumption that it is > unlikely that the two units in agreement have both failed at the same > time in the same manner. Another approach is to use two pairs of FRC > units. The pairs operate in lockstep, but don't have to be compared. > (There's still comparision within the FRC pairs). Intel called this QMR > (Quad Modular Redundancy). If one FRC pair detects a failure, the other > FRC pair still has valid state. The system can take the failed pair > offline, and possibly run diagnostics to determine which unit in the FRC > pair is actually bad. The system can either run the remaining FRC pair > in a non-fault-tolerant manner, shut it down and move its load to > remaining fault-tolerant nodes, or join the remaining FRC pair with a spare > to bring it back to QMR. Well, you supposedly don't need to always do that on the granularity of instrauctions and in such cases may need less special hardware (provided you can shut down and replace a CPU of course) - the double or triple still applying of course. With small/no modifications to the code doing the work it should be applicable to a lot of work done in nice sized chunks - block oriented processing, transactions, and I imagine a lot of computation. -- Sander FLW: "I can banish that demon"