* real/user/sys question
@ 1997-12-12 10:14 Clemens Vonrhein
1997-12-12 10:35 ` Clemens Vonrhein
0 siblings, 1 reply; 2+ messages in thread
From: Clemens Vonrhein @ 1997-12-12 10:14 UTC (permalink / raw)
I want to time some fortran programs on a RedHat 5.0 (2.0.30) system
using the egcs 1.0 compilers. In particular, I want to compare the
results to an Alpha running OSF1 4.0.
I'm using the /usr/bin/time command on both systems for comparison.
The results seem to be ok: user and sys times are more or less the
same or even better on the Linux system. BUT:
the real time is about a factor of 10 slower on the Linux system.
My question is: is there any tool to check where the time is spent
(disk i/o etc.)? Should I first kill all unnecessary processes before
comparing?
Thanks
Clemens
PS: both are SCSI systems running NFS, NIS, amd. Binaries are loaded
from an automounted directory. Files are written to local disks.
--
***************************************************************************
* Clemens Vonrhein email vonrhein@bio5.chemie.uni-freiburg.de *
* WWW http://bio5.chemie.uni-freiburg.de/~vonrhein/ *
* *
* Institut f. Org. Chemie u. Biochemie *
* Albertstr.21 *
* D-79104 Freiburg i.Br. (Germany) *
* Tel.: 761/203-6061 FAX: 761/203-6161 *
***************************************************************************
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: real/user/sys question
1997-12-12 10:14 real/user/sys question Clemens Vonrhein
@ 1997-12-12 10:35 ` Clemens Vonrhein
0 siblings, 0 replies; 2+ messages in thread
From: Clemens Vonrhein @ 1997-12-12 10:35 UTC (permalink / raw)
> The results seem to be ok: user and sys times are more or less the
> same or even better on the Linux system. BUT:
>
> the real time is about a factor of 10 slower on the Linux system.
>
Some more (weird) info:
I actually use a csh script:
# /usr/bin/time -p script.csh
Now: if this script is in an automounted directory (like the binaries
used in this shell script) I get:
real 18.70
user 0.69
sys 0.12
If I move it to a local directory, cd to this directory and run it
from there I get:
real 0.75
user 0.66
sys 0.06
Why ????????????
Clemens
--
***************************************************************************
* Clemens Vonrhein email vonrhein@bio5.chemie.uni-freiburg.de *
* WWW http://bio5.chemie.uni-freiburg.de/~vonrhein/ *
* *
* Institut f. Org. Chemie u. Biochemie *
* Albertstr.21 *
* D-79104 Freiburg i.Br. (Germany) *
* Tel.: 761/203-6061 FAX: 761/203-6161 *
***************************************************************************
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-12-12 10:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-12 10:14 real/user/sys question Clemens Vonrhein
1997-12-12 10:35 ` Clemens Vonrhein
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox