osdir.com


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

[nova] NUMA scheduling


This is very odd, I am running NUMA aware openstack cloud and my VMs
are getting scheduled on both sides of NUMA zone. Following is my
flavor settings. Also I am using huge pages for performance. (make
sure you have NUMATopologyFilter filter configured).

hw:cpu_policy='dedicated', hw:cpu_sockets='2', hw:cpu_threads='2',
hw:mem_page_size='large'

what if you remove hw:numa_nodes=1 ?

~S

On Sat, Oct 17, 2020 at 1:21 AM Eric K. Miller
<emiller at genesishosting.com> wrote:
>
> >We have been running with NUMA configured for a long time and don't believe I have seen this behavior. It's important that you configure the flavors / aggregates correct.
>
> We are not looking for pinned CPUs - rather we want shared CPUs within a single NUMA node.
>
> Our flavor properties, for one particular flavor, are:
> hw:cpu_cores='4', hw:cpu_policy='shared', hw:cpu_sockets='1', hw:numa_nodes='1'
>
> We already have separate aggregates for dedicated and shared cpu_policy flavors.
>
> > Pretty sure we also set this for any flavor that only requires a single NUMA zone
> > openstack flavor set m1.large --property hw:numa_nodes=1
>
> I thought so too, but it doesn't look like the above properties are allowing VMs to be provisioned on the second NUMA node.
>
>
>