Setting maximum CPU usage per process in Windows [closed]

折月煮酒 提交于 2020-07-17 06:10:14

问题


Is there a way to set the maximum CPU usage for a process in Windows 7?


回答1:


You could check out "CPU rate limits in Windows Server 2008 R2 and Windows 7" - http://technet.microsoft.com/en-us/library/ff384148%28WS.10%29.aspx

But be aware of the warning in http://blogs.iis.net/thomad/archive/2010/02/15/put-the-brakes-on-your-application-pools-cpu-rate-limits-in-windows-7.aspx. It says: Now here comes the drawback. The CPU Rate Limit feature has a bug. The kernel is holding on to a handle to the quota object and never lets go of it. This means once you set the CPU rate limit to a particular percentage you can't change this percentage without rebooting the machine. We are working on fixing it - not sure when we'll have a fix though. I have no idea if this bug is fixed.




回答2:


BES: http://mion.faireal.net/BES/

It's maintained and GPL'ed too.




回答3:


Open Task Manager. Right click on the process you want more CPU usage and select the Priority level you want.



来源:https://stackoverflow.com/questions/4326293/setting-maximum-cpu-usage-per-process-in-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!