Performance Analysis and Dynamic Optimization of Real-Time Thread Pools

The Thread Pool technology is widely used in many multithread applications.However,there still remains no satisfied way to determine the thread pool size.The paper analyses the processing procedure of tasks in the thread pool,and the time needed by each task in every phase when the thread pool has the right size.We provide a way to estimate the performance,and dynamically change the thread pool size.