Re: [vpp-dev] Pools allocation per numa node

2021-06-02 Thread Florin Coras
Hi Marina, In that case you should be good. If you think the os is not mmap-ing memory on the right numa, maybe try clib_mem_set_numa_affinity/set_mempolicy. Also note that “show memory” shows memory allocated through clib_mem_* functions but, as you’ve noticed, pool_init_fixed directly call

Re: [vpp-dev] Pools allocation per numa node

2021-06-02 Thread marina . vasilevsky
Hi Florin, I am using VLIB_WORKER_INIT_ FUNCTION But pool_init_fixed function calls mmap How can I force mmap to allocate the memory on the curtent Numa node? And when I call show memry, show threads I get this: vpp# show threads ID     Name                Type        LWP     Sched Policy (Prior

Re: [vpp-dev] Pools allocation per numa node

2021-06-02 Thread Florin Coras
Hi Marina, You might be able to with a VLIB_MAIN_LOOP_ENTER_FUNCTION handler. Regards, Florin > On Jun 2, 2021, at 10:57 AM, marina.vasilev...@insidepacket.com wrote: > > Hi, > Is it possible to create a fixed size pool on the worker's numa node? > I am using pool_init_fixed. > I have worker

[vpp-dev] Pools allocation per numa node

2021-06-02 Thread marina . vasilevsky
Hi, Is it possible to create a fixed size pool on the worker's numa node? I am using pool_init_fixed. I have workers running on 2 numa nodes and I need pool per worker. Thanks -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#19518): https://lists.fd