Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: pmontgom@cwi.nl (Peter L. Montgomery)
Subject: Re: Cache - Where are performance increases realized with increased cache (for scienfic/engineering software)?
Date: 1998/03/12	[thread overview]
Message-ID: <EppAE5.4sG@cwi.nl> (raw)
In-Reply-To: pspopeXSPM-1203980108170001@coconut028066.nuts.nwu.edu


(Follow-ups to comp.sys.dec, since original poster asked about Alpha)

In article <pspopeXSPM-1203980108170001@coconut028066.nuts.nwu.edu>
pspopeXSPM@shopchicago.com (Scott Pope) writes:

>Where exactly are performance increases realized with a larger cache.  The
>new Alpha NT machines are being advertised with a 4 meg Level III cache.
>Is the integer and floating calculation going to be higher?  Is there any
>particular routines (e.g. OpenGL) that benefit a great deal from increased
>cache.

>What exactly is the difference between Level II and Level III cache?

	The lower the cache level number, the faster you can access it,
but the lower levels are smaller (i.e., hold less data).
As an analogy, suppose you are a university faculty member
with an open book in your hand.


Data location                        Information location

Register         (fastest)           Current page of your book
Cache level I                        Same book, but different page
Cache level II                       Another book in your office
Physical memory                      University library, not checked out
Virtual library  (slowest)           University library, checked out


	It is easiest to look up a formula or other data
if you don't have to go far.   Cache level I tends to have recently
access data such as earlier pages in the book you're reading or scanning.
Cache level II is typically much larger, but slower to access.
It might comprise an entire bookcase in your office.
Cache level III, when present, is the next hierarchy,
perhaps a small departmental library a few offices away.
Physical memory is even slower, like walking across campus
to a university library.  If you reach the university library
and find the book is checked out or otherwise unavailable,
you must wait even longer, just as when waiting for
memory to be swapped in from disk.

	On a multiprocessor, you may need to request data from another
processor.  The analogy is having your university library
request an inter-library loan from another library.
-- 
        Peter-Lawrence.Montgomery@cwi.nl    San Rafael, California

Q: Why will historians view El Nino as a dignitary?
A (backwards): .gnikaerb sdnuorg yreve ta tneserp neeb sah ti esuaceB



  parent reply	other threads:[~1998-03-12  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-03-12  5:00 Cache - Where are performance increases realized with increased cache (for scienfic/engineering software)? Scott Pope
1998-03-12  5:00 ` Didier Donner
1998-03-12  5:00 ` Peter L. Montgomery [this message]
1998-03-17  5:00 ` Jim Williams
1998-03-17  5:00   ` Ketil Z Malde
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