-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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.
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. Still, doing this in userspace I suppose is not so efficient as if the kernel could do it directly in the scheduler. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkm9YDkACgkQtTMYHG2NR9XXYQCggxwhsHFuSf+/ZhvFx92uYgMH WscAnRNeY0b5v/VSsDvOcMsHdg2lpJWj =gyh1 -----END PGP SIGNATURE-----