Ubuntu 16.04.1: numactl failed when trying to specify node with netdev:dev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
numactl (Ubuntu) |
Invalid
|
Undecided
|
Taco Screen team |
Bug Description
== Comment: #0 - Ping Tian Han <email address hidden> - 2016-07-08 02:21:08 ==
---Problem Description---
When trying to run this command one roselp1:
% numactl -a --cpunodebind=
I got a warning message as this:
libnuma: Warning: Cannot read node mask for device `/devices/
<netdev:enP2p1s0f3> is invalid
... ...
---uname output---
Linux roselp1 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:20 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = IBM,8286-42A lpar
---Debugger---
A debugger was configured, however the system did not enter into the debugger
---Steps to Reproduce---
1. install ubuntu 16.04.1 on roselp1
2. run numactl -a --cpunodebind=
Contact Information = Ping Tian <email address hidden>
*Additional Instructions for Ping Tian <email address hidden>:
-Post a private note with access information to the machine that the bug is occuring on.
== Comment: #2 - VIPIN K. PARASHAR <email address hidden> - 2016-07-08 07:51:04 ==
root@roselp1:~# tail /proc/cpuinfo
processor : 159
cpu : POWER8 (architected), altivec supported
clock : 4157.000000MHz
revision : 2.1 (pvr 004b 0201)
timebase : 512000000
platform : pSeries
model : IBM,8286-42A
machine : CHRP IBM,8286-42A
root@roselp1:~# cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04 LTS"
VERSION_ID="16.04"
HOME_URL="http://
SUPPORT_URL="http://
BUG_REPORT_URL="http://
UBUNTU_
root@roselp1:~# uname -a
Linux roselp1 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:20 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
root@roselp1:~#
== Comment: #3 - VIPIN K. PARASHAR <email address hidden> - 2016-07-08 08:49:30 ==
root@roselp1:/# numactl -H
available: 2 nodes (0,2)
node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
node 0 size: 0 MB
node 0 free: 0 MB
node 2 cpus: 16 17 18 19 20 21 22 23 56 57 58 59 60 61 62 63 112 113 114 115 116 117 118 119
node 2 size: 9651 MB
node 2 free: 7065 MB
node distances:
node 0 2
0: 10 40
2: 40 10
root@roselp1:/#
== Comment: #4 - VIPIN K. PARASHAR <email address hidden> - 2016-07-08 08:55:07 ==
== Comment: #5 - VIPIN K. PARASHAR <email address hidden> - 2016-07-08 09:05:17 ==
root@roselp1:~# numactl -s
policy: default
preferred node: current
physcpubind: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
cpubind: 2
nodebind: 2
membind: 2
root@roselp1:~#
== Comment: #6 - VIPIN K. PARASHAR <email address hidden> - 2016-07-08 09:20:07 ==
Directly giving node number also works partially.
It has two nodes 0,2. It fails for node 0 while works for node 2.
root@roselp1:~# numactl --cpunodebind=0 echo hi
libnuma: Warning: node argument 0 is out of range
<0> is invalid
usage: numactl [--all | -a] [--interleave= | -i <nodes>] [--preferred= | -p <node>]
numactl [--show | -s]
root@roselp1:~# numactl --cpunodebind=2 echo hi
hi
root@roselp1:~# numactl --cpunodebind=
libnuma: Warning: Cannot read node mask for device `/devices/
<netdev:enP2p1s0f3> is invalid
usage: numactl [--all | -a] [--interleave= | -i <nodes>] [--preferred= | -p <node>]
..
..
root@roselp1:~#
== Comment: #7 - VIPIN K. PARASHAR <email address hidden> - 2016-07-08 09:28:22 ==
Workstation:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
Workstation:~$ head /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 42
model name : Intel(R) Core(TM) i5-2540M CPU @ 2.60GHz
stepping : 7
microcode : 0x1a
cpu MHz : 834.234
cache size : 3072 KB
physical id : 0
Workstation:~$ numactl -H
available: 1 nodes (0)
node 0 cpus: 0 1 2 3
node 0 size: 7738 MB
node 0 free: 3672 MB
node distances:
node 0
0: 10
Workstation:~$ numactl --cpunodebind=0 echo hi
hi
Workstation:~$ ifconfig | grep eth
eth0 Link encap:Ethernet HWaddr 00:21:cc:6d:1e:77
Workstation:~$ numactl --cpunodebind=
libnuma: Warning: Kernel does not know node mask for device `/devices/
<netdev:eth0> is invalid
usage: numactl [--all | -a] [--interleave= | -i <nodes>] [--preferred= | -p <node>]
....
....
Workstation:~$
I see it to fail on a x86 box also running Ubuntu 16.04.
== Comment: #10 - Ping Tian Han <email address hidden> - 2016-10-30 21:38:07 ==
I can reproduce this problem on 16.10:
% numactl -a --cpunodebind=
libnuma: Warning: Kernel does not know node mask for device `/devices/
<netdev:
... ...
tags: |
added: targetmilestone-inin16042 removed: targetmilestone-inin--- |
Changed in numactl (Ubuntu): | |
status: | New → Invalid |
tags: |
added: targetmilestone-inin--- removed: targetmilestone-inin16042 |
Default Comment by Bridge