What cycle can be applied to best optimize the pool size based on the individual computer?

What cycle can be applied to best optimize the pool size based on the individual computer?



Answer: deploy-monitor-adjust: Set the initial pool size to the number of CPUs, and observe for a while to see how often the threads interact with the CPU or another contentious resource. For whichever resource is in lowest supply, the pool size can be increased by the ratio of time the CPU was not used divided by the total executing time


Learn More :

Multithreading and Concurrent Processing

Learn More Multiple Choice Question :