help-octave
[Top][All Lists]
Advanced

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

Re: Octave versus matlab performances on linux platform 64 bits


From: Andreas Romeyke
Subject: Re: Octave versus matlab performances on linux platform 64 bits
Date: Thu, 30 Oct 2008 10:49:02 +0100

Hello,

Am Thu, 30 Oct 2008 16:01:46 +1000
schrieb "Luca Tagliacozzo" <address@hidden>:

> a=matpow(rand(1000),10);
> 
> 
> That is it mutliplies log_2(10) times  a 1000x1000 matrix
> 
> By running
> time matlab -nodisplay <test.m
> 
> 
> I get     0m4.076s as a user time
> 
> we see that it take 4.076s to execute on my already fully loaded
> machine.
> 
> Now always with the matpow.m file i did the following test:
> 
> time octave test.m: user    0m21.189s
> where we see that Octave took 21.189 seconds  (like 7 times matlab)

The speed of Octave depends highly on used BLAS-Libraries. If you use
the latest Atlas Octave should outperform Matlab in this case.

In past I tested various libraries on an Intel Core 2 Duo, and with
self compiled Atlas Octave outperformed Matlab with factor 2 or 3
calculating NMF tests. But with outdated libraries Octave falled down to
20 percent or less.

Bye Andreas
-- 
Software Developer / Dipl. Inform. (FH)
Max Planck Institute for Human Cognitive and Brain Sciences
Department of Psychology
Stephanstr. 1a, 04103 Leipzig, Germany

Attachment: signature.asc
Description: PGP signature


reply via email to

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