Writing kernel modules in Haskell
Writing kernel modules in Haskell
Posted Sep 15, 2009 12:50 UTC (Tue) by bjacob (guest, #58566)In reply to: Writing kernel modules in Haskell by jbh
Parent article: Writing kernel modules in Haskell
I'm surprised by your result, because in our experience, we are consistently faster than ATLAS for matrix products. Already with Eigen 2.0, and even more so in the development branch. In fact, on single-CPU systems, we have almost the performance of vendor-tuned BLAS.
development branch:
http://eigen.tuxfamily.org/index.php?title=Benchmark
2.0:
http://eigen.tuxfamily.org/index.php?title=Benchmark-Augu...
It's good that you passed -msse2, indeed.
Some things to consider:
* did you allow ATLAS to use more than one thread? That would probably not be applicable in the setting of a kernel module! (As far as I understand) so perhaps it's more fair to require ATLAS to use only one thread.
* did you tune ATLAS for your hardware, especially CPU cache size? You can do the same for Eigen, then. For example with the development version it's
EIGEN_TUNE_FOR_CPU_CACHE_SIZE, see in the file Macros.h.
