Re: [CentOS-virt] what scheduling algorithm does KVM use?

2010-11-19 Thread Nick
On 19/11/10 00:11, Kenni Lund wrote: I think cgroups is the solution, if you want to guarantee resources to some guests. I haven't tested it with KVM, but perhaps nice and ionice can be useful as well...the guests are just Linux processes after all. Just to clarify, it isn't that *I* want to

[CentOS-virt] what scheduling algorithm does KVM use?

2010-11-18 Thread Nick
This may not be the best place to ask, but I was prompted by a question about guest cores on KVM. We currently use VMWare Server (v1.0) on CentOS5. It supports up to two virtual CPUs, but not very well, as I understand it. VMWare Server 2.0 might do better at supporting the same maximum of 2

Re: [CentOS-virt] what scheduling algorithm does KVM use?

2010-11-18 Thread Kenni Lund
2010/11/19 Nick oinksoc...@letterboxes.org: The problem with this is that it is obviously more of a constraint to have two physical CPUs available.  Therefore adding virtual CPUs to a co-scheduled VM can actually make performance worse if the physical CPUs are under any sort of contention.  

Re: [CentOS-virt] what scheduling algorithm does KVM use?

2010-11-18 Thread Nick
Thanks for the quick reply. On 18/11/10 23:45, Kenni Lund wrote: The good thing about KVM compared to other virtualization solutions, is that KVM doesn't try to reinvent the wheel. It leaves scheduling to the Linux kernel, so whatever your Linux system is setup to use, KVM will use that. You

Re: [CentOS-virt] what scheduling algorithm does KVM use?

2010-11-18 Thread Kenni Lund
2010/11/19 Nick oinksoc...@letterboxes.org: Thanks for the quick reply. On 18/11/10 23:45, Kenni Lund wrote: The good thing about KVM compared to other virtualization solutions, is that KVM doesn't try to reinvent the wheel. It leaves scheduling to the Linux kernel, so whatever your Linux