CodePudding user response:
Sometimes high sometimes lowIt's normal
Thread will be awakened by the operating system control
CodePudding user response:
Oh, thanks, is there any way to improve the utilization rate of CPU, and is basically dealing with the first time is fast, the batch processing time and CPU utilization is very stable, using multithreading is hoped to improve the efficiency of the algorithm,CodePudding user response:
Improve the thread priority, at the same time, set the number of threads you is about 2 times of CPU cores to improve performanceCodePudding user response:
For dual-core CPU support four thread, I also used in the four threads, all threads and set to the highest priority, still is this effectCodePudding user response:
Improve your thread priority, even end off other accounts for the CPU program (not recommended)CodePudding user response:
Check your thread scheduling, 50% means that you are likely to only one thread in work,CodePudding user response:
The building Lord, if it is double CPU open two worker threads works bestCodePudding user response:
Search "Mao Decao thread scheduling." "