From: Ian Grant <I.A.N.Grant@damtp.cam.ac.uk>
To: axp-list@redhat.com
Subject: Re: On Alpha, SQRT slows down after RH5.1 upgrade
Date: Mon, 22 Jun 1998 08:55:57 +0100 (BST) [thread overview]
Message-ID: <Pine.OSF.3.96.980622081821.15265B-100000@quark.amtp.cam.ac.uk> (raw)
In-Reply-To: <199806202116.OAA20904@terminus.ayched.com>
On Sat, 20 Jun 1998 edhall@ayched.com wrote:
> I've recently upgraded my 164LX to Red Hat 5.1. As a result, one of my
> numerical programs (which happens to do lots of square roots) has slowed
> down by a factor of about seven! Recompiling with profiling confirms that
> it is now spending an overwhelming amount of its time in "__ieee754_sqrt".
>
> Has anyone else seen this?
I haven't seen this, but I'm not too surprised. IIRC there was a bug in
the glibc square root function on Alphas, so your previous code may have
been faster, but the results could well have been wrong. My guess is that
the bug has been fixed, possibly by taking out a troublesome optimisation.
You could install the SRPMs for the old glibc and the new one, locate the
sqrt code and do a diff to see what's happened.
Ian
PS A short term fix would be to compile on an Alpha running Digital Unix,
if you have such a thing.
next prev parent reply other threads:[~1998-06-22 7:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-20 21:16 On Alpha, SQRT slows down after RH5.1 upgrade edhall
1998-06-22 7:55 ` Ian Grant [this message]
1998-06-23 6:33 ` edhall
1998-06-23 22:03 ` Richard Henderson
1998-06-25 13:40 ` Kazushige Goto
1998-06-25 16:04 ` Richard Henderson
1998-06-26 12:47 ` Kazushige Goto
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