[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] CPU scheduling and allocated all VCPU.
Provisioning each domU with a count of VCPUs equal to the PCPUs is not a good idea, especially for database type workloads. The problem is that Xen does not allow domUs any way to tell whether the resources presented to them are being utilized by anyone else - as such, when two domUs are under load, they will each attempt to use all 32 VCPUs they see available to them. Each domU, even those experiencing minimal load of their own, will then have to fight for processor time and the Xen scheduler will also be attempting to handle all the requests while fighting for its own processor time. Suffice to say, this is suboptimal.
If you're really desperate to squeeze all the possible performance out of this host, the easiest way to do it is to skip Xen and just run everyone on shared bare metal - each process will see the full 32 cores available, and there won't be any hypervisor overhead. However, I assume you're using Xen for good reason, so my suggestion would be to set up some system on the dom0 to dynamically allocate VCPUs to domUs - this allows you to 'burst' performance such that a single domU could have the lion's share of the host's CPU cycles, while avoiding a scenario where every host is attempting to use every cycle the machine offers. It's not an out-of-the-box solution and how well it would play with oracle is anyone's guess, but it's definitely better than hoping that no two domUs try and make use of the resources they're given at the same time.
Also, as a fairly irrelevant aside if 16 of those PCPUs are from SMT (hyper-threading) you may want to test to see how well you perform with SMT disabled, as there's substantial anecdotal reports of it decreasing performance.
On Tue, Jul 1, 2014 at 3:51 PM, lee <lee@xxxxxxxxxxxxxxx> wrote: Sophie <sophie@xxxxxxxxxxxx> writes: _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |