From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5747331edea7cbab X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,85404311f8041f7a X-Google-Attributes: gid102b75,public X-Google-ArrivalTime: 2001-07-10 04:40:01 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!feed1.news.rcn.net!rcn!207-172-216-185 From: jmfbahciv@aol.com Newsgroups: comp.sys.dec,comp.arch Subject: Re: CPU failure in an SMP system (was Re: Compaq kills Alpha) Date: Tue, 10 Jul 01 09:00:25 GMT Organization: UltraNet Communications, Inc. Message-ID: <9ieph3$7hi$8@bob.news.rcn.net> 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> <3B4AACFD.7392BAF7@mchpDOTsiemens.de> X-Trace: UmFuZG9tSVaR+dkm66ddr5CpAYkkg3/eqHJL5yHFS6SwB8Q5HiadG0lLJMrPu5gj X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 10 Jul 2001 11:39:15 GMT X-Newsreader: News Xpress Version 1.0 Beta #4 Xref: archiver1.google.com comp.sys.dec:5495 comp.arch:13474 In article <3B4AACFD.7392BAF7@mchpDOTsiemens.de>, Konrad Schwarz wrote: >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. Not necessarily. It really depends on the method of the app's implementation _and_ what the operating system can do. If the app has to know about physical addresses (rather than relocatable addresses) then what you say may be true. But then, the code that ties hard addresses into the app should really be considered as a part of the monitor. A long time ago, TOPS-10 provided that kind of hard addressed function--we called it 'real time device' (another phrase that has as many meanings as apps in this world). > >Transactional systems resolve these problems at the user level. Which is also an operator level and not a monitor or hardware 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. There was nothing silent about KLs dying. They had something called a "keep alive ceased". When the front-end noted that it hadn't heard from the KL for a set amount of cycles, all hell would loose and the operator would hear s, chatters, etc. If a CPU didn't pick a job to run and a job did not need a data path that was unique through that CPU, no job cares about a CPU going away. On the hand, a function of the monitor is to notify the operator that something may be wrong for system maintenance purposes. /BAH Subtract a hundred and four for e-mail.