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 959C62FB5C for ; Tue, 10 Apr 2001 06:50:10 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f3AAq9T31492 for axp-list@listman.redhat.com; Tue, 10 Apr 2001 06:52:09 -0400 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 f3AAq8V31488 for ; Tue, 10 Apr 2001 06:52:09 -0400 Received: from localhost (crawdad@localhost) by orion.chem.vt.edu (8.11.0/8.11.0) with ESMTP id f3AAnuG29763 for ; Tue, 10 Apr 2001 06:49:56 -0400 X-Authentication-Warning: orion.chem.vt.edu: crawdad owned process doing -bs Date: Tue, 10 Apr 2001 06:49:55 -0400 (EDT) From: "T. Daniel Crawford" X-Sender: To: Subject: Re: FFTW performance In-Reply-To: <20010410073234.356246F61@tes-mail.jpl.nasa.gov> 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.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Tue, 10 Apr 2001, Eugene Chu wrote: > Hello Alphans, > > Now that my UP2000 is humming along pretty well for the most part, I > started to run some benchmarks on it. The CPU benchmark that we use > most often is running FFTs. More specifically, we use the FFTW package > from MIT. It seems to run quite well on all platforms, except on this > Alpha system. We've tried building it with both GCC and CCC, and the > results were similar; the FFTs run at about the same rate as on a Sun > Blade 1000 (750 MHz). If one were to compare SPEC results between > these two systems, one might expect the Alpha (833 MHz) to be almost > 100% faster than the UltraSPARC-III. So the problem must be in the > code generated by the compilers; perhaps they simply are not very well > optimized (either CCC or GCC). Are there any special flags (besides > -fast) that will generate better code? > > I'll try CXML next. > > thanks, > eyc > Eugene, I am a computational quantum chemist at Virginia Tech and also have several alphas (XP-1000's in my case). When I first purchased the workstations, their performance under alpha/Linux was very poor (i.e. a factor of four-eight slower) relative to the same hardware running Tru64. I have spent a great deal of time optimizing their performance, and things are vastly improved. Now my quantum programs run faster (ca. 33%) on my alpha/Linux workstations than their Tru64 counterparts. My codes are likely rather different from yours --- I do mostly multiplication of very large matrices, data sorts, and lots of I/O as opposed to FFT's --- so my optimization efforts may not help you at all. Two questions: (1) What memory block sizes does your code require? I.e., how large are your malloc() calls and how many of them are there? (2) What kernel are you running and from what distribution? -Daniel P.S. None of my optimization improvements came from compiler flags, but instead from OS tweaking. -- 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