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

Re: [Xen-devel] Cpu pools discussion


  • To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Thu, 30 Jul 2009 10:58:16 +0200
  • Cc: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>, George Dunlap <dunlapg@xxxxxxxxx>, Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 30 Jul 2009 01:59:08 -0700
  • 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=Uc4IfjLvQkM5DfIf2UDk9grEfdRr0PfsgJdbKEdLzTqyGy2tUtTuEQXx bULY2PkaDze70yxQsti2720CPdcu/vsRDt4NkO0EHqfIkjS24rRvv7EN+ ktg6WLgd645/jA3waroOdSU523vz1kXGwGGH5deL+IuYmnRVqXRDoYndz X6yPp3oSVcBX3lCbFfEGs02Im/50ASQnBDSu9SjecxhJS93t4vJE6Rkue JeWDqfQAeGMFQaIgqBCwwYx/ujqF4;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Keir Fraser wrote:
> CPU hotplug raises a question in relation to cpupools, by the way. What pool
> does a cpu get added to when it is brought online? And what do you do when
> someone offlines a CPU (e.g., especially when it is the last in its pool)?
> In that latter case, have you not considered it, or do you refuse the
> offline, or do you somehow break the pool affinity so that domains belonging
> to it can run elsewhere?

These cases are already covered by my patch.
A new cpu is always added to the "free pool". It can then be assigned to any
pool. Perhaps it would be better to add it to pool 0, but that's a minor
detail, I think.
Offlining the last cpu of a pool with active domains is refused.


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


 


Rackspace

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