When I run a linux program that uses c++ numa lib , I get the following error and core dump.
"request to allocate mask for invalid number: Invalid argument"
But, It works normally on linux installed in virtualbox. 프로그램이 wsl 에서 동작하지 않는 경우를 처음 겪었음.
virtualbox
$ numactl -s
policy: default
preferred node: current
physcpubind: 0 1 2 3
cpubind: 0
nodebind: 0
membind: 0
policy: default
preferred node: current
physcpubind: 0 1 2 3
cpubind: 0
nodebind: 0
membind: 0
wsl ubuntu
$ numactl -s
physcpubind: 0 1 2 3 4 5 6 7
No NUMA support available on this system.
physcpubind: 0 1 2 3 4 5 6 7
No NUMA support available on this system.
2020-07-22 update : wsl 2 에서도 마찬가지. custom kernel build 가 필요하다고 :-(