help-octave
[Top][All Lists]
Advanced

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

Re: octave vs. matlab speed


From: Robert A. Macy
Subject: Re: octave vs. matlab speed
Date: Thu, 10 Aug 2006 10:06:24 -0700

ARRRGGGG!!!! octave 2.1.50a-inst.exe on Win98 733MHz

  toc = 412.09 seconds

Perhaps, it *is* time to upgrade?!

             - Robert -

On Thu, 10 Aug 2006 12:30:21 -0400
 Alexander Barth <address@hidden> wrote:
> Hi Robert,
> I did a simple benchmark on a AMD 64 Opteron (2GB memory)
> implying a loop and matrix multiplication:
> 
> % simple_benchmark.m
> tic
> n = 200;
> A = rand(n,n);
> for i=1:1000
>   A = A + rand(n,n) * rand(n,n);
> end
> toc
> 
> The execution speed it quite sensitive to the BLAS and
> LAPACK libraries. It is well known that the
> ATLAS versions of those libraries give a significant
> improvement in speed.
> 
> # Standard BLAS and LAPACK
> $ octave -q simple_benchmark.m
> Elapsed time is 32.579529 seconds.
> 
> # ATLAS tuned BLAS and LAPACK from Fedora Core 5
> repositories
> $ octave -q simple_benchmark.m
> Elapsed time is 11.278023 seconds.
> 
> # ATLAS tuned BLAS and LAPACK recompiled on my platform
> $ octave -q simple_benchmark.m
> Elapsed time is 11.252762 seconds.
> 
> # matlab 2006a (which includes ATLAS)
> >> simple_benchmark
> Elapsed time is 9.796227 seconds.
> 


reply via email to

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