> I am wondering if VPP could allow > VLIB_BUFFER_POOL_PER_THREAD_CACHE_SZ 512 to be changed to a build time > value as done in DPDK ?
It is a define, you can change it - but I do not think it has been tested 😊. Maybe we can make it configurable through cmake also. > Since in this specific use case 1 rx-only core, and the rest tx-only cores > and all rx-packets are hand-offed to tx-cores, could there be any negative > side affect of increasing CACHE_SZ to 8K? Is there any specific reason why > the CACHE_SZ is hard-coded to 512? Really appreciate your advice in this > regard. I think the main drawback is that you need more memory and it will lead to more cache misses, and 512 was deemed as a good value for the general case. ben
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21759): https://lists.fd.io/g/vpp-dev/message/21759 Mute This Topic: https://lists.fd.io/mt/92656278/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/1480452/21656/631435203/xyzzy [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-