* Re: Cache - Where are performance increases realized with increased cache (for scienfic/engineering software)?
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 ` Peter L. Montgomery
1998-03-12 5:00 ` Didier Donner
1998-03-17 5:00 ` Jim Williams
2 siblings, 0 replies; 5+ messages in thread
From: Peter L. Montgomery @ 1998-03-12 5:00 UTC (permalink / raw)
(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
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Cache - Where are performance increases realized with increased cache (for scienfic/engineering software)?
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 ` Peter L. Montgomery
@ 1998-03-12 5:00 ` Didier Donner
1998-03-17 5:00 ` Jim Williams
2 siblings, 0 replies; 5+ messages in thread
From: Didier Donner @ 1998-03-12 5:00 UTC (permalink / raw)
Scott Pope wrote in message ...
>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.
It is very difficult to give a precise percentage of the performance
increase of a chip with
a variable amount of cache: performance is linked to the OS, the
application, the way the application
was compiled and the compiler which the application was created with.
>Is the integer and floating calculation going to be higher?
As a general rule, overall performance is higher with a larger cache.
You can check out http://www.specbench.org where you can find SpecInt and
SpecFp.
if you look at the details of the test, you may find different results
depending on the cache size of the
CPU.
> Is there any
>particular routines (e.g. OpenGL) that benefit a great deal from increased
>cache.
Every routines which needs fast access to memory will benefit from a larger
cache as the data
will be in the cache and not in the much slower main memory.
As far as Alpha are concerned, CPU caches tend to be large in order to feed
the CPU fast enough
due to the blazzing speed of Alphas compared to the rest of the system.
For OpenGL, the performance gain with a larger cache will not be as good as
basic number crunching.
OpenGL performance is much more dependant on the graphic subsystem of the
computer and of the
implementation of OpenGL by the OS.
If you want good OpenGL performance, you would be better with an accelerated
OpenGL video adapter.
For example, I have tested an OpenGL on two x86 NT workstation.
* A Pentium Pro 200 Mhz with 256 kb L2 cache with an accelerated OpenGL
board.
* A Pentium II 266 Mhz with 512 Kb L2 cache with a non-accelerated OpenGL
board.
The second system may be faster for CPU performance, the first one
outperforms by a large margin
the second one for OpenGL stuff.
>What exactly is the difference between Level II and Level III cache?
On Alphas, Level II is integrated on the chip and has a fixed size whereas
Level III is on the motherboard.
As L2 is integrated on the chip, it is much faster than L3.
>Scott
>
>btw, one example of the above listed machine is at Microway
www.microway.com
>
>--
>Scott Pope
>Pro/Engineer Consultant
>pspopexspm@shopchicago.com
>http://165.124.30.12
>(remove xspm for email)
Regards,
Didier Donner
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cache - Where are performance increases realized with increased cache (for scienfic/engineering software)?
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 ` Peter L. Montgomery
1998-03-12 5:00 ` Didier Donner
@ 1998-03-17 5:00 ` Jim Williams
1998-03-17 5:00 ` Ketil Z Malde
2 siblings, 1 reply; 5+ messages in thread
From: Jim Williams @ 1998-03-17 5:00 UTC (permalink / raw)
I believe that the difference is where the actual memory is located on the
AXP chip or in close proximity to it with fast access times. The Floating
point calculations are what are going to buy you speed with FEA. also the
Disk access times help somewhat. REading in large files and then swapping
them out when you run out of RAM .
here are the features for Scientific calculations you want to look for.
High Floating point speed, you can check this with the SPECBENCH web page.
Lotta RAM, as much as you can afford.
Fast disk, stripped RAID 0+1 or something.
FAST network interface FDDI or Full Duplex 100BaseT
What your looking for is the quickest way to get the data from disk or
network to RAM for the CPU to chew on it. Operating system plays very
little in the equation but UNIX has a better Swapper and can handle
Symetrical Multi-Processing better than NT. So if your looking at a big
server with 2 or more CPU's look very hard at UNIX vs NT.
Look at the specbench page for spec mark information and then at the TPC
counsel page for over all system performance.
There are a hundred stories out there and it all depends on your specific
business needs as to which one you need to listen to.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Cache - Where are performance increases realized with increased cache (for scienfic/engineering software)?
1998-03-17 5:00 ` Jim Williams
@ 1998-03-17 5:00 ` Ketil Z Malde
0 siblings, 0 replies; 5+ messages in thread
From: Ketil Z Malde @ 1998-03-17 5:00 UTC (permalink / raw)
"Jim Williams" <jpwilliams@(No Spam)mindspring.com> writes:
> What your looking for is the quickest way to get the data from disk or
> network to RAM for the CPU to chew on it. Operating system plays very
> little in the equation but UNIX has a better Swapper and can handle
> Symetrical Multi-Processing better than NT.
It depends. Look at your budget, and see how much more hardware you can
get for the price of the OS. E.g. Digital Domain ran with Linux rather
than Digital Unix, partly because it was cheaper, and did roughly the
same thing for them.
~kzm
--
If I haven't seen further, it is by standing in the footprints of giants
^ permalink raw reply [flat|nested] 5+ messages in thread