-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
strace on zbalance_ipc shows this:
10036 open("/sys/devices/system/node/node0/cpumap", O_RDONLY) = 3
10036 fstat(3, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0
10036 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x7f0ca6e4d000
10036 read(3, "00000000,00000fff\n", 4096) = 18
10036 close(3) = 0
10036 munmap(0x7f0ca6e4d000, 4096) = 0
10036 open("/sys/devices/system/node/node1/cpumap", O_RDONLY) = -1 ENOENT (No
such file or directory)
10036 write(2, "libnuma: Warning: ", 18) = 18
10036 write(2, "/sys not mounted or invalid. Ass"..., 73) = 73
10036 write(2, "\n", 1) = 1
However, my nodes are 0 and 2:
% numactl --show
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
cpubind: 0 2
nodebind: 0 2
membind: 0 2
% numactl --hardware
available: 2 nodes (0,2)
node 0 cpus: 0 1 2 3 4 5 6 7 8 9 10 11
node 0 size: 8180 MB
node 0 free: 7388 MB
node 2 cpus: 12 13 14 15 16 17 18 19 20 21 22 23
node 2 size: 8192 MB
node 2 free: 7198 MB
node distances:
node 0 2
0: 10 16
2: 16 10
Is there an easy fix for this?
Jim
On 02/27/2015 03:51 AM, Alfredo Cardigliano wrote:
> Hi Jim
> I see several strange problems on this machine,
> you should try to solve the libnuma issue (it’s the first time I see this
> wargning)
> and the hugepages issue (you should be able to mount hugepages as we do
> in the load script, unmounting other hugetlbfs before, if not needed, might
> do the trick),
> before running our drivers.
>
> Alfredo
>
>> On 26 Feb 2015, at 23:04, Jim Hranicky <[email protected]> wrote:
>>
>> No idea if this has anything to do with it:
>>
>> % ./zbalance_ipc -i zc:enp4s0 -m 1 -n 12 -c 44
>> libnuma: Warning: /sys not mounted or invalid. Assuming one node: No such
>> file or directory
>> *** error retrieving hugepages info ***
>> pfring_zc_create_cluster error [No buffer space available] Please check
>> your hugetlb configuration
>>
>> % mount | grep huge
>> cgroup on /sys/fs/cgroup/hugetlb type cgroup
>> (rw,nosuid,nodev,noexec,relatime,hugetlb)
>> hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel)
>> nodev on /mnt/huge type hugetlbfs (rw,relatime,seclabel)
>>
>> Jim
>>
>>
>>
>> _______________________________________________
>> Ntop-misc mailing list
>> [email protected]
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
>
>
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iF4EAREIAAYFAlTwuXcACgkQCGX2wHRYUXTzGAD/aw97oCA70hjOqU83FR/2FBEw
vNijVYupJ3cxdSQxdoQA/AvqtHDJF++UWB9Ezn6Ks0wKYddypLjJ4KNbqwDsgysN
=ucHv
-----END PGP SIGNATURE-----
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc