On Friday 08 September 2006 19:11, Brock, Anthony - NET wrote:
> > -----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.
ionice exists and works when CFQ scheduler is enabled, with recent host 
kernels. Chris Aker also posted a patch (time ago) for the UBD driver to make 
it limit itself (via a token bucket).
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-------------------------------------------------------------------------
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

Reply via email to