Re: CPU Usage for particular User Login

From: Nuno Silva
Date: Thu Oct 09 2003 - 17:44:42 EST




Maciej Zenczykowski wrote:
You can also run a lot of top programs, each for one user (type 'u' while in top).

Regards,
Nuno Silva


nb. is their a way to get fair 'equal time / proc percentage per user' queueing of the CPU(s).

Yes. Rik, IIRC, has a "fair cpu scheduler". I've seen several version of this patch to 2.4. Not sure about 2.6, thou...

You may also want to inspect CKRM (Class-based Kernel Resource Management) in http://ckrm.sourceforge.net/

Regards,
Nuno Silva



i.e. not limiting the number of processes/user but limiting the total CPU 'power' in use by a given user, something like the CBQ network schedulers... perhaps with some classes (like root) more priveledged etc... or is this something for 2.7?

Cheers,
MaZe.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/