Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mccalpin@gmp246.austin.ibm.com (McCalpin)
Subject: Re: Historical Question on Alpha 21064
Date: 24 May 2001 23:06:12 GMT	[thread overview]
Message-ID: <9ek454$qac$1@ausnews.austin.ibm.com> (raw)
In-Reply-To: voh66eqcwmw.fsf@math.berkeley.edu

In article <voh66eqcwmw.fsf@math.berkeley.edu>,
David desJardins  <david@desjardins.org> wrote:
>"John D. McCalpin, Ph.D." <mccalpin@austin.ibm.com> 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."


  reply	other threads:[~2001-05-24 23:06 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-24 16:10 Historical Question on Alpha 21064 McCalpin
2001-05-24 18:40 ` David desJardins
2001-05-24 18:45 ` Eric C. Fromm
2001-05-24 20:04   ` McCalpin
2001-05-24 20:36     ` David desJardins
2001-05-24 23:06       ` McCalpin [this message]
2001-05-24 23:54         ` David desJardins
2001-05-25 23:11           ` Jay R. Ashworth
2001-05-28 14:44           ` John McCalpin
2001-05-28  5:03             ` Ben Franchuk
2001-05-29  7:00               ` jmfbahciv
2001-06-01 12:12               ` Carl Nelson
2001-05-29 16:41                 ` Ben Franchuk
2001-06-01 14:26                 ` Robert Deininger
2001-06-04 18:51                   ` Compaq
2001-06-05 16:01                     ` Maciej W. Rozycki
2001-06-05 22:59                       ` Robert Deininger
2001-05-29  8:39             ` Jan Vorbrueggen
2001-05-29  8:45           ` Jan Vorbrueggen
2001-05-29 17:36             ` David desJardins
2001-05-25  8:57     ` Anton Ertl
2001-05-26 11:25     ` Jonathan Thornburg
2001-05-26 20:29       ` Terje Mathisen
2001-05-29 20:01       ` Eric C. Fromm
2001-05-24 21:02 ` Paul DeMone
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox