From: peterm@tesla.EECS.Berkeley.EDU (Peter Mardahl)
Subject: Re: Running Digital UNIX code from Linux?
Date: 1998/04/29 [thread overview]
Message-ID: <6i6l3k$1o4$1@tesla.EECS.Berkeley.EDU> (raw)
In-Reply-To: 6i6eq1$c85$1@agate.berkeley.edu
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
prev parent reply other threads:[~1998-04-29 4:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-29 4:00 Running Digital UNIX code from Linux? Raymond Fellers
1998-04-29 4:00 ` Peter Mardahl [this message]
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