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

Re: [Xen-devel][PATCH] libxc bitmap utils and vcpu-affinity


  • To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • From: Dulloor <dulloor@xxxxxxxxx>
  • Date: Tue, 23 Mar 2010 12:41:04 -0400
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
  • Delivery-date: Tue, 23 Mar 2010 09:44:37 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jQBcVU0K1rKIYIn/9DgzW2Spo8ZExOYjH7h509ux9OOMnAORG1AFWs6Y1GARcTYXai HL/zE7J9q1reH3SU5Py5f/3RyGYSu+nngkAzfzvQxW/1DNy4e8YI7MCrUvAxNXRiZiqf hOX1RihIqgHcX16RHN2/tsFZAP3c2ZotsjcBs=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

I meant utils for **xenctl_cpumap**

On Tue, Mar 23, 2010 at 12:40 PM, Dulloor <dulloor@xxxxxxxxx> wrote:
> Fine, I agree with you both. Attached is a patch adding utils for
> xenctl_bitmap (to libxc) and using the same in vcpu_(get|set)affinity.
> For the guest-numa interface, I will see if I can use xenctl_cpumap.
>
> -dulloor
>
> On Tue, Mar 23, 2010 at 7:05 AM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> 
> wrote:
>> On 23/03/2010 10:10, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:
>>
>>>>>> Dulloor <dulloor@xxxxxxxxx> 22.03.10 18:44 >>>
>>>> Motivation for using xenctl_cpumask in Xen interfaces :
>>>> - xenctl_cpumap is just 4 bytes smaller than static xenctl_cpumask for
>>>> 128 cpus (128 would be good for quite some time). However, the new
>>>
>>> I don't buy this (we're already building for 256 CPUs, looking forward
>>> to further bump this in the not too distant future), and I'm generally
>>> opposed to introducing hard coded limits in a public interface.
>>
>> We should use xenctl_cpumask everywhere for specifying physical CPU bitmaps,
>> even into guest NUMA interfaces if appropriate. I don't really care if it is
>> a bit harder to use than a static bitmap.
>>
>>  -- Keir
>>
>>
>>
>

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