From: Jeff Sturm <jeff.sturm@appnet.com>
To: axp-list@redhat.com
Subject: Re: computational program spending lot of time in kernel
Date: Thu, 02 Nov 2000 15:37:58 -0500 [thread overview]
Message-ID: <3A01D0A6.9A985061@appnet.com> (raw)
In-Reply-To: 20001102174135.F27668@beta.theochem.kth.se
Pawel Salek wrote:
> I have got a problem: I have tried to run old large Fortran code
> (compiled with fort -fast) and have noticed that it is unexpectedly slow.
> Closer investigation revealed that it spends more than 50% of CPU time in
> kernel. I suspect that the program does some kind of ugly floating point
> operations that require kernel support. The final numbers appear to be
> correct (compared against other architecture).
It sounds like FP completion could be the culprit.
If you can disable ieee floating-point (I don't know how to do this with the
Fortran compiler) your code will trap on the offending lines, so you can
identify and fix them.
> Does anybody has ANY advice how to approach this problem? Is there any
> way to find out the offending part of code? I thought I could run gprof
> but I am not sure it show up in the output time spent in kernel..
grof won't tell you anything about kernel execution. However iprobe
(http://www.alphalinux.org/iprobe/) can profile user/kernel modes at once, if
that's what you're after.
--
Jeff Sturm
jeff.sturm@commerceone.com
next prev parent reply other threads:[~2000-11-02 20:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-02 16:41 computational program spending lot of time in kernel Pawel Salek
2000-11-02 18:35 ` Peter Rival
2000-11-06 12:21 ` My last Robert McGwier
2000-11-02 20:37 ` Jeff Sturm [this message]
2000-11-03 0:32 ` computational program spending lot of time in kernel Greg Lindahl
2000-11-03 11:15 ` Nikolaos Margaritis
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