From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 8E3162F0F0 for ; Thu, 2 Nov 2000 12:34:48 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eA2HYm725337 for axp-list@listman.redhat.com; Thu, 2 Nov 2000 12:34:48 -0500 Received: from ztxmail02.ztx.compaq.com (ztxmail02.ztx.compaq.com [161.114.1.206]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eA2HYmD25332 for ; Thu, 2 Nov 2000 12:34:48 -0500 Received: by ztxmail02.ztx.compaq.com (Postfix, from userid 12345) id 97A8C391F; Thu, 2 Nov 2000 11:34:42 -0600 (CST) Received: from sigma.zk3.dec.com (brysigma.zk3.dec.com [16.141.40.6]) by ztxmail02.ztx.compaq.com (Postfix) with ESMTP id 4975317B4 for ; Thu, 2 Nov 2000 11:34:42 -0600 (CST) Received: from zk3.dec.com by sigma.zk3.dec.com (8.8.8/1.1.20.3/24Apr98-0811AM) id MAA0000011398; Thu, 2 Nov 2000 12:34:41 -0500 (EST) Message-ID: <3A01B3ED.8CC8EA01@zk3.dec.com> Date: Thu, 02 Nov 2000 13:35:25 -0500 From: Peter Rival Organization: Tru64 QMG Performance Engineering X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-3smp alpha) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: computational program spending lot of time in kernel References: <20001102174135.F27668@beta.theochem.kth.se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors Pawel Salek wrote: > Hi, > > 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). > > 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.. > You could try out IProbe (www.alphalinux.org/iprobe). It's one of the best profilers for Alpha out there (right up with DCPI). That should help out considerably, I'd think. HTH. :) - Pete