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

Re: [Xen-devel] [PATCH] numa: select nodes by cpu affinity



On 08/04/2010 04:38 PM, Keir Fraser wrote:
> Changeset 21913 in http://xenbits.xen.org/staging/xen-unstable.hg
> 
>  -- Keir
> 
> On 04/08/2010 13:38, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx> wrote:
> 
>> Good idea. I will take this and rework it a bit and check it in.
>>
>>  Thanks,
>>  Keir
>>
>> On 04/08/2010 13:04, "Andrew Jones" <drjones@xxxxxxxxxx> wrote:
>

I also considered managing the nodemask as new domain state, as you do,
as it may come in useful elsewhere, but my principle of least patch
instincts kept me from doing it...

I'm not sure about keeping track of the last_alloc_node and then always
avoiding it (at least when there's more than 1 node) by checking it
last. I liked the way it worked before, favoring the node of the
currently running processor, but I don't have any perf numbers to know
what would be better.

I've attached a patch with a couple minor tweaks. It removes the
unnecessary node clearing from an empty initialized nodemask, and also
moves a couple of domain_update_node_affinity() calls outside
for_each_vcpu loops.

Andrew

Attachment: nodemask-tweak.diff
Description: Text document

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