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:25: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 08:46:04 GMT Organization: UltraNet Communications, Inc. Message-ID: <9ieom7$7hi$5@bob.news.rcn.net> References: <9hsnb2$jd7$1@bob.news.rcn.net> <9hsvq1$jd2$1@pyrite.mv.net> <9hv5kq$fft$1@bob.news.rcn.net> <994456524.940849@haldjas.folklore.ee> <9i9j5p$av7$4@bob.news.rcn.net> <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> X-Trace: UmFuZG9tSVaN4M1LYWQkNRzX28Ye6Nzkw4sCAH8ht7kDcsLn0NEt5pU6U5sDGZEd X-Complaints-To: abuse@rcn.com NNTP-Posting-Date: 10 Jul 2001 11:24:55 GMT X-Newsreader: News Xpress Version 1.0 Beta #4 Xref: archiver1.google.com comp.sys.dec:5491 comp.arch:13471 In article <994693157.444120@haldjas.folklore.ee>, Sander Vesik wrote: >In comp.arch jmfbahciv@aol.com wrote: >> In article <994669498.392616@haldjas.folklore.ee>, >> Sander Vesik wrote: >>>In comp.arch Bill Todd wrote: >>> >>>> "Sander Vesik" wrote in message >>>> news:994616870.688233@haldjas.folklore.ee... >>>>> In comp.arch jmfbahciv@aol.com wrote: >>> >>>> ... >>> >>>>> > I don't understand. Are you saying that processors don't have >>>>> > write-through cache? That was a PITA botch of our KL design. >>>>> > >>>>> >>>>> Absolutely. Most processors have write back cache, potentially many >> levels >>>>> at that. It is very unlikely to change, at least IMHO. Write-through >>>>> caching is a waste (or alternatively, a trick employed by those saving >>>> money >>>>> on 1 tag bit). >>> >>>> My guess would be that the comment refers to the additional difficulties >>>> write-back processor-private caching can introduce to surviving the >> failure >>>> of a processor. If so, it seems mostly to reflect the overall >> difference in >>>> approaches to availability - most modern systems being set up to handle >> it >>>> at node-level granularity (save for storage), with the trade-offs that >>>> implies. >>> >>>I think the answer to these is not making cache be write-through but >>>to make sure that the cache doesn't become an overly being liability, >>>which can be achieved with some intelligent writeback scheme (i'd rather >>>not call it scrubing) that would also have much lower impact on memory >>>bandwidth requirements. > >> Wait a minute...There's a difference between write-back and >> write-through. A write-back means that the cache memeory >> doesn't change if it gets touched. The write-through means >> that what gets changed in the cache is guaranteed to get >> changed in the memory _at the hardware level_ and doesn't >> require smart programs to ensure data integrity. > >Yes and no - write-back cache does not immediately write back data, But it has to write back immediately with read-modify-write instructions. Am I tripping over my ignorance about today's hardware? >in fact it doesn't/shouldn't write it back unless there is a need, but >all write-back caches still have the hardware that ensures the results do >go out of teh cache if needed (coherence). Sure. But a write-through cache ensures that anything modified in the cache is also in memory. The problems that JMF and TW had with the KL when implementing SMP is that another CPU could glom some data that haven't been updated by that other CPU yet. What they had to do is jury rig a cache serial number. The other CPUs would examine that number before glomming any data from memory. It the serial number was old, it would request a cache sweep from the laggard CPU. > >Now, in case of a writeback cache it is definately possible that most >cache lines (possibly the whole several MB of them) contain modified >data, including from several applications. That processor going away >would be really bad news, so you'd want to add some smart hardware that >minimised the amount of modified data held in cache if you wanted to >be able to replace the CPU... Yea. We called it write-through cache. Then it really doesn't matter if a CPU bites the dust before it does a cache sweep. /BAH Subtract a hundred and four for e-mail.