From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 114669,591ad700381e277b X-Google-Attributes: gid114669,public X-Google-Thread: 102b75,591ad700381e277b X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,591ad700381e277b X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-05-24 16:31:54 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-was.dfn.de!znr.news.ans.net!news.chips.ibm.com!newsfeed.btv.ibm.com!hanover.torolab.ibm.com!tornews.torolab.ibm.com!ausnews.austin.ibm.com!not-for-mail From: mccalpin@gmp246.austin.ibm.com (McCalpin) Newsgroups: comp.arch,comp.sys.super,comp.sys.dec Subject: Re: Historical Question on Alpha 21064 Date: 24 May 2001 23:06:12 GMT Organization: IBM, Austin, Tx. Message-ID: <9ek454$qac$1@ausnews.austin.ibm.com> References: <9ejbp0$iom$1@ausnews.austin.ibm.com> <3B0D56B1.A91BE4A1@sgi.com> <9ejpfu$l02$1@ausnews.austin.ibm.com> Reply-To: mccalpin@austin.ibm.com NNTP-Posting-Host: gmp246.austin.ibm.com Xref: archiver1.google.com comp.arch:10698 comp.sys.super:1625 comp.sys.dec:4082 In article , David desJardins wrote: >"John D. McCalpin, Ph.D." writes: >> 1. They may require lots of partial writes if (as is most reasonable) >> the merge function in the memory can only write contiguous fields. >> For example, a 128 Byte store buffer that has every other byte written >> either needs the memory controller merge function to support byte >> masks (yechh!) or it needs to make 64 partial writes (double yechh!). > >As you probably know, the 21064 only does memory I/O in 8-byte words, so >this is a non-issue. Not correct. The 21064 does memory I/O in 32 Byte cache lines. Within the cache line, loads and stores operate on 8 Byte quantities, so there are still four distinct entities in the store buffer that must be kept track of and merged correctly. >> All of these approaches are exceedingly complex compared >> to the simple approach of loading the data from memory >> into the store buffer and maintaining the master copy >> of all of the bytes in the line in the store buffer. > >That may be simple, but it's disastrously slow for many applications. Write allocates are not "disastrously" slow on *any* applications. "Disastrously slow" connotes slowdowns of orders of magnitude, while write allocation is unable to provide a slowdown of more than a factor of two on even the most perverse applications. The benchmark that I won't name sits at the top of a very short list of codes where the difference in performance is large enough to be irritating.... Write allocates have minimal impact on the overwhelming majority of commercially important applications in science and engineering and actually improve performance on many algorithms. Using write allocates also makes it possible to do fast cache-to-cache interventions that help synchronization primitives and tightly coupled producer/consumer algorithms. >Fast beats simple any day. This is demonstrably incorrect. For example, Alpha processors have had performance at or near the leading edge for most of the past five years or so, and yet Compaq only has about a 22% market share in the HPC market (CY2000 results as reported by IDC). How about "working correctly beats not working correctly any day"? >Write-allocate systems just suck. I am not happy with them, but the complexity of doing anything else (that still maintains the nice performance characteristics that write allocates have on many algorithms) is daunting. Remember that a 3 month schedule slip (about enough to do one more tapeout to fix a processor bug) typically eliminates about 25% of the lifetime revenue obtained by a computer system. Part of this is the Moore's Law slip, and part is the long-term effect of launching a less competitive product (thereby acquiring less market share early in the product lifetime). With those sorts of penalties for error, risky things like separate prefetch buffers and complex store merging hardware are extremely difficult to justify. -- John D. McCalpin, Ph.D. mccalpin@austin.ibm.com Senior Technical Staff Member IBM POWER Microprocessor Development "I am willing to make mistakes as long as someone else is willing to learn from them."