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-devel

Re: [Xen-devel] Cpu pools discussion

To: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Subject: Re: [Xen-devel] Cpu pools discussion
From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Date: Tue, 28 Jul 2009 15:39:50 +0200
Cc: George Dunlap <dunlapg@xxxxxxxxx>, Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <Keir.Fraser@xxxxxxxxxxxxx>
Delivery-date: Tue, 28 Jul 2009 06:40:20 -0700
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1248788448; x=1280324448; h=from:sender:reply-to:subject:date:message-id:to:cc: mime-version:content-transfer-encoding:content-id: content-description:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-message-id:in-reply-to: references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; z=From:=20Juergen=20Gross=20<juergen.gross@xxxxxxxxxxxxxx> |Subject:=20Re:=20[Xen-devel]=20Cpu=20pools=20discussion |Date:=20Tue,=2028=20Jul=202009=2015:39:50=20+0200 |Message-ID:=20<4A6EFFA6.3000405@xxxxxxxxxxxxxx>|To:=20Ti m=20Deegan=20<Tim.Deegan@xxxxxxxxxx>|CC:=20George=20Dunla p=20<dunlapg@xxxxxxxxx>,=20=0D=0A=20Zhigang=20Wang=20<zhi gang.x.wang@xxxxxxxxxx>,=0D=0A=20"xen-devel@xxxxxxxxxxxxx ce.com"=20<xen-devel@xxxxxxxxxxxxxxxxxxx>,=20=0D=0A=20Kei r=20Fraser=20<Keir.Fraser@xxxxxxxxxxxxx>|MIME-Version:=20 1.0|Content-Transfer-Encoding:=207bit|In-Reply-To:=20<200 90728133134.GK5235@xxxxxxxxxxxxxxxxxxxxx>|References:=20< de76405a0907270820gd76458cs34354a61cc410acb@xxxxxxxxxxxxx m>=09<4A6E492D.201@xxxxxxxxxx>=09<20090728091929.GI5235@y ork.uk.xensource.com>=09<4A6ECFD3.4030709@xxxxxxxxxxxxxx> =09<de76405a0907280550j1ff82f1dq507f0258f138c477@xxxxxxxx il.com>=09<20090728130701.GJ5235@xxxxxxxxxxxxxxxxxxxxx> =09<4A6EFC11.9010404@xxxxxxxxxxxxxx>=20<20090728133134.GK 5235@xxxxxxxxxxxxxxxxxxxxx>; bh=Yh7aISE7DVB4ZTdCCNEld9HyKEPhtJd2Odls0QL43kE=; b=WAmTDiE4v9ZiXoF/dI3QQyfCHPYICSHjyZe8HkVMt8p3EoRqo/YmbhIh xeDwhS45FAl280XwP7P6UKMHevAcVFXtpBGhssURa35eIXxDilMYbCYIm eh4v3Eb7peshShRfGoLyLuPJrl3IhFn4ji81IlbF1Ms9pCSvyTGyDobVY V95J047JyV4HMDIRJEIC7Fpm/ymjbCNEI7RaoqKTLy3SJMDi0bAybVcnG zkrjjZn1zItW/sZuiSHSzelpEZMdH;
Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:X-Enigmail-Version:Content-Type: Content-Transfer-Encoding; b=QUNU5bv9i0HRfol7msuVqFvnVlkL53Sz5JNjfg2Ql5Qk1tFsilz2ocXl nETKWS/9dQiJC8y5Eym313RSnXWbRlqDL/GtDKFX1qGUmbwhbhZkM+irY 9VemAQJ2xZvPm6QlVn+b92cmojrlCjSHm5UvU5vYUNZUPLYGLUM5rnfmy tQRgx9q8GmjzpXiOwreiRJZm1Yht+RbS1cRxszuwRJjrCXvfmC2QrwptH B+I5+hEXQ4sO98L+B3HTYXTTzLikH;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20090728133134.GK5235@xxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Fujitsu Technology Solutions
References: <de76405a0907270820gd76458cs34354a61cc410acb@xxxxxxxxxxxxxx> <4A6E492D.201@xxxxxxxxxx> <20090728091929.GI5235@xxxxxxxxxxxxxxxxxxxxx> <4A6ECFD3.4030709@xxxxxxxxxxxxxx> <de76405a0907280550j1ff82f1dq507f0258f138c477@xxxxxxxxxxxxxx> <20090728130701.GJ5235@xxxxxxxxxxxxxxxxxxxxx> <4A6EFC11.9010404@xxxxxxxxxxxxxx> <20090728133134.GK5235@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707)
Tim Deegan wrote:
> At 14:24 +0100 on 28 Jul (1248791073), Juergen Gross wrote:
>>> Does strict partitioning of CPUs like this satisfy everyone's
>>> requirements?  Bearing in mind that 
>>>
>>>  - It's not work-conserving, i.e. it doesn't allow best-effort
>>>    scheduling of pool A's vCPUs on the idle CPUs of pool B.
>>>
>>>  - It restricts the maximum useful number of vCPUs per guest to the size
>>>    of a pool rather than the size of the machine. 
>>>
>>>  - dom0 would be restricted to a subset of CPUs.  That seems OK to me
>>>    but occasionally people talk about having dom0's vCPUs pinned 1-1 on 
>>>    the physical CPUs.
>> You don't have to define other pools. You can just live with the default pool
>> extended to all cpus and everything is as today.
> 
> Yep, all I'm saying is you can't do both.  If the people who want this
> feature (so far I count two of you) want to do both, then this
> solution's good not enough, and we should think about that before going
> ahead with it.

Okay.

I think your first point is the most important one.
It might be possible to build a load balancing scheme to shift cpus between
pools dynamically, but this should be step 2, I think :-)
But it would be a nice project :-)


Juergen

-- 
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 636 47950
Fujitsu Technolgy Solutions               e-mail: juergen.gross@xxxxxxxxxxxxxx
Otto-Hahn-Ring 6                        Internet: ts.fujitsu.com
D-81739 Muenchen                 Company details: ts.fujitsu.com/imprint.html

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