WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] 2 DomU and 2 4-cores CPU

To: linuxmasterjedi@xxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] 2 DomU and 2 4-cores CPU
From: Michael Schmidt <michael.schmidt@xxxxxxxxxx>
Date: Fri, 09 Apr 2010 09:27:23 +0200
Cc:
Delivery-date: Fri, 09 Apr 2010 00:28:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <bcc74e52fe6c86a8bd47f048c9d964be@imap>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <9a948ddf214548a76a624f3b6fd43789@imap> <4BB5AB01.2060102@xxxxxxxxxx> <bcc74e52fe6c86a8bd47f048c9d964be@imap>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
Hi,

Xen has different CPU schedulers. The default is the credit scheduler - this is a "fair" scheduler.
Here cou can read more about it:

http://wiki.xensource.com/xenwiki/CreditScheduler

Mit freundlichen Gruessen / Best Regards

Michael SchmidtAm 09.04.10 09:09, schrieb L.M.J:        

On Fri, 02 Apr 2010 10:29:53 +0200, Michael Schmidt
<michael.schmidt@xxxxxxxxxx>  wrote:
Hi,

you can assign all DomUs all cores.
In the case of 100% utilization of both DomUs, the xen-scheduler
provides 50% CPU time from all the CPUs for each DomU.
If one DomU idles and the other one, need 100% CPU, it will get the
power of all the 8 Cores.
Thanks Michael for your fast reply. I would like to share what I've heard
from Vmware : when you assigned 4 CPU to a VM, Vmware wait to have 4 cores
free at the same time before give them to the VM which could slow down your
VM instead of speed up.
Is there the same issue with Xen ?


L.M.J schrieb:
Hi,

   With my college, I was wondering what is the best optimization for our
setup. I've got 2 VM with 16GB of RAM and 4 vCPU to each one. My server
got 2 CPU with 4 cores inside (makes 8 CPU). What produce the best
performance :
   1) Give ALL cpu to my 2 VM and each ones will take its 4 vCPU where it
can
   2) Give CPU 0-3 to VM1 and CPU 4-7 to VM2 : each vm own the 4 cores
from 1 CPU
   3) Give CPU 0,1,4,5 to VM1 and 2,3,6,7 to VM2 : mix cores  between the
both CPU
   Thanks by advance for any information or point me to any docs talking
about this !


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

<Prev in Thread] Current Thread [Next in Thread>