Problem Statement
Which pool is best for a large number of short, independent CPU-bound tasks on an 8-core machine?
Explanation
For CPU-bound tasks, set the pool size near the number of cores to minimize context switches and maximize CPU utilization. Cached pools can oversubscribe threads and degrade performance.
Practice Sets
This question appears in the following practice sets: