Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Running Digital UNIX code from Linux?
@ 1998-04-29  4:00 Raymond Fellers
  1998-04-29  4:00 ` Peter Mardahl
  0 siblings, 1 reply; 2+ messages in thread
From: Raymond Fellers @ 1998-04-29  4:00 UTC (permalink / raw)



I have a fast Linux Alpha box and a very slow Digital Alpha box. I'm doing
alot of number crunching with Fortran so I've been compiling my code on the
DU box with the libs statically linked then running the code on the Linux
box. What I don't know is will Linux run DU executables as fast as running
from DU, i.e. does Linux incur any additional overhead or are execution times
identical?
-- 
Raymond Fellers
Dept. of Chemistry
University of California
rsf@cs.berkeley.edu



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

* Re: Running Digital UNIX code from Linux?
  1998-04-29  4:00 Running Digital UNIX code from Linux? Raymond Fellers
@ 1998-04-29  4:00 ` Peter Mardahl
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Mardahl @ 1998-04-29  4:00 UTC (permalink / raw)



In article <6i6eq1$c85$1@agate.berkeley.edu>,
Raymond Fellers <rsf@lotus.Berkeley.EDU> wrote:
>I have a fast Linux Alpha box and a very slow Digital Alpha box. I'm doing
>alot of number crunching with Fortran so I've been compiling my code on the
>DU box with the libs statically linked then running the code on the Linux
>box. What I don't know is will Linux run DU executables as fast as running
>from DU, i.e. does Linux incur any additional overhead or are execution times
>identical?

>Raymond Fellers


I do this too, except with C++ binaries.  The statically-linked 
binary seems to run just as fast on the Linux/Alpha box as it 
should.

I've actually performed timings, comparing a 
600MHz PWSAU running digital UNIX and the same binary running on a
500MHz 21164 Linux machine.  

Both had the same amount of cache, but the 500MHz machine had 
the older memory interface:  it uses parity 60ns DRAM, not SDRAM.

The binary ran the same task with these times:
249 seconds on the 600MHz Digital UNIX machine
310 seconds on the 500MHz Linux machine

Timing Ratio:  1.24
Clock speed ratio: 1.2
SPECfp95 ratio: 1.24    (mine is a floating-point intensive code)

So yes, it does seem likely to me that you're getting full
performance on your Linux/Alpha machine.  

Comments:  you might want to use compilation flags to
target optimization for your Linux/Alpha CPU:
I used optimization flags like this with DEC CXX:
cxx -arch ev56 -O3 -tune ev5

Second, if yours is a type of program which makes lots of
OS calls (such as file access, memory allocation, swapping, etc.)
then your performance may differ greatly:  my program
spends very, very little time doing file access or memory
allocation compared to CPU/memory use.

Regards,

PeterM




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

end of thread, other threads:[~1998-04-29  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-29  4:00 Running Digital UNIX code from Linux? Raymond Fellers
1998-04-29  4:00 ` Peter Mardahl

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