Force scheduling into same NUMA node

asked 2019-07-01 13:19:13 -0600

anastop gravatar image

Is there a way in OpenStack to force two instances to be scheduled on the same NUMA node of a host? (assuming they have been scheduled on the same host, using e.g. proper affinity filters).

This is important when efficient inter-VM communication is a strong requirement (e.g. for certain NFV workloads).

edit retag flag offensive close merge delete


Bernd Bausch gravatar imageBernd Bausch ( 2019-07-02 18:39:47 -0600 )edit

Unfortunately, no. This doc describes various NUMA-aware policies but for a single guest at a time. Moreover, none of these policies allow specifying certain NUMA nodes IDs to be used at schedule time. What I need is a way to express affinity/anti-affinity policies but at the NUMA-node level.

anastop gravatar imageanastop ( 2019-07-03 03:55:46 -0600 )edit

While I think I understand your problem, and consider it a valid one, I don’t have a solution. Try the mailing list (the mail subject should start with “[nova]”).

Bernd Bausch gravatar imageBernd Bausch ( 2019-07-04 19:40:34 -0600 )edit

Thank you, Bernd, for following up. I will try the mailing list.

anastop gravatar imageanastop ( 2019-07-05 02:33:42 -0600 )edit