FS#58563 - [r] Switch to openblas to improve performance?
Attached to Project:
Arch Linux
Opened by Alex (zreeon) - Saturday, 12 May 2018, 15:56 GMT
Last edited by Antonio Rojas (arojas) - Monday, 02 July 2018, 09:49 GMT
Opened by Alex (zreeon) - Saturday, 12 May 2018, 15:56 GMT
Last edited by Antonio Rojas (arojas) - Monday, 02 July 2018, 09:49 GMT
|
Details
Description:
openblas in [community] gives consistently better performance for me than the default blas in [extra]. Running this script[1], for example, with the default blas takes 36.963 seconds. With openblas it takes 7.109 seconds. Additional info: * r version 3.5.0-1 [1]: http://r.research.att.com/benchmarks/R-benchmark-25.R |
This task depends upon
Closed by Antonio Rojas (arojas)
Monday, 02 July 2018, 09:49 GMT
Reason for closing: Fixed
Additional comments about closing: added optdepend in 3.5.1
Monday, 02 July 2018, 09:49 GMT
Reason for closing: Fixed
Additional comments about closing: added optdepend in 3.5.1
To be constructive, other alternatives that I would find more appropriate:
- Adding openblas to optdepends
- Switching all blas linked packages to sodeps so users get to choose explicitly at install time
In any case, this is something that should be discussed for all packages using blas, not on a case by case basis.
Some interesting links from that wiki:
- https://github.com/tmolteno/necpp/issues/18
- http://blog.nguyenvq.com/blog/2014/11/10/optimized-r-and-python-standard-blas-vs-atlas-vs-openblas-vs-mkl/
- https://freddie.witherden.org/pages/blas-gemm-bench/
- http://nghiaho.com/?p=1726