Comment 10 for bug 1837232

Revision history for this message
Zhang Kunpeng (zhangkunpeng) wrote :

When studying the nova docs, https://docs.openstack.org/nova/stein/admin/networking.html, I found the below descriptions.

Consider an L2-type network using the Linux Bridge mechanism driver. As noted in the neutron documentation, physets are mapped to interfaces using the [linux_bridge] physical_interface_mappings configuration option. For example:
[linux_bridge]
physical_interface_mappings = provider:PROVIDER_INTERFACE

Once you have the device name, you can query sysfs to retrieve the NUMA affinity for this device. For example:
$ cat /sys/class/net/PROVIDER_INTERFACE/device/numa_node

However, there are not physical_interface_mappings configuration in stx, only '[ovs] bridge_mappings = physnet0:br-phy0,physnet1:br-phy1,' is set. And numa_node files are not found.

controller-0:~# cat /sys/class/net/br-phy0/device/numa_node
cat: /sys/class/net/br-phy0/device/numa_node: No such file or directory
controller-0:~# cat /sys/class/net/br-phy1/device/numa_node
cat: /sys/class/net/br-phy1/device/numa_node: No such file or directory

The physical interfaces' numa_node files are existed.
enp59s0f0 <-> br-phy0
enp157s0f1 <-> br-phy1

controller-0:~# cat /sys/class/net/enp59s0f0/device/numa_node
0
controller-0:~# cat /sys/class/net/enp175s0f1/device/numa_node
1

So are the configurations or someting correct?