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-10 00:19:23 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!195.27.83.146!news-FFM2.ecrc.net!news.siemens.de!news.mch.sbs.de!not-for-mail From: Konrad Schwarz Newsgroups: comp.sys.dec,comp.arch Subject: Re: CPU failure in an SMP system (was Re: Compaq kills Alpha) Date: Tue, 10 Jul 2001 09:21:33 +0200 Organization: SIEMENS AG Message-ID: <3B4AACFD.7392BAF7@mchpDOTsiemens.de> 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: mhpa501c.mchp.siemens.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5 [de]C-CCK-MCD FS SBS (WinNT; I) X-Accept-Language: de,en Xref: archiver1.google.com comp.sys.dec:5479 comp.arch:13458 Eric Smith wrote: > Gracefully removing a working CPU isn't that hard. You force it to > suspend its running task (or wait for it to be suspended), then don't > allow it to dispatch a new task. > > Gracefully removing a CPU that failed while executing in user space is > reasonably easy. You kill the user task that was running. > > 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. > > But the hardest problem of all is *detecting* a failed CPU. Some failures > might be caught by hardware, e.g., parity or ECC on cache, TLB, or > microcode. Gross failures (CPU stops executing instructions) might be > detectable by having another CPU notice that the failed one is no longer > punching a watchdog. But many failures are very hard to detect, except > indirectly when they crash a user program, or the system. For instance, > suppose one bit of an adder in the address generation path fails, such that > at rare intervals the wrong operand is used. I agree with Eric Smith's analysis but would like to extend it: the distinction between user/system mode is somewhat misleading for modern systems, because today user processes may use semaphores (i.e., mutexes) to protect inter-process critical sections/shared memory, and if a process is aborted while holding a mutex, rollback is not possible in general. In fact, from a whole-system viewpoint (holistic?), process abortion is always problematic owing to possibly unfinished modification to data files, etc. In general, process abort will require operator intervention to restore the system to a consistent state. Transactional systems resolve these problems at the user level. Furthermore, I would like to know if the failure analysis for TOPS-20 assumes "fail-silent" nodes, i.e. CPUs that simply stop working instead of, e.g., randomly corrupting memory.