> > Sent: Tuesday, June 20, 2017 5:59 PM
> > To: openstack-dev@lists.openstack.org
> > Subject: Re: [openstack-dev] [openstack-dev[[nova] Simple question
> > about sorting CPU topologies
> >
> > On 06/20/2017 12:53 PM, Chris Friesen wrote:
> > > On 06/2
> -Original Message-
> From: Jay Pipes [mailto:jaypi...@gmail.com]
> Sent: Tuesday, June 20, 2017 5:59 PM
> To: openstack-dev@lists.openstack.org
> Subject: Re: [openstack-dev] [openstack-dev[[nova] Simple question
> about sorting CPU topologies
>
> On 06/20/2017
On 06/20/2017 12:53 PM, Chris Friesen wrote:
On 06/20/2017 06:29 AM, Jay Pipes wrote:
On 06/19/2017 10:45 PM, Zhenyu Zheng wrote:
Sorry, The mail sent accidentally by mis-typing ...
My question is, what is the benefit of the above preference?
Hi Kevin!
I believe the benefit is so that the c
On 06/20/2017 06:29 AM, Jay Pipes wrote:
On 06/19/2017 10:45 PM, Zhenyu Zheng wrote:
Sorry, The mail sent accidentally by mis-typing ...
My question is, what is the benefit of the above preference?
Hi Kevin!
I believe the benefit is so that the compute node prefers CPU topologies that do
not
On 06/19/2017 10:45 PM, Zhenyu Zheng wrote:
Sorry, The mail sent accidentally by mis-typing ...
My question is, what is the benefit of the above preference?
Hi Kevin!
I believe the benefit is so that the compute node prefers CPU topologies
that do not have hardware threads over CPU topologie
Sorry, The mail sent accidentally by mis-typing ...
My question is, what is the benefit of the above preference?
BR,
Kevin
On Tue, Jun 20, 2017 at 10:43 AM, Zhenyu Zheng
wrote:
> Hi,
>
> In https://github.com/openstack/nova/blob/master/
> nova/virt/hardware.py#L396 we calculated every possible
Hi,
In https://github.com/openstack/nova/blob/master/nova/virt/hardware.py#L396
we calculated every possible CPU topologies and sorted by:
# We want to
# - Minimize threads (ie larger sockets * cores is best)
# - Prefer sockets over cores
possible = sorted(possible, reverse=True,
key=lambda x: (x.