help-octave
[Top][All Lists]
Advanced

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

Re: Octave 3.6.0 on Windows XP plot fails.


From: Martin Helm
Subject: Re: Octave 3.6.0 on Windows XP plot fails.
Date: Wed, 29 Feb 2012 15:28:32 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20120215 Thunderbird/10.0.2

Am 29.02.2012 14:45, schrieb Xianyi Zhang:
> Hi,
>
> The matrix multiplication cannot obtain the performance from
> hyperthreading.
>
> Thanks
>
> Xianyi
>
Why not? Is this a limitation of the mingw compiler, the windows
environment or the BLAS library in question?
This is what I get on linux

Slow reference BLAS

address@hidden:~> octave -qf --eval "a=rand(2000);tic;a*a;toc"
Elapsed time is 6.58622 seconds.

Single threaded ATLAS

address@hidden:~> LD_PRELOAD=/usr/lib64/atlas/libsatlas.so.3 octave -qf
--eval "a=rand(2000);tic;a*a;toc"
Elapsed time is 1.26832 seconds.

Multithreaded ATLAS

address@hidden:~> LD_PRELOAD=/usr/lib64/atlas/libtatlas.so.3 octave -qf
--eval "a=rand(2000);tic;a*a;toc"
Elapsed time is 0.422859 seconds.

You see the multi threaded version is about 3 times faster than the
single threaded on my quad core.



reply via email to

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