![](https://seccdn.libravatar.org/avatar/54e7c145ef2402a084a020a528f109d6.jpg?s=120&d=mm&r=g)
Am Sonntag, 15. März 2009 schrieb Carlos E. R.:
On Sunday, 2009-03-15 at 16:03 +0100, Jan Ritzerfeld wrote:
Am Samstag, 14. März 2009 schrieb Carlos E. R.:
[...]. Another related question, is whether it would be possible to limit a process to having, say, 20% of the cpu. [...].
http://cpulimit.sourceforge.net/ http://download.opensuse.org/repositories/home:/etrash/
This looks just like it.
At least, it seems worth trying.
A wild idea would be running the process as child of another, and the parent issuing sigstops/sigconts intermittently.
| Now cpulimit does limit also the children of the specified process. | The code is still experimental, so let me know how it is.
It seems my idea is not so wild, after all.
Right! :-D
Still, doing this in userspace I suppose is not so efficient as if the kernel could do it directly in the scheduler.
I do not know. http://linux-vserver.org/CPU_Scheduler#Token_Bucket_Extension http://en.wikipedia.org/wiki/OpenVZ#CPU_scheduler For keeping the average(!) CPU temperatue low, this should be sufficient. Gruß Jan -- If you can't measure it, I'm not interested. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org