From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30978 invoked from network); 3 Jan 1999 15:02:05 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 3 Jan 1999 15:02:05 -0000 Received: from hjs.goth.net (herwinjs@k1ms129.dial.kabelfoon.nl [195.193.26.129]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id JAA19916 for ; Sun, 3 Jan 1999 09:44:13 -0500 Received: from localhost (herwinjs@localhost) by hjs.goth.net (8.8.7/8.8.7) with ESMTP id PAA15772 for ; Sun, 3 Jan 1999 15:36:25 +0100 Date: Sun, 3 Jan 1999 15:36:09 +0100 (CET) From: Herwin Jan Steehouwer To: axp-list@redhat.com Subject: Re: Performance again In-Reply-To: <3.0.1.32.19990103142339.00f3fa80@pop.bart.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 3 Jan 1999, geerten kuiper wrote: > Herwin Jan, > > Some ideas: > > - as always, much depends on what your program is trying to do. > - make shure you use the improved math libraries (I think > > has the latest.) > - David Mosberger once wrote an article on optimizing code for Alpha. You > may be able to find it somewhere on the web. Cache optimization is the main > thing to realize the Alphas full potential. i cannot find him ;-( also his e-mail adres i found, was not working ;( > - using 64 bit floats will probably be almost as fast as 32 bits (contrary > to your PentiumII, where it will be much slower.) ok, will try that ! > - on some older Alpha boxes, memory bandwith limits performance. On your XL > this should be less of an issue (is it 128 or 256 bits wide ?) 366Xl is 128 bits wide ! a test programm ( see attachment ) will give this output ! how can i speed this up ?? ( gcc -o preftest preftest.c ) NO optimizing for this test ! SGI 100 Mhz R4k: time perftest i 7.359 time perftest f 3.534 time perftest d 4.942 Alpha 233 Mhz: time perftest i 9.140 time perftest f 2.290u time perftest d 3.050u Intel P2 300Mhz: time perftest i 1.955 time perftest f 1.555 time perftest d 2.614 tanx HJ Herwin Jan Steehouwer herwinjs@palet.nl http://www.caiw.nl/~herwinjs steehouwer@kde.org KDE developer http://www.kde.org