[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] how many VCPUs per physical CPU?



The "right answer" depends on what you want to optimize for. Your webserver has human users for whom a 500ms delay has a measurable impact. How important are those users compared to snappy email?
If a vm has to wait, which vm should it be?
What workload, normal and peak, do you anticipate for each vm?

My prejudice, as someone who works with website performance is to maximize user experience, but only you know your business context.

I think that it's best to start simple and approach CPU tuning with a "trust but verify" mindset. I'd probably only dedicate a CPU for dom0, and

Sent from my iPhone

On Jul 6, 2009, at 8:48 AM, Peter Peltonen <peter.peltonen@xxxxxxxxx> wrote:

Hi list,

I have a machine with  Intel Xeon E5420 quad core processor and I'm
now wondering how to divide the CPU between all Xen instances.

I am running one qmail based mail server and several LAMP web servers.
The server OS is CentOS Linux.

What I've learnt from the archives is that dom0 should have its own
dedicated core.

But what about the rest, the mail server needs most CPU time, so I
could dedicate a core for it too. Would id benefit from having access
to the "pool" of the remaining cores too?

And what about VCPUs. Would a dom0 or domU benefit having say 2 VCPUs
and running an SMP kernel while in reality it is running only on 1
physical core?

Regards,
Peter

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.