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 21DAF3156E for ; Thu, 2 Nov 2000 11:41:43 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eA2GfhP12645 for axp-list@listman.redhat.com; Thu, 2 Nov 2000 11:41:43 -0500 Received: from elf.theochem.kth.se (elf.theochem.kth.se [130.237.52.51]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eA2GfgD12639 for ; Thu, 2 Nov 2000 11:41:42 -0500 Received: from elf (IDENT:pawsa@beta.theochem.kth.se [130.237.52.99]) by elf.theochem.kth.se (8.9.3/8.9.3) with SMTP id RAA21404 for ; Thu, 2 Nov 2000 17:41:39 +0100 Date: Thu, 2 Nov 2000 17:41:35 +0100 From: Pawel Salek To: axp-list@redhat.com Subject: computational program spending lot of time in kernel Message-ID: <20001102174135.F27668@beta.theochem.kth.se> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Balsa 1.0.pre5 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 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.. /Pawel -- Pawel Salek (pawsa@theochem.kth.se) http://www.theochem.kth.se/~pawsa/ Theoretical Chemistry Division, KTH voice: +46 8 790-8202