[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#367028: ITP: cpulimit -- limits the cpu usage of a process

Hash: SHA1

gregor herrmann wrote:
> On Fri, May 12, 2006 at 05:34:23PM -0500, Ron Johnson wrote:
>>>   Description     : limits the cpu usage of a process
>>>  cpulimit is a simple program that attempts to limit the cpu usage of a
>>>  process (expressed in percentage, not in cpu time). This is useful to
>>>  control batch jobs, when you don't want then to eat too much cpu. It does not
>>>  act on the nice value or other priority stuff, but on the real cpu usage.
>> I thought nice was supposed to handle these kinds of things, and
>> that a busy CPU is a *good* thing.
> On an otherwise idle box even a process (re-)niced to 19 uses all the
> CPU. That might be desirable often but in other cases (e.g. when
> CPU temperature is an issue) you might still want to say "assign this
> process only xy% of CPU resources".

Roll-your-own CPU scaling...

- --
Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


Reply to: