You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

GotoBLAS_06WeirdPerformance.txt 894 B

12345678910111213141516171819202122
  1. Weird Performance
  2. 1. If you see serious performance loss (extremely low performance),
  3. probably you created too many threads or process. Basically GotoBLAS
  4. assumes that available cores that you specify are exclusively for
  5. BLAS computation. Even one small thread/process conflicts with BLAS
  6. threads, performance will become worse.
  7. The best solution is to reduce your number of threads or insert
  8. some synchronization mechanism and suspend your threads until BLAS
  9. operation is finished.
  10. 2. Simlar problem may happen under virtual machine. If supervisor
  11. allocates different cores for each scheduling, BLAS performnace
  12. will be bad. This is because BLAS also utilizes all cache,
  13. unexpected re-schedule for different core may result of heavy
  14. performance loss.
  15. Anyway, if you see any weird performance loss, it means your code or
  16. algorithm is not optimal.