help-octave
[Top][All Lists]
Advanced

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

Benchmark2 on dual G5 with and without ATLAS


From: jpswensen
Subject: Benchmark2 on dual G5 with and without ATLAS
Date: Thu, 17 Feb 2005 09:01:59 -0600

I've seen people post benchmarks on this list before, and I just got Linux up 
and running on my shiny new dual 1.8GHz G5 Mac, so I thought I would post some 
benchmarks also.  I hear that GCC 4.0 also makes better use of the AltiVec 
engine, so once 4.0 is officially released, I will try it with that also.  I 
don't think ATLAS has been specifically optimized for the G5, but it shows up 
as Linux_UNKNOWN_AltiVec_2, so I am pretty sure it is using the Altivec engine 
and the dual processor capabilities.

One problem I saw was that gcd2 failed on the octave compiled with the blas 
support.  Anyone know why?

*********************************************
******** BEGIN PLAIN (NO ATLAS or FFTW) **********
   Octave Benchmark 2
   ==================
Number of times each test is run__________________________: 3

   I. Matrix calculation
   ---------------------
Creation, transp., deformation of a 1500x1500 matrix (sec): 1.105
800x800 normal distributed random matrix ^1000______ (sec): 0.3106
Sorting of 2,000,000 random values__________________ (sec): 0.6343
700x700 cross-product matrix (b = a' * a)___________ (sec): 1.826
Linear regression over a 600x600 matrix (c = a \ b') (sec): 0.4022
                  ------------------------------------------------------
                Trimmed geom. mean (2 extremes eliminated): 0.6557

   II. Matrix functions
   --------------------
FFT over 800,000 random values______________________ (sec): 0.4747
Eigenvalues of a 320x320 random matrix______________ (sec): 0.6979
Determinant of a 650x650 random matrix______________ (sec): 0.5008
Cholesky decomposition of a 900x900 matrix__________ (sec): 0.5679
Inverse of a 400x400 random matrix__________________ (sec): 0.3599
                  ------------------------------------------------------
                Trimmed geom. mean (2 extremes eliminated): 0.513

   III. Programmation
   ------------------
750,000 Fibonacci numbers calculation (vector calc)_ (sec): 0.6864
Creation of a 2250x2250 Hilbert matrix (matrix calc) (sec): 0.4749
******** END PLAIN (NO ATLAS or FFTW) **********
********************************************

*********************************************
******** BEGIN TEST WITH ATLAS AND FFTW)********
   Octave Benchmark 2
   ==================
Number of times each test is run__________________________: 3

   I. Matrix calculation
   ---------------------
Creation, transp., deformation of a 1500x1500 matrix (sec): 1.1
800x800 normal distributed random matrix ^1000______ (sec): 0.3235
Sorting of 2,000,000 random values__________________ (sec): 0.6399
700x700 cross-product matrix (b = a' * a)___________ (sec): 0.1854
Linear regression over a 600x600 matrix (c = a \ b') (sec): 0.1252
                  ------------------------------------------------------
                Trimmed geom. mean (2 extremes eliminated): 0.3373

   II. Matrix functions
   --------------------
FFT over 800,000 random values______________________ (sec): 0.3247
Eigenvalues of a 320x320 random matrix______________ (sec): 0.5828
Determinant of a 650x650 random matrix______________ (sec): 0.1553
Cholesky decomposition of a 900x900 matrix__________ (sec): 0.1291
Inverse of a 400x400 random matrix__________________ (sec): 0.1031
                  ------------------------------------------------------
                Trimmed geom. mean (2 extremes eliminated): 0.1867

   III. Programmation
   ------------------
750,000 Fibonacci numbers calculation (vector calc)_ (sec): 0.6881
Creation of a 2250x2250 Hilbert matrix (matrix calc) (sec): 0.5389
error: `gcd2' undefined near line 234 column 9
error: evaluating assignment expression near line 234, column 7
error: evaluating for command near line 230, column 1
error: near line 237 of file `/home/jswensen/Octave2.m'
******** BEGIN TEST WITH ATLAS AND FFTW)********
*********************************************

I noticed that ATLAS has a place on their website for timing/performance.  
Would it be possible to add a similar section to the Wiki?

John Swensen
jpswensen~at-comcast_net



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