help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave 2.1.57 vecLib Panther 10.3.4


From: Dmitri A. Sergatskov
Subject: Re: Octave 2.1.57 vecLib Panther 10.3.4
Date: Thu, 24 Jun 2004 13:51:49 -0600
User-agent: Mozilla Thunderbird 0.7 (X11/20040615)

Fredrik Lingvall wrote:
I recommend linking Octave with the GOTO BLAS libs instead of ATLAS.
GOTO BLAS can be found at:

http://www.cs.utexas.edu/users/flame/goto/

It got a speedup with about a factor of 2 on matrix multiplictions on a dual P4
using Matlab compared to the Matlab libs (which I think is ATLAS). There
is no G5 version available yet but I think it will be soon.


There is no Athlon library, nor a source code either.
As for factor of 2, lets see here:

address@hidden dima]$ /import/opt/matlab6/bin/matlab -nojvm

                              < M A T L A B >
                  Copyright 1984-2002 The MathWorks, Inc.
                      Version 6.5.0.180913a Release 13
                                Jun 18 2002

...

>> a=rand(2000);
>> b=rand(2000);
>> tic; c=a*b; toc

elapsed_time =

    9.9345

>> tic; c=a*b; toc

elapsed_time =

    9.9208

>>

address@hidden octave]$ octave
GNU Octave, version 2.1.57 (i686-pc-linux-gnu).
Copyright (C) 2004 John W. Eaton.

....

octave:1> a=rand(2000);
octave:2> b=rand(2000);
octave:3> tic; c=a*b; toc
ans = 5.3369
octave:4> tic; c=a*b; toc
ans = 5.2770

(Using atlas 3.7.3 custom compiled for 2xAthlon 2000GHz).


Regards,

Fredrik

Regards,

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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]