> -----Original Message-----
> From: Eugene Morozov
> Sent: Friday, September 08, 2006 9:55 AM
> Subject: [uml-user] Limit CPU usage
> Is it possible to limit CPU usage of an UML instance and processes
> running inside it? I've searched archives of this mailing lists and
> there're only several messages written more than year ago and it is
> not clear from these messages whether limiting cpu usage is possible
> with uml.
The recommended solution to this issue is to set a priority for the UML
process. While not perfect, you can "nice" the process and give other
processes a higher priority. Several months ago I posted the source code
to a utility that allows individuals to chroot and "nice" processes. If
you're interested, it should be in the list archives.
Of course this doesn't address I/O contention. In terms of actual
"limits", I don't believe this is currently available with a standard
install. However, you may be able to do something with grsecurity,
selinux, or something similar.
Let us know what you decide on and how well it works.