Rogelio Bazan
2011-Mar-08 17:41 UTC
[Xen-users] how many vcpu''s can be allocated by Core in a Xen Host ?
Hi all, if my Xen host has 16 cpus (Cores), how many vcpu''s can be assigned to my xen guests? Thanx _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Freddie Cash
2011-Mar-08 18:37 UTC
Re: [Xen-users] how many vcpu''s can be allocated by Core in a Xen Host ?
On Tue, Mar 8, 2011 at 9:41 AM, Rogelio Bazan <rogbazan@gmail.com> wrote:> if my Xen host has 16 cpus (Cores), how many vcpu''s can be assigned to my > xen guests?As many as you want. :) It all depends on the CPU workload of your VMs. If you have a workload that uses very little CPU, you can create a couple hundred VMs each with 1 vcpu. If you have a workload that uses a lot of CPU, you may be limited to 16 VMs each with 1 vcpu. If you have a workload that''s in the middle, then you can create a bunch of VMs as needed. Basically, monitor your CPU usage, and keep creating VMs as you have resources to support them. :) For example, we have an older Xen 3.x box with 2 physical CPUs running 4 VMs with a total of 5 vcpus. And another 2 CPU box wunning 7 VMs with a total of 8 vcpus. And we have a couple of KVM boxes with 4 CPUs running 8-10 VMs each with 1 vcpu. It all depends on your workload. -- Freddie Cash fjwcash@gmail.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
AP Xen
2011-Mar-08 18:53 UTC
RE: [Xen-users] how many vcpu''s can be allocated by Core in a Xen Host ?
If you are on Xen 4.0, you can go up to 128 cores for your guest. During the Xen 3.x period, the VCPU limit for a guest was 32. I am not sure if the limit was upped during one of the sub releases like 3.4 etc. You should know that it is not advisable to allocate more VCPUs than number of LCPUs present. You will run in to spinlock issues. AP From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of Rogelio Bazan Sent: Tuesday, March 08, 2011 9:41 AM To: Xen-users@lists.xensource.com Subject: [Xen-users] how many vcpu''s can be allocated by Core in a Xen Host ? Hi all, if my Xen host has 16 cpus (Cores), how many vcpu''s can be assigned to my xen guests? Thanx _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users