-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The Tuesday 2007-01-30 at 17:39 +0800, Zhang Weiwu wrote:
> It's easy to google if something can be done, but not so easy to google
> out wheather if something cannot be done so here can some guru please
> let me know if I can define maximum per-user cpu share?
>
> I got this question because I have a X Terminal Server (x client in X
> terminology) which 10 people connect to it through X terminals.
> Sometimes one user access a flashy website and firefox took 100% percent
> of CPU resource, slowing everyone down. So I'd like to configure SuSE to
> give any user not more than 80% of full cpu resource, or automatically
> use 'nice' to turn down the priority of the proces that sucks CPU
> resource most. I have checked /etc/security/limits.conf and cannot find
> an option that can do this.
I'm not aware of such a posibility.
However, you may have a look at some kernel compile options that might
help. For instance
"Preemption Model (Voluntary Kernel Preemption (Desktop)) --->"
"Timer frequency "
"IO Schedulers ---->"
But I don't know how to tweak process scheduling, even if possible.
- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFFv6vStTMYHG2NR9URAtWdAJwJXVlhYPv8dALwuFZIGfqcXsJGYgCfU0VN
Ae9gyeX/4/M4+ao4TJJ9K7I=
=y1gC
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]