在Windows中设置每个进程的最大CPU使用率 [英] Setting maximum CPU usage per process in Windows

查看:463
本文介绍了在Windows中设置每个进程的最大CPU使用率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以为Windows 7中的进程设置最大CPU使用率?

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

推荐答案

您可以签出 Windows Server 2008 R2和Windows 7中的CPU速率限制- http://technet.microsoft.com/zh-cn/library/ff384148%28WS.10%29.aspx

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

但是请注意警告在 http://blogs.iis.net/thomad/archive/2010/02/15/put-the-brakes-on-your-application-pools-cpu-rate-limits- in-windows-7.aspx 。它说:
现在出现了缺点。 CPU速率限制功能有一个错误。内核坚持配额对象的句柄,并且永不放弃。这意味着,一旦将CPU速率限制设置为特定百分比,就必须重新启动计算机才能更改该百分比。我们正在努力修复它-不确定何时会得到修复。我不知道此错误是否已修复。

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.

这篇关于在Windows中设置每个进程的最大CPU使用率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆