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

Re: [Xen-devel] [PATCH] xl cpupool-numa-split: reduce number of Dom0 vcpus


  • To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Tue, 15 Feb 2011 07:02:11 +0100
  • Cc: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 14 Feb 2011 22:03:15 -0800
  • 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:Content-Type; b=pp2B6ClxFLiIwCjEqa9kXSJM9JD9FY++Y26I8Bil3JNK1s58E/cEYWyY aPlJNAhct1MAvaR3utVC0U87R6l85AorhyotcCtF3OaFMjUsJKEfMHCAo 80OyCucO3xN9+idSD31ebwxh8hBvRpoflcVknvOggSmY/zz7PEXSf+rHf Ti9ny6O+0hkHStpS/u+RM7EL5SKhvm6jjMXzmcRa84zwT+FnipLm+nUL9 HP18t1z0cJvXOdFF/w6ZTrgcCW4cc;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On 02/14/11 16:45, Ian Jackson wrote:
Juergen Gross writes ("Re: [Xen-devel] [PATCH] xl cpupool-numa-split: reduce number 
of Dom0 vcpus"):
On 02/14/11 13:36, George Dunlap wrote:
Is looping 10 times really the best option?

Oops! Forgot the sleep(1) :-(
What about this one?

Um, are you sure ?  It still doesn't seem to have a sleep and you
haven't answered George's question ...

Sigh. Modifying the patch isn't enough, have to send the modified version...

Regarding the question: libxl_set_vcpuonline() is asynchronous. It will
trigger the offlining (or onlining) of vcpus, but the result is not checked
and will happen sometimes in the future, if ever. So some kind of timeout
seems to be a good idea. 10 seconds should be enough to do the work.

I added a failure exit if not all required vcpus are offlined.


Juergen

--
Juergen Gross                 Principal Developer Operating Systems
TSP ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
Fujitsu Technology Solutions              e-mail: juergen.gross@xxxxxxxxxxxxxx
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html

Attachment: xen-work.patch
Description: Text Data

_______________________________________________
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®.