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 <zhengzhenyul...@gmail.com> wrote: > 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.sockets * x.cores, > x.sockets, > x.threads)) >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev