From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21274 invoked from network); 1 Oct 1998 19:11:10 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 1 Oct 1998 19:11:10 -0000 Received: from beezer.med.miami.edu (root@beezer.med.miami.edu [129.171.143.105]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id PAA12110 for ; Thu, 1 Oct 1998 15:09:08 -0400 Received: from beezer.med.miami.edu (chris@beezer.med.miami.edu [129.171.143.105]) by beezer.med.miami.edu (8.8.8/8.8.8/Debian/GNU) with SMTP id PAA06455; Thu, 1 Oct 1998 15:08:30 -0400 Date: Thu, 1 Oct 1998 15:08:30 -0400 (EDT) From: Christopher C Chimelis X-Sender: chris@beezer.med.miami.edu To: axp-list@redhat.com cc: John Salmon Subject: Re: sqrt 10x slower in 2.0.7-19 than 2.0.6-9 ??? In-Reply-To: <98100119295906.13177@bacchus.pc1.uni-duesseldorf.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 1 Oct 1998, Jochen Kuepper wrote: > As discussed here several times, older glibc math libs had bugs that were fixed > somewhere inbetween your two versions. Due to these bugfixes some routines > (like sqrt) got slower. You should use the newer glibc if you depend on your > results. > There are two well optimized libs that provide parts of the libm, namely libffm > and libfm, maintained by K. Goto and J. Wesner. Check the web for these if you > want some real speed improvements. Speaking of which, on my UDB (running Debian and the latest glibc 2.0.7 rev), I ran a comparison between using libffm and just libm. Here's what I got: libffm + libm: 1000000 sqrts in 1.68946 sec, 591907 per sec libm only: 1000000 sqrts in 9.90054 sec, 101005 per sec As you can see, this is a HUGE improvement in sqrt times. Also, keep in mind that libffm was really written for the 21164's (UDBs have 21066's), so if libffm can possibly get better for the 21066's, I could probably get better numbers. C