[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to speed up Octave
From: |
Dmitri A Sergatskov |
Subject: |
Re: How to speed up Octave |
Date: |
Wed, 20 Jun 2001 20:02:45 -0600 (MDT) |
On 20 Jun 2001, Trond Eivind Glomsrod wrote:
> > | tic;A=rand(20,20000);B=svd(A);toc
> > | tic;A=rand(2000,2000);B=prod(A);toc
> > | tic;A=rand(1000,1000);B=inv(A)*A;toc
> >
> > I believe all of these operations involve calls to lapack and/or blas
> > libraries. If you use a recent development version of Octave linked
> > with the atlas libraries, then you will probably see some improvement.
>
> I just tried this on a Dual PIII 733 system, 256 MB RDRAM with Red Hat Linux
> 7.1 and atlas
> configured for this machine ("make config" run locally, standard options
> except don't use
> -omit-frame-pointer and add "-march=i386 -mcpu=i686"), gcc 2.96RH.
>
> - the first test was on average 14% faster with Atlas. In the second test,
> atlas didn't matter.
> The third test was the only one showing a real gain: Just above 40% faster
> with Atlas.
>
>
Did you do timing together with 'rand'? It may give a significant offset.
What about pure 'svd', 'prod' and 'inv'.
Dmitri.
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Octave / Win 2000 memory limitations, Chris Mellen, 2001/06/15
- Re: How to speed up Octave, Dmitri A. Sergatskov, 2001/06/19
- Re: How to speed up Octave, Aaron Brick, 2001/06/19
- Re: How to speed up Octave, Francesco Potorti`, 2001/06/20
- Re: How to speed up Octave, Jonathan Drews, 2001/06/21