From ripley@stats.ox.ac.uk  Fri Feb  8 08:30:16 2002
From: ripley@stats.ox.ac.uk (Prof Brian D Ripley)
Date: Fri, 8 Feb 2002 08:30:16 +0000 (GMT Standard Time)
Subject: [Rd] timing Mac R's
In-Reply-To: <50B1526D-1C97-11D6-B72F-000393860F3C@stat.ucla.edu>
Message-ID: <Pine.WNT.4.44.0202080820010.716-100000@tern.stats>

On Fri, 8 Feb 2002, Jan de Leeuw wrote:

> Here is the same thing as before, now done a bit more systematically. The
> rather bad performance of R-patched on eigen is a mystery (to me), the
> gain
> in La.eigen when using ATLAS is probably not Altivec, but using
> threaded level 3 BLAS on a dual processor machine.

Well, it's almost entirely in the algorithm used in LAPACK.  There is no
single precision used.  DSYEVR was designed as `the holy grail' for that
problem, and it uses level 3 BLAS much better than its predecessors.
I see an 8x speed up on my PIII Linux box on your tests (and the ATLAS
there is only using one processor to keep the build portable).

My guess (and only a guess) is that you have an alignment problem. I am
pretty sure there is no change in the internal code across the versions you
used, but some compilers and chips will run code much faster with certain
alignments than others. Sparc for example needs -dalign under it's native
compiler, and without that (which used to be necessary under S-PLUS) there
could be performance changes of this nature under very small code changes.

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] timing Mac R's
Prof Brian D Ripley