It seems when limiting a leaf node via numactl to a specific subset of memory & cpu, when calculating license usage the overall hardware available on the machine is used.
See the below commands used to bind instance to a specific numa node
-sh-4.2$ numactl -H
available: 4 nodes (0-3)
node 0 cpus: 0 1 2 3 4 5 6 7
node 0 size: 32767 MB
node 0 free: 31062 MB
sudo numactl --cpunodebind=0 --membind=0 memsqlctl start-node
-sh-4.2$ taskset -p -c 25600
pid 25600’s current affinity list: 0-7
*note 25600 is the memsql PID
If im not mistaken this should equate to 1 unit of usage however i’m seeing it counted as 4 in memsql studio as soon as the leaf node is started.
My overall goal is to run MemSQL within a small footprint on a larger box without using up too many license units so the instance can be properly clustered