about latest versions
MHELHEFNY
mhelhefny at gmail.com
Fri Apr 17 22:55:51 CDT 2009
----- Original Message -----
From: "Tatsuro MATSUOKA" <tmacchant at yahoo.co.jp>
To: "Michael Goffioul" <michael.goffioul at gmail.com>; "MHELHEFNY"
<mhelhefny at gmail.com>
Cc: <bug at octave.org>
Sent: Saturday, April 18, 2009 4:16 AM
Subject: Re: about latest versions
> Hello
>
> Benjamin's octave-mingw will check cpu and sse2 and sse3 versions of the
ATLAS exist.
> In my computer in my my uinversity, the cpu of which is presscotte
(pentium4-HT 3.4GHz),
> the following test have given,
> n=2000; A=randn(n); B=randn(n);tic; C=A*B; t=toc, MFLOPS=2*n^3/t*1e-6
> Benjamin 3.0.2 (mingw) MFLOPS = 1973.0
> Michael 3.0,3 (MSVC) MFLOPS = 1845.9
>
> The results were almost the same.
>
> I do not think that Atlas of Benjamis's Octave is optimized for the older
CPUs.
>
> As a refrence, in case of self build Atlas for my computer (octave-3.0.4)
using
> mingw(gcc-4.3.2-dw2-TDM)
> MFLOPS = 4830.2
> If you want to get highest performance for matrix calculation, the octave
will be reccomended to build
> by yourself with the optimized the ATLAS (or GotoBLAS*) for you computer
system.
> However it is hard way to the beginners.
>
> *GotoBLAS can be used for the self building case because its licesence is
not compatible the GPL.
>
> Regards
>
> Tatsuro
>
> --- Michael Goffioul <michael.goffioul at gmail.com> wrote:
>
> > On Fri, Apr 17, 2009 at 6:49 PM, MHELHEFNY <mhelhefny at gmail.com> wrote:
> > >>Michael.
> > >
> > > for otave vesion 3.0.2 :-
> > > i)blass.dll
> > > file size 230 kb
> > > created august 25,2008
> > > ii)lapack.dll
> > > file size 5.86 Mb
> > > created august 25,2008
> > > no version is given for both files
> > >
> > > for octave version 3.0.3 :-
> > > i)liblas.dll
> > > file version 1.2
> > > product version 1.0
> > > file size is 351 kb
> > > ii)liblapack.dll
> > > file version 3.1.1
> > > product version 3.1.1
> > > file size 3.561 Mb
> > > both fies created may 15 2008
> >
> > I think that for 3.0.2, you're using a mingw compiled version,
> > which includes ATLAS compiled for older CPU, while for
> > 3.0.3 you're using the VC++ compiled version, which only
> > includes ATLAS compiled for newer CPU (SSE2).
> >
> > Michael.
> >
> > _______________________________________________
> > Bug-octave mailing list
> > Bug-octave at octave.org
> > https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave
hi Tatsuro MATSUOKA
I have tried the code :
a=randn(2000);b=randn(2000);tic, c=a*b; toc,
on my pentium4 2.8 ghz it took :
octave ver 3.0.2 4.468 seconds
octave ver 3.0.3 50.73 seconds
It seems to me that such a big difference is not simply due to optimization
for old or new c.p.u s,
Regards.
mhelhefny
electrical engineer.
More information about the Bug-octave
mailing list