public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Reserving CPU resources for a KVM guest
@ 2008-08-22 20:21 Yuksel Gunal
  2008-08-23 21:58 ` Dor Laor
  0 siblings, 1 reply; 2+ messages in thread
From: Yuksel Gunal @ 2008-08-22 20:21 UTC (permalink / raw)
  To: kvm

Hi,

I have been playing with KVM and was wondering about the following question: 
is there a resource configuration setting that would enforce a fraction of 
CPU to be guaranteed for a KVM guest?  What I have on mind is something 
similar to the "reservation" setting on VMware (used to be called minimum 
CPU), which guarantees a number of CPU cycles to a VM.  Also, any 
configuration setting similar to CPU/Memory Shares setting in VMware, which 
will kick in under contention for resources?

Regards,

Yuksel Gunal 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Reserving CPU resources for a KVM guest
  2008-08-22 20:21 Reserving CPU resources for a KVM guest Yuksel Gunal
@ 2008-08-23 21:58 ` Dor Laor
  0 siblings, 0 replies; 2+ messages in thread
From: Dor Laor @ 2008-08-23 21:58 UTC (permalink / raw)
  To: Yuksel Gunal; +Cc: kvm

Yuksel Gunal wrote:
> Hi,
>
> I have been playing with KVM and was wondering about the following 
> question: is there a resource configuration setting that would enforce 
> a fraction of CPU to be guaranteed for a KVM guest?  What I have on 
> mind is something similar to the "reservation" setting on VMware (used 
> to be called minimum CPU), which guarantees a number of CPU cycles to 
> a VM.  Also, any configuration setting similar to CPU/Memory Shares 
> setting in VMware, which will kick in under contention for resources?
>
VM is like any other process in Linux, you can use cpu controller, 
cgroups or any other scheduling option for your VMs.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-23 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-22 20:21 Reserving CPU resources for a KVM guest Yuksel Gunal
2008-08-23 21:58 ` Dor Laor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox