AlphaNT: Windows NT on Alpha (1995-2000)
 help / color / mirror / Atom feed
* Alpha NT Performance woes
@ 1995-11-18 18:13 gita lal
  1995-11-20  8:30 ` Aaron Sakovich
  0 siblings, 1 reply; 4+ messages in thread
From: gita lal @ 1995-11-18 18:13 UTC (permalink / raw)


Need help on boosting perfomance.
The machine is an Alpha XL 266 21064.            
64 Meg Ram.  I believe they cam out with this configuration
1-2 months ago.
 
Well I just got it, with NT preinstalled.
Installed msvc20 and started compiling (the main reason I got an alpha).

Just to see hte speed diffrence I started the exact same compile (about 30 files)
on my Pentium 90.  Exact same flags etc.  The performance was exactly the same.
The alpha finished 4-5 seconds ahead of the pentium out of a total of about 10 minutes.

Needless to say I was extremely dissapointed.  I looked at the performance monitor and
disk perf.  It was 100% processor time, hardly any disk access.  Probably due to msvc's
precompiled headers etc.

Is there anything I could have configured wrong.
Also the resulting executable runs about 10% faster in a totally compute bound operation.

HELP.  If this is the perfromance increase I will have a hard time justifying spennig $11K
which includes an extra 4G and 21inch monitor.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Alpha NT Performance woes
  1995-11-18 18:13 gita lal
@ 1995-11-20  8:30 ` Aaron Sakovich
  0 siblings, 0 replies; 4+ messages in thread
From: Aaron Sakovich @ 1995-11-20  8:30 UTC (permalink / raw)


> Installed msvc20 and started compiling (the main reason I got an alpha).
> 
> Just to see hte speed diffrence I started the exact same compile (about 30 files)
> on my Pentium 90.  Exact same flags etc.  The performance was exactly the same.
> The alpha finished 4-5 seconds ahead of the pentium out of a total of about 10 minutes.

The Alpha finished *faster* than the Pentium?  Wow, I'm surprised!!!  I've
seen others reporting that compile times were up to 8x that of an Intel box.

This is to be totally expected behavior -- if anyone sold you a RISC processor
claiming that compile times were faster, you were done a great dis-service.
Compilers on RISC machines are incredibly more complex than those on CISC
processors (like a Pentium).  The RISC environment requires much more care
in ordering and optimizing instruction execution for branch prediction, 
minimizing pipeline flushes, etc.  Remember, as I and others have said before 
here and other places, RISC stands for Relegate Important Stuff to the Compiler.

> Also the resulting executable runs about 10% faster in a totally compute bound operation.

Try other optimization settings.  Unlike CISC processors, you cannot assume
that a specific optimization style will result in better performance.  With
a RISC machine, they are just different styles, and different code will have
different results independent of the "O#".  As a general rule, your machine
should smoke the P90 by at least a factor of 2 for integer work, more for
fp intensive stuff.

YMMV...

Aaron

--
Aaron Sakovich ---------------------------------------- aaron@garply.com
Net Results, Inc. -----------------------------------   Alpha NT Archive
Over 21,000 served!  http://www.garply.com/tech/comp/sw/pc/nt/alpha.html
------------------------------------------------------------------------
Consulting              Service Delivery            Information Services
------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Alpha NT Performance woes
@ 1995-11-20  9:05 Kiyoshi Yoda
  0 siblings, 0 replies; 4+ messages in thread
From: Kiyoshi Yoda @ 1995-11-20  9:05 UTC (permalink / raw)


>Try other optimization settings.  

Regarding FORTRAN, DEC FORTRAN for NT has a nice default optimizing option.
My machine 21066 ( 233MHz)  runs a few times faster than FORTRAN on Pentium
90MHz,
according to my colleague who executed his fp-intensive FORTRAN code on
both machines.

SUN FORTRAN on Sparc10 was about 2 times slower than DEC FORTRAN on 21066
when the SUN's optimizing option was -o4 , while 8 times slower when no
optimizing option was 
explicitly set on SUN, according to my sample test. I think these figures
vary depending on
test codes.

Note that 21066 is the lowest performance Alpha (about 2 times slower than
21064 )!!

Regards,

--
Kiyoshi Yoda       yoda@ele.crl.melco.co.jp
Mitsubishi Electric Corp., Advanced Technology R&D Center
8-1-1 Tsukaguchi Hommachi, Amagasaki 661 Japan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Alpha NT Performance woes
@ 1995-11-20 16:46 gita lal
  0 siblings, 0 replies; 4+ messages in thread
From: gita lal @ 1995-11-20 16:46 UTC (permalink / raw)


Doing more investigating on the perfromance on compiles noticed that
the number of pagefaults per second were going upto 3000.
Whereas on the pentium they were no more than 1500 which is also high.

Also I don't think it is using the 64Meg of Ram I have installed.

Thanks for all the replies I have got.  The summary being that

1. Risc compiler need to do a lot more work.
2. Compiling is mainly i/o bound.
3. I have got the very low end chip.

I still haven't given up hope though.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1995-11-20 16:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-11-20 16:46 Alpha NT Performance woes gita lal
  -- strict thread matches above, loose matches on Subject: below --
1995-11-20  9:05 Kiyoshi Yoda
1995-11-18 18:13 gita lal
1995-11-20  8:30 ` Aaron Sakovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox