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-12 06:08:00 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-251 From: jmfbahciv@aol.com Newsgroups: comp.sys.dec,comp.arch Subject: Re: CPU failure in an SMP system (was Re: Compaq kills Alpha) Date: Thu, 12 Jul 01 10:28:15 GMT Organization: UltraNet Communications, Inc. Message-ID: <9ik7eb$1s3$1@bob.news.rcn.net> References: <994616870.688233@haldjas.folklore.ee> <9ia9d4$rmd$1@pyrite.mv.net> <994669498.392616@haldjas.folklore.ee> <9ic7t1$qpi$2@bob.news.rcn.net> <994693157.444120@haldjas.folklore.ee> <9ieom7$7hi$5@bob.news.rcn.net> <994788809.635761@haldjas.folklore.ee> <9ihggj$6ag$3@bob.news.rcn.net> <994856347.447852@haldjas.folklore.ee> <9ihoat$40q$5@bob.news.rcn.net> <9ii2dg$jcr$1@pyrite.mv.net> X-Trace: UmFuZG9tSVYUhfcgG2Fs0cJSHlT//39np0ePl9cVK69jLrD/9nkU0G8eTQoIlold X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 12 Jul 2001 13:07:23 GMT X-Newsreader: News Xpress Version 1.0 Beta #4 Xref: archiver1.google.com comp.sys.dec:5648 comp.arch:13746 In article <9ii2dg$jcr$1@pyrite.mv.net>, "Bill Todd" wrote: > > wrote in message news:9ihoat$40q$5@bob.news.rcn.net... >> In article <994856347.447852@haldjas.folklore.ee>, >> Sander Vesik wrote: > >.... > >> >But you write back to the cache, not the memory, >> >and the next instruction >> >just fetches the data from the cache... >> >> Not on all CPU architectures. Not on all hardware implementations >> of those architectures. A program at the application level should >> never have to distinguish between memory and cache. A monitor >> should be able to distinguish between memory and cache. The >> hardware should be able to make it easy for the monitor to >> do that distinguishing. >> >> If I'm writing some code in assembler language, I should be >> able to assume that execution will be linear and obey >> my program flow _as I wrote it_. Of course, I'm of that age >> where program flow charts were used. > >It's possible you're just completely unfamiliar Oh, but possible isn't the word to use. Definitely is the correct word to use. I'm having a fun learning stuff. :-) > ...with how modern SMPs work >(Greg Pfister's "In Search of Clusters" IIRC has a >good introductory section >on this topic, and a great deal of other good background as well). Is this a book? > ... The >cache hardware in each processor snoops the memory bus (or uses other >mechanisms) such that it knows if some other processor is requesting data >that's dirty in its own local cache and makes sure >that the other processor gets the most up-to-date version >of that data. Is this checking really more efficient than just simply doing a write-through? Doing it the way you described above sounds like there's a potential of a lot of CPU contention between CPUs. If not carefully handled, this could make some very interest CATCH-22s. Can the monitor tell a CPU to flush its cache? Never mind. I spoke before I read the next part. > >This means that cached dirty data can be written back >(rather than written through) to memory to obtain >performance advantages (coalescence of multiple >updates to data in the same cache line) without >compromising the distributed coherence of the system >(the performance impact of ping-ponging cached data >between multiple updating processors varies with different >implementations, but applies only when actual contention >for a cache line occurs rather than >impacting every update as write-through caching does). But I didn't think a CPU had to wait for the write-through to finish before going on to the next instruction. Oh...uh-oh... there are problems with that, too. In the SMP you talk about, can a CPU get removed from the node without causing a failover of that node? /BAH Subtract a hundred and four for e-mail.