In the Windows Server 2008 R2 Enterprise, are there any restrictions for the CPU usage of the process ?
2012년 2월 28일 화요일 오전 3:42
Hello! I have the follow question to ask.
In the operate system ,I write a multithread program, in order to test the highest CPU usage when the certain number of the thread are concurrent.
The experimental data is as follow:
the thread number the highest usage of CPU
Conclusion:The number of thread is from 25 to 1000, the highest usage of CPU fluctuates between 28 and 32.
1、 Why not the usage of CPU is higher than 32%?
2、 In the Windows Server 2008 R2 Enterprise, are there any restrictions for the CPU usage of the process ?
2012년 3월 1일 목요일 오후 7:39소유자
It sounds like there are some blocking calls (sleep, mutex, critical sections, events, i/o etc) that maybe in your application. That can explain why you arent seeing your CPU pegged.
Take a look at the concurrency visualizer that our team has created. (available in Visual Studio 2010 as well as Visual Studio 11 Beta). The visualizer lets you identify excactly why each thread is blocked, and what was scheduled on each CPU.
Rahul V. Patil