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 22:42:38 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.primenet.com!nntp.gblx.net!news.phx.gblx.net!not-for-mail From: "Dennis O'Connor" Newsgroups: comp.sys.dec,comp.arch Subject: Re: CPU failure in an SMP system (was Re: Compaq kills Alpha) Date: Thu, 12 Jul 2001 22:41:57 -0700 Organization: Global Crossing Telecommunications Inc. Message-ID: <9im1od$4e1$1@nnrp2.phx.gblx.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> <3b4c75ea$0$25358$6e365a64@newsreader02.highway.telekom.at> <9ik7r7$1s3$3@bob.news.rcn.net> <9ikjh9$11d2$1@news.rchland.ibm.com> <9ilud8$464$1@nnrp2.phx.gblx.net> NNTP-Posting-Host: radsl-dmoc.phx.primenet.com X-Complaints-To: abuse@gblx.net X-Posted-By: @208.48.202.44 (dmoc) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.sys.dec:5714 comp.arch:13850 "mulp" wrote ... > "Peter Boyle" wrote in message > news:Pine.SOL.4.33.0107130551100.3839-100000@holyrood.ed.ac.uk... > > > > > If anyone can make that a little less wordy, they probably should. > > > > Shorter, but doesn't explain the underlying h/w mechanisms: > > > > "Suppose a store operation is followed by a cache(line) invalidation. > > > > A write through cache guarantees the corresponding read returns the value > > written. A write back cache does not." > > Wrong!!! A store can only be followed by an "invalidate" if the cache is > write thru. No, that's actually not always true. If you can guarantee that you will never need the data in the write-back cache again, you can safely invalidate it without flushing it first. There are actually quite a few circumstances when you can do this, and I actually had written them out, and then I decided I might be derelict in my duty to my employer to post them. But think about it: when in a program do you know that you will never need the last results you wrote to an area of memory ? Feel free to share what you come up with. > When the cache line is dirty with a writeback cache and you > need to free the cache line, its called a "victim write" and the data is > written somewhere more persistent, which may or may not be memory. But in the processors I'm familiar with, SW can choose to explicitly invalidate a line, even if it is dirty. -- Dennis O'Connor dmoc@primenet.com Vanity Web Page http://www.primenet.com/~dmoc/