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

Re: [Xen-devel] [PATCH 0/4] mitigate the per-pCPU blocking list may be too long



On Wed, Apr 26, 2017 at 02:19:22AM -0600, Jan Beulich wrote:
>>>> On 26.04.17 at 02:52, <chao.gao@xxxxxxxxx> wrote:
>> Patch 2/4 randomly distritbutes entries (vCPUs) among all oneline
>> pCPUs, which can theoretically decrease the maximum of #entry
>> in the list by N times. N is #pCPU.
>
>Why randomly? Shouldn't current list length determine which CPU(s)
>to prefer?

I thought randomly distribution is simple and also can meet our
demand.  What you said I think is also ok. How about just choose the
CPU which has the shortest list length? I will use this policy in next
version. Will you review this version when you have time? or I can
prepare and send next version directly?

Regarding to the test I do, any other complementary tests do you
think are needed to prove that these patches really mitigate the
issue?

Thanks
Chao

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.