From: mogul@pa.dec.com (Jeffrey Mogul)
Subject: Re: 100MHz Indigo just as fast as HP/ALPHA?
Date: 21 May 1993 01:28:57 GMT [thread overview]
Message-ID: <1thb8p$ruj@usenet.pa.dec.com> (raw)
In-Reply-To: C7C14E.ACo@ra.nrl.navy.mil
In article <C7C14E.ACo@ra.nrl.navy.mil> buck@ra.nrl.navy.mil (Loren Buchanan) writes:
>You also need to be aware of implementation details. One gotcha in the
>Alpha architecture that I just found out, is that it is very poor at doing
>context switches (there was a letter to editor in a recent issue of ACM
>Communications that talked about this).
If you are referring to the letter on page 15 of the May 1993 issue ...
it's totally misinformed. The author writes
"Every instance of specialized functions such as a context switch are
handled in PAL code residing in main memory which operates orders of
magnitude slower than the hundreds of MHz that Alpha's CPU runs.
Performance of process intensive applications will then run closer to
memory speeds than process speeds."
I assume that he meant "processor speeds" in that last sentence. Anyway,
this is quite confused. PAL code is no different from any other Alpha
instructions, except that it runs with slightly different rules (interrupts
turned off, no "I-stream memory management traps", and implementation-
specific hardware functions are enabled).
In particular, PAL instructions can be cached just like all other Alpha
instructions. So, if they are executed frequently, they will run at
cache-hit speeds, not cache-miss speeds. (And if they aren't executed
frequently, then a few cache misses don't really matter.)
Any machine (Alpha, Sparc, PA-RISC, RIOS, MIPS, Pentium, etc.) that relies
on caching to get good performance will do poorly on "process-intensive"
applications if the effective working set is larger than will fit into
the caches. This has nothing to do with PAL code. I don't know how
the Alpha architecture or implementions (two different things, remember)
compare with other vendors' efforts on context-switch times, but I
really doubt it is "very poor." You could measure it with a benchmark,
except that you'd probably be measuring the operating system instead
of the hardware.
The letter makes some other debatable assertions. Don't believe
everything you read (especially in CACM!)
-Jeff
next prev parent reply other threads:[~1993-05-21 1:28 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-05-19 15:01 100MHz Indigo just as fast as HP/ALPHA? Glen Reesor
1993-05-19 20:38 ` R. Lamberts
1993-05-19 21:02 ` R. Lamberts
1993-05-20 0:35 ` Marcus J Ranum
1993-05-20 15:45 ` Loren Buchanan
1993-05-21 1:28 ` Jeffrey Mogul [this message]
1993-05-21 13:34 ` Loren Buchanan
1993-05-21 16:08 ` Marc Evans
1993-05-21 9:43 ` Burkhard Neidecker-Lutz
1993-05-21 19:16 ` R. Lamberts
1993-05-22 8:02 ` Bill Broadley
1993-05-23 16:22 ` Justin Sullivan
1993-05-25 23:49 ` please help Deborah Berman
1993-05-20 13:16 ` 100MHz Indigo just as fast as HP/ALPHA? Hal Berenson
1993-05-20 15:39 ` Stan Jensen
1993-05-21 18:22 ` Walter Underwood
1993-05-25 19:47 ` Jos van Eijndhoven
1993-05-25 3:03 ` BENCHMARK/RESULTS " R. Lamberts
1993-05-25 7:46 ` Dave Olson
1993-05-26 5:44 ` Hans Mayer
1993-05-25 10:29 ` Burkhard Neidecker-Lutz
1993-05-26 7:03 ` Eero Pajarre
1993-05-26 21:23 ` Doug Siebert
1993-05-27 0:37 ` R. Lamberts
1993-05-27 11:19 ` Burkhard Neidecker-Lutz
1993-05-27 14:33 ` R. Lamberts
1993-05-27 16:03 ` DEC C Compilers (Was: BENCHMARK/RESULTS Re: 100MHz Indigo just as fast as HP/ALPHA?) Fred Velijanian
1993-05-28 8:39 ` Stephen Carpenter
1993-05-28 9:46 ` Burkhard Neidecker-Lutz
1993-05-29 22:30 ` Michael Meissner
1993-05-29 12:42 ` BENCHMARK/RESULTS Re: 100MHz Indigo just as fast as HP/ALPHA? Hugo Eide Gunnarsen
1993-05-26 8:40 ` Burkhard Neidecker-Lutz
1993-05-27 12:10 ` John F Carr
1993-05-25 13:49 ` Simon Leinen
1993-05-25 17:37 ` Paul Tobin
1993-05-31 23:25 ` Hugo Eide Gunnarsen
1993-05-25 18:35 ` Archer (Bad Cop) Surly
1993-05-25 21:55 ` Daniel S. Riley
1993-05-25 22:34 ` Bill Broadley
1993-05-26 9:01 ` Hugo Eide Gunnarsen
1993-05-26 16:02 ` Casper H.S. Dik
1993-05-26 18:18 ` Steeve McCauley
1993-05-25 15:29 ` Martin Preston
1993-05-20 14:28 ` M Darrin Chaney
1993-05-20 14:41 ` Marcus J Ranum
1993-05-24 14:51 ` Sybertz Marc
1993-05-24 15:38 ` Marcus J Ranum
1993-05-25 13:43 ` Sybertz Marc
1993-05-26 5:45 ` Thor Lancelot Simon
1993-05-25 19:02 ` Jolly C. Pancakes
1993-05-25 19:10 ` Paul Repacholi
1993-05-20 15:12 ` Tony Burzio
1993-05-20 20:26 ` Scott Ferguson
-- strict thread matches above, loose matches on Subject: below --
1993-05-14 16:36 Installing RS/1 on Pro 380 with P/OS 3.2 Tom F Karlsson
1993-05-20 18:43 ` 100MHz Indigo just as fast as HP/ALPHA? Dave Bernard
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