srowen commented on issue #27546: [SPARK-30773][ML]Support NativeBlas for level-1 routines URL: https://github.com/apache/spark/pull/27546#issuecomment-589079380 In your k-means test, are the executors fairly fully utilized? like with 8 cores, do they have 8 tasks? that's the situation in which MKL_NUM_THREADS might make a difference, as trying to use 8*8=64 threads might hurt. I can imagine just changing the logic in level 1 methods to use native if the array is, say, >= 256 elements. How about that? this should be a win.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
