There's CPU cgroups. It doesn't have exactly the ability you are after, but it is able to limit process(es) CPU usage. Maxing out CPU usage won't crash your server. The kernel will arbitrate sharing the CPU evenly among processes/VMs. --Brian Jackson On Thursday 02 April 2009 16:41:10 Francisco Mazzeo wrote: > Hello, > > I am a new user to KVM and was wondering if there was any way to > limit a VE from using up all the resources of the processor. > > > Right now I have a Quad core 2.5Ghz, I have a KVM VE (running windows > server 2003) and assigned 4 CPUs to it. If I max out the load for that > VE, the entire host node load will be 100% which may crash it if I > hosted more than 1 single VE. > > OpenVZ has cpulimit command, does KVM have something similar or any > way that I can implement a limit on a single VE? Say I want to only > give a max of 500Mhz per core, to total 2Ghz to the VE. > > Thanks > Francisco > www.navigatoris.net / www.serversoutlet.com > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html