After moving to wily and using -proposed deb archive, I get:
ubuntu@fenix:~$ apt-cache policy libnuma1
libnuma1:
  Installed: 2.0.10-1ubuntu3
  Candidate: 2.0.10-1ubuntu3
  Version table:
 *** 2.0.10-1ubuntu3 0
        500 http://ports.ubuntu.com/ubuntu-ports/ wily/main ppc64el Packages
        100 /var/lib/dpkg/status
ubuntu@fenix:~$ cd NUMACTL/
ubuntu@fenix:~/NUMACTL$ ./test 80
80
cpu 80 belongs to node 16
L$ numactl -H
available: 4 nodes (0-1,16-17)
node 0 cpus: 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
node 0 size: 32499 MB
node 0 free: 18926 MB
node 1 cpus: 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
node 1 size: 32721 MB
node 1 free: 28857 MB
node 16 cpus: 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
node 16 size: 32721 MB
node 16 free: 28814 MB
node 17 cpus: 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 17 size: 32577 MB
node 17 free: 31739 MB
node distances:
node   0   1  16  17 
  0:  10  20  40  40 
  1:  20  10  40  40 
 16:  40  40  10  20 
 17:  40  40  20  10 

when under 15.04 I got:
$ ./test 80
80
libnuma: Warning: /sys not mounted or invalid. Assuming one node: No such file 
or directory
cpu 80 belongs to node 16

so it is validated on Wily

** Tags removed: targetmilestone-inin14042
** Tags added: targetmilestone-inin1510

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

Title:
  numa_node_of_cpu() returns warning  when cpu_index > 79

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

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

Reply via email to