public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM: Bump maximum vcpu count to 64
@ 2009-12-27 15:00 Avi Kivity
  2009-12-27 18:29 ` Marcelo Tosatti
  0 siblings, 1 reply; 2+ messages in thread
From: Avi Kivity @ 2009-12-27 15:00 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: kvm

With slots_lock converted to rcu, the entire kvm hotpath on modern processors
(with npt or ept) now scales beautifully.  Increase the maximum vcpu count to
64 to reflect this.

Signed-off-by: Avi Kivity <avi@redhat.com>
---
 arch/x86/include/asm/kvm_host.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index 6c8c7c5..741b897 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -25,7 +25,7 @@
 #include <asm/mtrr.h>
 #include <asm/msr-index.h>
 
-#define KVM_MAX_VCPUS 16
+#define KVM_MAX_VCPUS 64
 #define KVM_MEMORY_SLOTS 32
 /* memory slots that does not exposed to userspace */
 #define KVM_PRIVATE_MEM_SLOTS 4
-- 
1.6.5.3


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

* Re: [PATCH] KVM: Bump maximum vcpu count to 64
  2009-12-27 15:00 [PATCH] KVM: Bump maximum vcpu count to 64 Avi Kivity
@ 2009-12-27 18:29 ` Marcelo Tosatti
  0 siblings, 0 replies; 2+ messages in thread
From: Marcelo Tosatti @ 2009-12-27 18:29 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm

On Sun, Dec 27, 2009 at 05:00:46PM +0200, Avi Kivity wrote:
> With slots_lock converted to rcu, the entire kvm hotpath on modern processors
> (with npt or ept) now scales beautifully.  Increase the maximum vcpu count to
> 64 to reflect this.
> 
> Signed-off-by: Avi Kivity <avi@redhat.com>

Applied, thanks.


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

end of thread, other threads:[~2009-12-27 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-27 15:00 [PATCH] KVM: Bump maximum vcpu count to 64 Avi Kivity
2009-12-27 18:29 ` Marcelo Tosatti

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