From: Masaki Kanno Subject: RE: Problems about CPU Affinity Date: Sat, 19 May 2007 00:00:49 +0900 Message-ID: <5DC7995D5224CCkanno.masaki@jp.fujitsu.com> References: <907625E08839C4409CE5768403633E0B018E1D3B@sefsexmb1.amd.com> <8A87A9A84C201449A0C56B728ACF491E0BA6B0@liverpoolst.ad.cl.cam.ac.uk> <5CC7993E29FFB7kanno.masaki@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5CC7993E29FFB7kanno.masaki@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Masaki Kanno , Ian Pratt , "Petersson, Mats" , Saori Fukuta , xen-devel List-Id: xen-devel@lists.xenproject.org > >>> > I thought you could by specifying a list of physical CPUs? >>> > Perhaps this >>> > got broken by the xapi changes? >>> >>> No, the problem that the original post talks about, is that you can't >>> set affinity of individual VCPU's to individual PCPU's, e.g: >>> vcpus=2 >>> cpus=2 >> >>AFAIK, you used to be able to specify a list: >> vcpus=2 >> cpus = ["2,3,4","5,6,7"] > >Hi, > >I tried it. It does not work. > ># xm create cpus=["2,3,4","5,6,7"] vcpus=2 ./PVdomain.1 >Using config file "././PVdomain.1". >Error: cpus = [2,3,4,5,6,7]: invalid literal for int(): [2 ># xm create cpus="["2,3,4","5,6,7"]" vcpus=2 ./PVdomain.1 >Using config file "././PVdomain.1". >Error: cpus = [2,3,4,5,6,7]: invalid literal for int(): [2 > Hi Ian, Sorry, it was my mistake. I thought that the cpus parameter is able to specify a list currently. Could you tell me why the patch was not applied? Best regards, Kan