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 733932F2BF for ; Thu, 2 Nov 2000 19:32:43 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eA30WhV15214 for axp-list@listman.redhat.com; Thu, 2 Nov 2000 19:32:43 -0500 Received: from HPTI_MAIN.hpti.com ([63.87.135.214]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eA30WgD15206 for ; Thu, 2 Nov 2000 19:32:42 -0500 Received: from hptilap (GREG [63.87.135.195]) by HPTI_MAIN.hpti.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id WCRBMGCW; Thu, 2 Nov 2000 19:22:12 -0500 From: "Greg Lindahl" To: Subject: RE: computational program spending lot of time in kernel Date: Thu, 2 Nov 2000 19:32:04 -0500 Message-ID: <000801c0452d$7d46a300$6ba54340@hptilap.hpti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal In-Reply-To: <20001102174135.F27668@beta.theochem.kth.se> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 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 > 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. If I understand things correctly, with the -fast flag, you won't ever trap to the kernel for exceptional floating point operations. I'm not so sure that all Alpha kernels had a correct accounting of user vs. system time. But there could be other reasons it is in the kernel. Try using "strace" to see if it's doing weird system calls. -- g