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-12 21:56:19 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!server1.netnews.ja.net!newsfeed.ed.ac.uk!holyrood.ed.ac.uk!pboyle From: Peter Boyle Newsgroups: comp.sys.dec,comp.arch Subject: Re: CPU failure in an SMP system (was Re: Compaq kills Alpha) Date: Fri, 13 Jul 2001 05:55:57 +0100 Organization: Edinburgh University Message-ID: 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: holyrood.ed.ac.uk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: scotsman.ed.ac.uk 995000177 7468 129.215.16.14 (13 Jul 2001 04:56:17 GMT) X-Complaints-To: usenet@scotsman.ed.ac.uk NNTP-Posting-Date: 13 Jul 2001 04:56:17 GMT In-Reply-To: <9ilud8$464$1@nnrp2.phx.gblx.net> Xref: archiver1.google.com comp.sys.dec:5710 comp.arch:13845 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." Peter > -- > Dennis O'Connor dmoc@primenet.com > Vanity Web Page http://www.primenet.com/~dmoc/ > > >