Mysticial / y-cruncher

Bug-Tracking and open-sourced parts of y-cruncher.
203 stars 15 forks source link

Investigate why TBB sometimes has terrible CPU utilization. #14

Open Mysticial opened 6 years ago

Mysticial commented 6 years ago

On a system with a lot of cores, run:

With Task Manager opened, observe the CPU when it gets to the base conversion. Compare it with Push Pool, and Cilk Plus. TBB has absolutely terrible CPU utilization whereas Push Pool and Cilk Plus are fine.

Questions:

Confirmed Repro on:

Mysticial commented 3 months ago

6 years later and this remains a problem with the latest TBB. Though it isn't as bad and it it's inconsistent. Sometimes it's fast, other times it's slow. It varies heavily from run to run.

image

On the other hand, The latest TBB seems to handle multiple processor groups better than Cilk Plus.