Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: John McCalpin <jmccalpin@austin.rr.com>
Subject: Re: Historical Question on Alpha 21064
Date: Mon, 28 May 2001 14:44:05 GMT	[thread overview]
Message-ID: <3B12640D.C4DC8EE9@austin.rr.com> (raw)
In-Reply-To: vohu22ab8wk.fsf@math.berkeley.edu

David desJardins wrote:
> 
> "John D. McCalpin, Ph.D." <mccalpin@austin.ibm.com> writes:
> > 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,
> 
> This is exactly the same as my supposedly "not correct" statement.  As I
> said, your putative example can't occur, because it's not possible for
> some bytes in a word to be modified and not others.

My example was a more generic one concerning one implementation
difficulty of using store buffers with a non-allocating cache.
On the 21064, there are only 4 doublewords per cache line, so
it is not possible to have more than two fragments in a buffer.
In more common ISAs, significantly more complex cases can occur.



> > "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.
> 
> That turns out not to be the case; in fact, write-allocate can cost more
> than a factor of two.  A write-allocate version of the 21064, which
> would have to use two bus cycles to read each cache line and then two
> more bus cycles to write the cache line, could easily be more than twice
> as slow as the actual 21064, which can actually write a partial cache
> line in only one bus cycle.  

OK, so in a particularly contrived example you think that the write 
allocate can cost a factor of four, or perhaps five if the bus loses
an additional cycle on the turnaround.  I do have to wonder what sort
of application only writes data and never reads anything from memory....

Hmmm, maybe you are not talking about a real application?



> But a factor of two is bad enough for me.  You can concentrate on
> creating bigger disasters, if you choose.

I would be happy to create bigger disasters.  Do you have any 
suggestions?


  parent reply	other threads:[~2001-05-28 14:44 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
2001-05-24 23:54         ` David desJardins
2001-05-25 23:11           ` Jay R. Ashworth
2001-05-28 14:44           ` John McCalpin [this message]
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