* Re: How much faster can I get
1995-01-20 13:38 How much faster can I get Jim Nance
@ 1995-01-21 13:57 ` John L. Henning
1995-01-23 17:02 ` Peter Sherwood
1 sibling, 0 replies; 3+ messages in thread
From: John L. Henning @ 1995-01-21 13:57 UTC (permalink / raw)
In article <3foecg$rac@firewall.isscad.com>, jlnance@isscad.com (Jim Nance)
writes...
>1) My DEC cataloge was published at the beginning of 1994. At that time there
> were no Model3000 machines which would hold more than 512M of memory. Is
> this still the case?
The DEC 3000 Model 900 was announced last summer, and can hold up to 1GB.
> I suspect that my cash miss rate is quite high. Even thought the programs
> size is 7X larger than available physical memory, certain sections of the
> program run at 80-99% CPU usage. Does anyone have any how much of a speed
> improvement I am likely to see in these sections due to the better caching
> on the Model4000 Machines.
Ah, the good old performance question: Where's the bottleneck, and what to
do about it? You haven't given enough information to form any strong
guesses, but have raised several different topics, so let's do a quick
review of options from the CPU outward:
- If the bottleneck is the CPU, then the Model 900 would be a good
bit faster than your Model 600 (275 Mhz vs. 175 Mhz). The Model
700 may also be of interest (225 Mhz), and an upgrade can be done
in-cabinet from your Model 600.
- There is an on-chip cache of 16KB (8 instruction + 8 data) in your
DEC 3000 Model 600. I am not aware of any improvement to that
available in the DEC 4000 series. But the DEC 3000 Model 700 and
900 both provide improvement over the Model 600 because they use
the 21064A chip with 32KB (16+16) of on-chip cache. So if your
bottleneck is the on-chip cache, they could help.
- If your bottleneck is due to waiting on cache misses from the
secondary cache (on the board, not on the chip), then indeed
there is a DEC 4000 that would provide you with improvement:
the DEC 4000 Model 710, with 4MB of on-board cache (versus your
DEC 3000 Model 600 with 2MB). But you should note that the
DEC 4000 Model 710 is a server, not a workstation, and runs
at 190Mhz (a relatively modest boost from your DEC 3000 Model 600
at 175). If you're willing to go the server route, you might
do better to check out the AlphaServer 2100 4/275, which has
4MB of secondary cache, 32KB of on-chip cache (it uses the
21064A) and runs at 275 Mhz.
- As to main memory -- if you are specifically concerned about the
sections of your program that are running at 99% CPU usage, these
are apparently not waiting on disk I/O to resolve paging. So those
sections won't be helped by using a machine with more physical memory.
But if a substantial part of your time IS spent waiting on page
faults, then you could go for the DEC 3000 Model 900 with 1GB, or
the AlphaServer 2100 4/275, with up to 2GB.
So have I give you enough options to confuse you? Let me summarize:
- For an in-cabinet boost to Mhz: the DEC 3000 Model 700
- For the fastest workstation and up to 1GB: the DEC 3000 Model 900
- For the biggest secondary cache & up to 2GB: AlphaServer 2100 4/275
Finally, if you want to gather some EVIDENCE as to whether you have a
problem with cache misses, check out the Atom memsys tool. Atom is an
Advanced Developer's Kit that provides low-level instrumentation at a
highly detailed level. To use it, first make sure you have a good
understanding of the basics of RISC and how to make good use of memory,
for example by reading Kevin Dowd's High Performance Computing from
O'Reilly and Associates. Then install Atom from the DEC OSF/1 C
Developers' Extensions kit or the DEC OSF/1 Developers' Toolkit, and check
out /usr/doc/atom. Next send Email to wrl-techreports@decwrl.dec.com
with the subject line "help". Then follow the instructions to get report
94/2. At this point you'll have a pretty good idea of what Atom can do,
and how it does it. Lastly, go pick up the (unsupported but useful) Atom
tool "memsys" from gatekeeper.dec.com in /pub/DEC/atomtools.
/John Henning
CSG Performance Group
Digital
henning@i4get.enet.dec.com
^ permalink raw reply [flat|nested] 3+ messages in thread