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 E08CB2F10B for ; Wed, 10 Jan 2001 14:52:01 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f0AJq1T26132 for axp-list@listman.redhat.com; Wed, 10 Jan 2001 14:52:01 -0500 Received: from orion.chem.vt.edu (IDENT:root@orion.chem.vt.edu [128.173.180.103]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f0AJq1D26124 for ; Wed, 10 Jan 2001 14:52:01 -0500 Received: from localhost (crawdad@localhost) by orion.chem.vt.edu (8.11.0/8.11.0) with ESMTP id f0AJq0Z01610 for ; Wed, 10 Jan 2001 14:52:00 -0500 X-Authentication-Warning: orion.chem.vt.edu: crawdad owned process doing -bs Date: Wed, 10 Jan 2001 14:52:00 -0500 (EST) From: "T. Daniel Crawford" X-Sender: To: Subject: gprof and iprobe Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Thanks to some advice from posters to this list, I have ported some computationally intensive Fortran code to my alpha Linux system (XP-1000, RH7.0). While the code gives correct output, my recent benchmarks indicate a substantial difference in the code's performance on alpha Linux vs. Tru64 systems with nearly identical hardware (both using the same optimization flags with Compaq compilers). I would like to profile the code using gprof or iprobe, but neither of these seems to work: Gprof: I can compile the code with -pg, and a gmon.out is produced, but the subsequent execution of "gprof " gives the error: gprof: gmon.out file is missing call-graph data. I know from my perusal of the archives at alphalinux.org that gprof has had serious problems in the past, but most of the discussion appears to be out-of-date. Iprobe: The RPMs available at the Compaq site are geared to RH6.0. When I run the iprobe binary, it fails and reports an ioctl error. I also tried to compile the source myself, but there are numerous header errors and incompatibilities to current Linux distributions. From past discussion of iprobe on this list, it seems to be the method of choice, if only I could get it to work. If anyone has dealt with these problems and had more success than I, I would appreciate your input. Thanks, -Daniel P.S. Can anyone explain the current state of system time accounting on alpha systems? Part of my problem involves very large system times relative to reasonable user times, and the elapsed time is pretty darned close to the sum of the two, with nearly 99% utilization. This is rather confusing. -- T. Daniel Crawford Department of Chemistry crawdad@vt.edu Virginia Tech www.chem.vt.edu/chem-dept/crawford Voice: 540-231-7760 FAX: 540-231-3255