Hello folks,

Looking at `wg_peer_assign_thread` function One can see the logic behind peer 
thread assigning which is: " Use the same thread that the packet has come from, 
unless its main thread. In main thread case, randomly choose a worker thread to 
handoff".

I understand assigning all peers uniformly to threads, can ( potentially) cause 
overall performance penalty. But in case of having lots of peers, all coming 
from the same interface, having more threads to handle them can become handy. 
So is there any other reason, other than performance impacts, behind limiting 
thread assigning to the above logic?

Best regards,  
Mahdi
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20375): https://lists.fd.io/g/vpp-dev/message/20375
Mute This Topic: https://lists.fd.io/mt/86570818/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to