> -----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. Tony ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user