From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 28267 invoked from network); 24 Jun 1998 10:49:01 -0000 Received: from david.siemens.de (192.35.17.14) by mail2.redhat.com with SMTP; 24 Jun 1998 10:49:01 -0000 X-Envelope-Sender-Is: martin.kahlert@mchp.siemens.de (at relayer david.siemens.de) Received: from salomon.mchp.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.9.0/8.9.0) with ESMTP id MAA28820; Wed, 24 Jun 1998 12:48:06 +0200 (MET DST) Received: from keksy.mchp.siemens.de (kahlert@keksy.mchp.siemens.de [139.23.187.70]) by salomon.mchp.siemens.de (8.8.8/8.8.5) with ESMTP id MAA09287; Wed, 24 Jun 1998 12:48:38 +0200 (MDT) Received: (from kahlert@localhost) by keksy.mchp.siemens.de (8.8.8/8.8.8) id MAA15309; Wed, 24 Jun 1998 12:48:43 +0200 Message-ID: <19980624124843.A15248@keksy.mchp.siemens.de> Date: Wed, 24 Jun 1998 12:48:43 +0200 From: Martin Kahlert To: axp-list@redhat.com Cc: scr@iis.fhg.de Subject: Re: Performance measurements Reply-To: martin.kahlert@mchp.siemens.de References: <199806240851.KAA06049@keksy.mchp.siemens.de> <3590D5AE.167EB0E7@iis.fhg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <3590D5AE.167EB0E7@iis.fhg.de>; from Stefan Schroepfer on Wed, Jun 24, 1998 at 12:32:14PM +0200 Quoting Stefan Schroepfer (scr@iis.fhg.de): > Martin Kahlert wrote: > > [...] > > > > I work on a Linux 2.0.34 SMP Kernel (libc5). My hardware is a > > dual Pentium Pro 200MHz system with 128MB RAM. > > My results are for Kernel 2.0.30, glibc 1.99 (RedHat 4.2), > gcc 2.7.2.1, PC164LX (2MB Cache), 21164 @ 600MHz, 256MB RAM. > > > [...] > > Here are my results: > > %> make > > gcc-2.7.2.1: > > 95.46 MFLOPS > > [...] > > $ make > /usr/bin/gcc -O3 -Wall -o m.gcc m.c -lm > gcc-2.7.2.1: > 187.86 MFLOPS > > Hmmm, only twice as fast as a PPro 200. Most of my floating > point stuff shows a bigger difference in performance. All the other helpful people, who provided info so far have similar values. Thanks a lot! I thought, these convolution stuff should run like a champ on Alpha. But since even Digital's Compiler can't do much here, i think it's not egcs/gcc's fault. (Alex Rhomberg reported for a 500MHz Alpha: "DEC C V5.2-036 on Digital UNIX V4.0 (Rev. 564) 168.97 MFLOPS") Perhaps there could be done some tuning for memory access on Alphas? But: all arrays should fit in the cache - don't they? There should be higher MFlops possible on these machines. Perhaps the factor two results from the fact, that there can't be done much more improvement on Intel chips any more. 100MFLOP are one mult/add every second cpu cycle on a 200MHz machine. > > Remarks: > 1) These -malign-xxx options are Intel only. > 2) I had to patch your sources (where is 'PI' defined in > your headers ?): > 66c66 > < x[i]=sin(h*PI/(double)N); > --- > > x[i]=sin(h*M_PI/(double)N); You caught me! It should have been M_PI of course. My math.h file provides PI, too. Thanks, Martin. -- What is the difference between Jurassic Park and Microsoft? One is an over-rated high tech theme park based on prehistoric information and populated mostly by dinosaurs, the other is a Steven Spielberg movie.