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] [PATCH] xl cpupool-numa-split: reduce number of Dom0 vcp

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xl cpupool-numa-split: reduce number of Dom0 vcpus
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
Dkim-signature: v=1; a=rsa-sha256; c=simple/simple; d=ts.fujitsu.com; i=juergen.gross@xxxxxxxxxxxxxx; q=dns/txt; s=s1536b; t=1297749734; x=1329285734; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to; bh=VR/QH3JlqfzL7hvVGdBbb1FEigtE+RHwt/xpWGm+MK4=; b=W7uwA65dyknAfRAbBi4ZqPJlIOy9KguQKmt/FgQwGAIeMBJrLZ5Naxrt 7Wmfe/N2HiKzHkAtHdR4OMP3OuxfXclIX7+cxJMXelwq90Ezk2DlcXiRT ORE5q+0OE2TzIm4P6Ls6bYGuswQd+clhwONzJwj8xrYPgYOWVD0X2zMVm OV4QP1tIjqllI9LG0dxPWBE7GxWYJh5ze4aQY7uk0On6xjYQEFDhaCW8a OFok/RkOeVJnxm4uNYDb5/VwScRi3;
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;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19801.19977.577959.1306@xxxxxxxxxxxxxxxxxxxxxxxx>
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: <fdcb4e8eb4bb02f2c14b.1297680429@nehalem1> <AANLkTinTmULFdrvgo9P7d+1sejt6-5cQqd_b=vib7Cw=@xxxxxxxxxxxxxx> <4D592A6F.9040700@xxxxxxxxxxxxxx> <19801.19977.577959.1306@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Iceowl/1.0b1 Icedove/3.0.11
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