Hi Ole! Thanks, here is a change doing that, please have a look: https://gerrit.fd.io/r/c/vpp/+/26544
With this change, an assertion will fail if the number of threads is greater than 55 or something like that. To make things work for such large thread counts it would be necessary to increase the queue size also, this change does not handle that. Best regards, Elias On Thu, 2020-04-16 at 13:43 +0200, Ole Troan wrote: > Hi Elias, > > Thank you for the thorough analysis. > I think the best approach for now is the one you propose. Reserve as > many slots as you have workers. > Potentially also increase the queue size > 64. > > Damjan is looking at some further improvements in this space, but for > now please go with what you propose. > > Best regards, > Ole
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#16089): https://lists.fd.io/g/vpp-dev/message/16089 Mute This Topic: https://lists.fd.io/mt/73030838/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-