* [?] A few alpha FAQs
@ 1996-12-27 5:00 KARKI JITENDRA BAHADUR
1996-12-30 5:00 ` Stephen Hoff Hoffman
1996-12-30 5:00 ` Burkhard Neidecker-Lutz
0 siblings, 2 replies; 8+ messages in thread
From: KARKI JITENDRA BAHADUR @ 1996-12-27 5:00 UTC (permalink / raw)
Some of the current DEC alpha 21164 workstations currently available seem
quite tempting, but before taking the plunge I have a few questions about
the architecture.
1) Does DEC publish an equivalent to Intel's AP-500 or AP-526 for their
21164 processor? These pamphlets are really handy for estimating the
speed of hand-optimized processor bound code sequences, and I can't seem
to get the info I need to do this from DEC's ftp site. In particular, a
table indicating which unit the various instructions go to is essential
for making such an assessment (e.g. can one execute a floating point
load or store on the same clock cycle as a floating point add and
multiply are simultaneously issued?)
2) Does anyone have any general impressions (+ or -) regarding their
newly purchased alpha clone that they would like to share?
3) Why don't alpha system vendors specify exactly which processor is in
each of their offerings? This may just be a PC thing, but with pricing
competitive with high-end PCs, one might think it would be a good idea
to emulate this aspect of PC marketing strategy.
4) Roughly when might the 21164PC be available in shipping systems, and
what new capabilities will it have?
Is there an FAQ someplace where I can find all the answers to these questions?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [?] A few alpha FAQs
1996-12-27 5:00 [?] A few alpha FAQs KARKI JITENDRA BAHADUR
@ 1996-12-30 5:00 ` Stephen Hoff Hoffman
1996-12-31 5:00 ` Tom Morris
1996-12-30 5:00 ` Burkhard Neidecker-Lutz
1 sibling, 1 reply; 8+ messages in thread
From: Stephen Hoff Hoffman @ 1996-12-30 5:00 UTC (permalink / raw)
In article <karki.851720392@spot.Colorado.EDU>, karki@spot.Colorado.EDU (KARKI JITENDRA BAHADUR) writes:
:1) Does DEC publish an equivalent to Intel's AP-500 or AP-526 for their
:21164 processor? These pamphlets are really handy for estimating the
:speed of hand-optimized processor bound code sequences, and I can't seem
:to get the info I need to do this from DEC's ftp site. In particular, a
:table indicating which unit the various instructions go to is essential
:for making such an assessment (e.g. can one execute a floating point
:load or store on the same clock cycle as a floating point add and
:multiply are simultaneously issued?)
You want the microprocessor handbooks. These are available from
Digital's semiconductor folks for various (announced) Alpha
microprocessors. (See the OpenVMS Frequently Asked Questions
monthly posting for the DECchip hotline telephone number, or see
the www.semiconductor.digital.com web site...)
Bluntly, hand-tuning the code is likely a waste of time -- the Alpha
compilers are quite good at this, at code scheduling, and at dealing
with tuning the code for future generations of processors. (Current
generation Alpha microprocessors have two integer and two floating
point units. That will change.) I would code in, say, C, and then
profile the code for the hottest routines, and _then_ see if you can
hand-tune better than the compilers' code generators. (And if you
can, Digital's compiler folks would be interested in knowing more
about the situation, too.)
:3) Why don't alpha system vendors specify exactly which processor is in
:each of their offerings? This may just be a PC thing, but with pricing
:competitive with high-end PCs, one might think it would be a good idea
:to emulate this aspect of PC marketing strategy.
"PC Marketing Strategy" makes it sound like all that "mud" blindly and
frantically thrown at the "wall" all collected in some pattern. It all
looked more like a FUD-fight to me... :-)
Folks have enough trouble keeping straight a (hyphothetical) 200 MHz
system being one-third faster than a (hyphothetical) 300 MHz system.
(This is quite normal with a quad- vs a dual-issue microprocessor.)
:4) Roughly when might the 21164PC be available in shipping systems, and
:what new capabilities will it have?
I'm not in a position to discuss unannounced systems or platforms.
Some of the available FAQ sites:
ftp://ftp.digital.com/pub/Digital/dec-faq/vms
ftp://rtfm.mit.edu/pub/usenet/news.answers/dec-faq/vms
-------------------------- pure personal opinion ---------------------------
Stephen 'Hoff' Hoffman OpenVMS Engineering hoffman@xdelta.enet.dec.com
<Headers deliberately munged to avoid automated junkmail -- the spam-bots.>
OpenVMS Frequently Asked Questions (FAQ): http://www.openvms.digital.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [?] A few alpha FAQs
1996-12-27 5:00 [?] A few alpha FAQs KARKI JITENDRA BAHADUR
1996-12-30 5:00 ` Stephen Hoff Hoffman
@ 1996-12-30 5:00 ` Burkhard Neidecker-Lutz
1996-12-31 5:00 ` Tom Morris
1 sibling, 1 reply; 8+ messages in thread
From: Burkhard Neidecker-Lutz @ 1996-12-30 5:00 UTC (permalink / raw)
In article <karki.851720392@spot.Colorado.EDU> karki@spot.Colorado.EDU (KARKI JITENDRA BAHADUR) writes:
>1) Does DEC publish an equivalent to Intel's AP-500 or AP-526 for their
>21164 processor?
If you want to know the scheduling and slotting rules, have a look at
http://ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library/164-hrm.pdf
and look at chapter 2.3.
Burkhard Neidecker-Lutz
CEC Karlsruhe , European Applied Research Center, Digital Equip. Corp.
email: neideck@kar.dec.com
433Mhz 21164, 64 MB RAM, 2.1 GB SCSI, SPEC95 12.6e/12.0e, Linux preinstalled
Just $4630,, See http://www.swt.com/alpha_linux.html for details
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [?] A few alpha FAQs
1996-12-30 5:00 ` Stephen Hoff Hoffman
@ 1996-12-31 5:00 ` Tom Morris
1997-01-01 5:00 ` KARKI JITENDRA BAHADUR
1997-01-02 5:00 ` H.W. Stockman
0 siblings, 2 replies; 8+ messages in thread
From: Tom Morris @ 1996-12-31 5:00 UTC (permalink / raw)
Stephen Hoff Hoffman wrote:
> Bluntly, hand-tuning the code is likely a waste of time -- the Alpha
> compilers are quite good at this, at code scheduling, and at dealing
> with tuning the code for future generations of processors. (Current
> generation Alpha microprocessors have two integer and two floating
> point units. That will change.) I would code in, say, C, and then
> profile the code for the hottest routines, and _then_ see if you can
> hand-tune better than the compilers' code generators.
It's generally true that people who think hand coded assembler is the
panacea for the world's performance problems are wrong, but in selected
cases it can be a big help.
The strategy of profiling to find hot spots as outlined above is a good
starting point. If the profile is fairly 'flat', then assembly language
isn't likely to help. On the other hand, if you've got an inner loop
that's just a few lines long taking up 40% of your time AND the compiler
is not generating optimal code, then it might be worth looking at hand
coding things.
Having said that, hand coding things tends to make maintenance more
difficult (fewer people understand it) and the time spent doing it
could often get bigger performance gains by dealing with system level
tuning or algorithmic changes. Most importantly, it's not really very
much fun!
---------------------------------------------------------------------------
Tom Morris Digital Equipment
Corporation
morris@zko.dec.com 110 Spit Brook Road
ZKO1-1/E37
+1 603 881 0894 Nashua, NH, 03062 USA
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [?] A few alpha FAQs
1996-12-30 5:00 ` Burkhard Neidecker-Lutz
@ 1996-12-31 5:00 ` Tom Morris
0 siblings, 0 replies; 8+ messages in thread
From: Tom Morris @ 1996-12-31 5:00 UTC (permalink / raw)
Burkhard Neidecker-Lutz wrote:
> If you want to know the scheduling and slotting rules, have a look at
>
> http://ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library/164-hrm.pdf
>
> and look at chapter 2.3.
It looks like they've rearranged things on the site and the manual is
now
at:
http://ftp.digital.com/pub/Digital/info/semiconductor/literature/164hrm.pdf
More generally, you can start at the Digital Semiconductor home page at
http://www.digital.com/info/semiconductor/
and work your way down from there. There's also information on ordering
printed versions of the manuals.
In article <karki.851720392@spot.Colorado.EDU> karki@spot.Colorado.EDU
(KARKI JITENDRA BAHADUR) asks:
>4) Roughly when might the 21164PC be available in shipping systems, and
>what new capabilities will it have?
The main differences between the current chips and the 21164PC are that
the new chip has the Motion Video Instructions, a new memory interface,
and no L2 cache. The architect's presentation to Microprocessor Forum
on the new instructions can be found at
http://www.digital.com/info/semiconductor/mvi/index.html
I think chip availability has been quoted as first half of 1997.
Systems
would be shortly after that. That's obviously not a very precise
estimate
given how close it's getting, but that's the only date I've seen quoted
publically.
---------------------------------------------------------------------------
Tom Morris Digital Equipment
Corporation
morris@zko.dec.com 110 Spit Brook Road
ZKO1-1/E37
+1 603 881 0894 Nashua, NH, 03062 USA
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [?] A few alpha FAQs
1996-12-31 5:00 ` Tom Morris
@ 1997-01-01 5:00 ` KARKI JITENDRA BAHADUR
1997-01-02 5:00 ` H.W. Stockman
1 sibling, 0 replies; 8+ messages in thread
From: KARKI JITENDRA BAHADUR @ 1997-01-01 5:00 UTC (permalink / raw)
Tom Morris <morris@zko.dec.com> writes:
>Stephen Hoff Hoffman wrote:
>> Bluntly, hand-tuning the code is likely a waste of time -- the Alpha
>> compilers are quite good at this, at code scheduling, and at dealing
>> with tuning the code for future generations of processors. (Current
>> generation Alpha microprocessors have two integer and two floating
>> point units. That will change.) I would code in, say, C, and then
>> profile the code for the hottest routines, and _then_ see if you can
>> hand-tune better than the compilers' code generators.
>It's generally true that people who think hand coded assembler is the
>panacea for the world's performance problems are wrong, but in selected
>cases it can be a big help.
>The strategy of profiling to find hot spots as outlined above is a good
>starting point. If the profile is fairly 'flat', then assembly language
>isn't likely to help. On the other hand, if you've got an inner loop
>that's just a few lines long taking up 40% of your time AND the compiler
>is not generating optimal code, then it might be worth looking at hand
>coding things.
>Having said that, hand coding things tends to make maintenance more
>difficult (fewer people understand it) and the time spent doing it
>could often get bigger performance gains by dealing with system level
>tuning or algorithmic changes. Most importantly, it's not really very
>much fun!
The above comments seem to indicate that my original query might have
been taken a little out of context. I was just trying to get enough
info to enable me to construct a semi-accurate software model for the
21164. The file referred to by Neidecker-Lutz (as corrected in your
companion post) proved to be exactly the thing I needed. It seems
that with ordinary assembly code, the part should be about as fast for
my pet program, clock for clock, as a PentiumPro, and only slighty
faster with extraordinary code. The biggest stumbling blocks for this project
were the limited scope the of FM pipe and the way the processor steps
on its toes when it writes to memory (or L1 cache).
It remains to be seen whether DEC's F90 compiler will generate code of
this quality; LF90 had a hard time with this program, generating code
that was 5X slower than the assembly version, and Watcom C/C++ was 3X
slower. Maybe I'll be pleasantly surprised, though.
That's not to say that I wouldn't try to improve even quite good
compiler generated code with assembly language, though. I'm a hobbyist
and not a professional programmer and I just happen to prefer that kind
of thing to building ships in bottles. Thanks for all the help, guys!
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [?] A few alpha FAQs
1996-12-31 5:00 ` Tom Morris
1997-01-01 5:00 ` KARKI JITENDRA BAHADUR
@ 1997-01-02 5:00 ` H.W. Stockman
1997-01-03 5:00 ` Stephen Hoff Hoffman
1 sibling, 1 reply; 8+ messages in thread
From: H.W. Stockman @ 1997-01-02 5:00 UTC (permalink / raw)
Tom Morris wrote:
>
> Stephen Hoff Hoffman wrote:
> > Bluntly, hand-tuning the code is likely a waste of time -- the Alpha
> > compilers are quite good at this, at code scheduling, and at dealing
[...]
> It's generally true that people who think hand coded assembler is the
> panacea for the world's performance problems are wrong, but in selected
> cases it can be a big help.
An interesting example I saw recently was
the optimization of the memory writes. Since
many modern processors have gone to write-
allocate, some classic benchmarks (e.g. nsieve--
and in my case, real codes!) take a big hit when the
C compiler does the optimization. The "hand-tuning"
turns out to be just a few asm statements.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [?] A few alpha FAQs
1997-01-02 5:00 ` H.W. Stockman
@ 1997-01-03 5:00 ` Stephen Hoff Hoffman
0 siblings, 0 replies; 8+ messages in thread
From: Stephen Hoff Hoffman @ 1997-01-03 5:00 UTC (permalink / raw)
In article <32CC6D8F.7002@swcp.com>, "H.W. Stockman" <hwstock@swcp.com> writes:
:> > Bluntly, hand-tuning the code is likely a waste of time -- the Alpha
:> > compilers are quite good at this, at code scheduling, and at dealing
..The "hand-tuning" turns out to be just a few asm statements.
The quote from my posting was truncated, and can be misconstrued
in this context. The next couple of sentences -- effectively, once
the code has been compiled and optimized and profiled, *then* look
and see of hand-optimization is of interest -- are rather important
to the point I was making.
:An interesting example I saw recently was
:the optimization of the memory writes. Since
:many modern processors have gone to write-
:allocate, some classic benchmarks (e.g. nsieve--
:and in my case, real codes!) take a big hit when the
:C compiler does the optimization. The "hand-tuning"
:turns out to be just a few asm statements.
Further, as I explicity indicated in my original posting -- also cut
from the quoted text -- if you have any specific code that is not
optimized particularly gracefully, please provide an example of the
code, and information on the operating system and compiler version.
We (Digital) will look at improving the compiler optimization(s).
-------------------------- pure personal opinion ---------------------------
Stephen 'Hoff' Hoffman OpenVMS Engineering hoffman@xdelta.enet.dec.com
<Headers deliberately munged to avoid automated junkmail -- the spam-bots.>
OpenVMS Frequently Asked Questions (FAQ): http://www.openvms.digital.com
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1997-01-03 5:00 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-12-27 5:00 [?] A few alpha FAQs KARKI JITENDRA BAHADUR
1996-12-30 5:00 ` Stephen Hoff Hoffman
1996-12-31 5:00 ` Tom Morris
1997-01-01 5:00 ` KARKI JITENDRA BAHADUR
1997-01-02 5:00 ` H.W. Stockman
1997-01-03 5:00 ` Stephen Hoff Hoffman
1996-12-30 5:00 ` Burkhard Neidecker-Lutz
1996-12-31 5:00 ` Tom Morris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox