------- Comment From vipar...@in.ibm.com 2016-11-08 08:03 EDT-------
# ls -l /sys/class/net/enP32770p1s0f0
.. /sys/class/net/enP32770p1s0f0 -> 
../../devices/pci8002:01/8002:01:00.0/net/enP32770p1s0f0

# cat /sys/class/net/enP32770p1s0f0/device/numa_node
-1
# cat /sys/devices/pci8002\:01/8002:01:00.0/numa_node
-1

# numactl -a --cpubind=netdev:enP32770p1s0f0 echo hi
libnuma: Warning: Kernel does not know node mask for device 
`/devices/pci8002:01/8002:01:00.0/'
<netdev:enP32770p1s0f0> is invalid

For enP32770p1s0f0 device numa_code contains -1  and thus
"numactl --cpubind" fails with "Kernel does not know node mask"

Hello Canonical,

Thanks!! for your findings with numactl --cpubind option.
Here enP28p96s0fX devices fall under numa_node 1,
which doesn't have CPUs and thus cpubind fails
with "Cannot read node mask". This is expected behaviour
as per numactl code working.

enP32770p1s0f0 fails numactl --cpubind option with
"Kernel does not know node mask". This fail is likely due
to numa_node for this device having -1 as value.

Any suggestions why enP32770p1s0f0 device is having
numa_node value of -1 ? Is this some kernel issue here ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1638515

Title:
  Ubuntu 16.04.1: numactl failed when trying to specify node with
  netdev:dev

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/numactl/+bug/1638515/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to