Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Christopher C Chimelis <chris@beezer.med.miami.edu>
To: axp-list@redhat.com
Cc: John Salmon <johns@fishnet.caltech.edu>
Subject: Re: sqrt 10x slower in 2.0.7-19 than 2.0.6-9 ???
Date: Thu, 1 Oct 1998 15:08:30 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.3.96.981001150500.6318A-100000@beezer.med.miami.edu> (raw)
In-Reply-To: <98100119295906.13177@bacchus.pc1.uni-duesseldorf.de>


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


  reply	other threads:[~1998-10-01 19:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-01 16:46 sqrt 10x slower in 2.0.7-19 than 2.0.6-9 ??? John Salmon
1998-10-01 17:25 ` Jochen Kuepper
1998-10-01 19:08   ` Christopher C Chimelis [this message]
1998-10-08 10:16 ` Stefan Schroepfer
  -- strict thread matches above, loose matches on Subject: below --
1998-10-01 17:10 Greg Lindahl
1998-10-02  6:34 ` Richard Henderson
1998-10-02  7:32   ` Jochen Kuepper
1998-10-02  7:41     ` Richard Henderson
1998-10-02 15:11       ` Kazushige Goto
1998-10-02 16:44   ` Christopher C Chimelis
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox