Ok, so I think this is not exactly a bug, maybe a usability issue
upstream?

Note also that the error message now reported ("Cannot read node mask
for device", sysfs_node_read returning -1) is different than before
("Kernel does not know node mask for device", sysfs_node_read returning
-2)

In any case, you've told numactl to use --cpunodebind=<node of a network
device>, but that <node of a network device> has no CPUs, so numactl
can't bind to it?

In the code, I believe numprocnode to be 0 (as node 0 is the highest
node with CPUs) and

                if (num >= numa_num_task_nodes())
                        return -1;

is probably being tripped in sysfs_node_read. As with all things
numactl, it needs some love to be more user-friendly.

-- 
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