alphalinux.org high-perf list (1998-2001)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Subject: Re: sqrt.s
Date: Sat, 27 Feb 1999 11:06:20 -0700 (MST)	[thread overview]
Message-ID: <199902271806.LAA12560@ellpspace.math.ualberta.ca> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 926 bytes --]

I see all the time these square root routines with big lookup

tables and impressive cycle counts.  I cannot help not to wonder

what will be impact of such tables in a "real life".  While

benchmarking one is performing square root operations in a tight

loop; everything fits in a cache and a performance is impressive.

But in reality these things are not used that way and it will

be, usually, lots of other code around.  If one starts taking

cache, or even worse - page, hits because of lookups then a performance

can worsen considerably.

I still remember a paper by Dave Mosberger-Tang, from a few years

ago, about optimizing on Alpha where he showed that local calculations

may be much prefererable to distant lookups.  I do not have measurements

for a different computation strategies of sqrt in real code as opposed

to small loops.  But does anybody attempted some investigations of

that kind?

   Michal

             reply	other threads:[~1999-02-27 18:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-02-27 18:06 Michal Jaegermann [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-02-28 11:11 sqrt.s Andrei A. Dergatchev
1999-02-28 10:16 sqrt.s Erik Lindahl
1999-02-28  1:01 sqrt.s Andrei A. Dergatchev
1999-02-28  0:31 sqrt.s esci
1999-02-21 16:23 sqrt.S Robert Harley
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