[MacPorts] #17218: octave optimized?
MacPorts
noreply at macports.org
Wed Nov 12 20:12:56 PST 2008
#17218: octave optimized?
----------------------------+-----------------------------------------------
Reporter: hans at fugal.net | Owner: macports-tickets at lists.macosforge.org
Type: enhancement | Status: new
Priority: Low | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: | Port: octave
----------------------------+-----------------------------------------------
Octave on my laptop is seeing a much-reduced speedup with sparse matrices
when compared to linux on similar hardware.
x = rand(1000,1000);
y = x;
y(y<0.99) = 0;
z = sparse(y);
tic; x*x; toc
tic; x*y; toc
tic; x*z; toc
I see times on the order of 0.68 for x*x and x*y, and 0.62 for x*z, but on
linux my friend (with a macbook pro - I have a macbook) sees on the order
of 0.9 for x*x, x*y and 0.15 for x*z. I'm happy general matrix
multiplication seems faster with the macports version, but I'd love to see
a more substantial speedup for sparse matrices. I don't know if there
might be some compile-time options for optimization to this or the sparse
matrix library, or if there might be something to explain it away in the
architecture, hardware, or OS, but I put it out there FWIW.
--
Ticket URL: <http://trac.macports.org/ticket/17218>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list