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] maximum domU performance

To: Jeff Sturm <jeff.sturm@xxxxxxxxxx>
Subject: Re: [Xen-users] maximum domU performance
From: Bruce Edge <bruce.edge@xxxxxxxxx>
Date: Thu, 15 Oct 2009 09:03:57 -0700
Cc: "Fajar A. Nugraha" <fajar@xxxxxxxxx>, Zu <zuzhihui@xxxxxxxxx>, Xen User-List <Xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 15 Oct 2009 09:04:42 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=CsYYL5LvO+2JLHwt8Radj6xNKuJdHZBdlE6PZh1iOW8=; b=GnEd21bpFoJpuj/bb5h9MO4SY5cT4scxyOm1rZRs9xXvyzefZjNaxpEEJ6/xPo+Y22 EUxi5VVO0MgvuWsBi/6Abpct0s3j3DM1esGr/Kf/Nx6kk73onFBtZ7pQ45iDPGQyQ9Nc mDig+Z3V00kRjFj6uya8jY697wee3G7vtgPm8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=bxrT9gx9+E/ZSM3DzDEP58UVMzRtulHxRTb8EjaSXGbF7lj2ojy4IILrxYrqfWeoec f6hZPYpjEf+ojSyDdRN8d5qhHEpshzS058EWOSInwpio5tJxoRTPajJf4G2xzS3dkugj 0F8f8BEsP3WwUrRfX3k/FZamG0i3N/hgrluO0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <64D0546C5EBBD147B75DE133D798665F03F3ED3E@xxxxxxxxxxxxxxxxx>
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: <64360a0d0910132033p32e51013ue50c05f3e77fad7e@xxxxxxxxxxxxxx> <7207d96f0910132331v68ee14e2l91a69c991cd7e593@xxxxxxxxxxxxxx> <45c43ef50910141153t4c941abdo6384dd9176dc1548@xxxxxxxxxxxxxx> <64D0546C5EBBD147B75DE133D798665F03F3ED3E@xxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, Oct 15, 2009 at 7:40 AM, Jeff Sturm <jeff.sturm@xxxxxxxxxx> wrote:
>> -----Original Message-----
>> What if the dom0 has no tasks once the domU is up and running?
>> eg: disable syslog, cron, etc on dom0
>> Can one assign all cores to the domU?
>> Or, must one core remain idle dedicated to handling dom0 processing?
>
> Dom0 can share a core, but it'll be timesliced if the dom0 has things to
> do.  Which may not be good overall.  I like to pin dom0 to one (or more)
> core, and leave everything else to domU.
>
> Whether this helps you or not depends on what the domU is doing.  If
> your domU is compute-intensive, it may benefit from having access to all
> cores.  But if it routinely does any block or network I/O, the dom0
> needs to get involved, since that's where the backend drivers usually
> run.  And if dom0 has to wait for a CPU to  become available, that may
> delay domU I/O.
>
> -Jeff
>

This clarifies a lot, thanks Jeff.
I'm not intentionally being thick, but I want to cover all possibilities :-)
To extrapolate from that, if I wanted to avoid having dom0 competing
for a core, I would have to pass through any devices the domU needed
to access, or have hardware that supports sr-iov?

Just for the sake of argument, if I could eliminate all hardware
proxying requirements of the dom0, would a domU be able to hold on to
all the cores, or would the dom0 or  hypervisor still periodically
"steal" a core?

-Bruce

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