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-13 08:50:54 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!195.224.53.60!xara.net!gxn.net!server6.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 16:50:52 +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> <9im1od$4e1$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 995039452 9725 129.215.16.14 (13 Jul 2001 15:50:52 GMT) X-Complaints-To: usenet@scotsman.ed.ac.uk NNTP-Posting-Date: 13 Jul 2001 15:50:52 GMT In-Reply-To: <9im1od$4e1$1@nnrp2.phx.gblx.net> Xref: archiver1.google.com comp.sys.dec:5756 comp.arch:13908 On Thu, 12 Jul 2001, Dennis O'Connor wrote: > 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 I suspect I was close with the stack use. I seem to remember you mentioning Intel at some point: where would Intel stick a huge bunch of crap on the stack and not need it again with stunning regularity. IA-64 register save/restore, since the register set is so big? It would seem to me though that invalidating isn't the optimal thing to do. You lose the cache reues. Since the value is a genuine "don't care" it would be good to be able to simply mark it unmodified (even thought it is modified) rather than invalid, then you save the writeback *and* avoid the re-read. Peter > 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/ > > > > Peter Boyle pboyle@physics.gla.ac.uk