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:10:29 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!headwall.stanford.edu!news-out.nibble.net!news-in.nibble.net!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:09:29 -0700 Organization: Global Crossing Telecommunications Inc. Message-ID: <9ilvrg$48q$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:5711 comp.arch:13846 "Peter Boyle" wrote ... > On Thu, 12 Jul 2001, Dennis O'Connor wrote: > > "Del Cecchi" wrote ... > > > My explanation of write back vrs write through: When data that is cached is > > > written, the data in main memory may or not be updated simultaneously. If it is > > > updated more or less simultaneously, that is write through (writes through the > > > cache to main memory). Write back delays the update to main memory until the > > > line is ejected from the cache. > > > > Del, after reading your explanation, it occurred to me that it > > would be better to not bring "time" into the picture. Let me > > try to rework yours to remove the temporal implications: > > > > "When an inner level of the memory hierarchy stores data into a > > write-thru cache, that store alone will cause the data to also be > > sent to the outer-next level of the memory hierarchy. > > > > "But when an inner level of the memory hierarchy stores data into > > a write-back cache, that store will not cause the data to be sent > > to the outer-next level of the memory hierarchy: in a write-back > > cache, the data that was stored will not be sent to the outer-next > > level of the memory hierarchy until some other event (such as a > > snoop, an explicit flush operation, or the operation of the cache's > > line replacement algorithm) occurs." > > > > 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." True, but this is only describing how the two differ in a situation (invalidation of a dirty cache line without flushing it) that shouldn't normally arise in a well-designed system, since it creates a RAW (read-after-write) correctness violation. Admittedly, it _implies_ an awful lot ... :-) -- Dennis O'Connor dmoc@primenet.com Vanity Web Page http://www.primenet.com/~dmoc/