Re: [vpp-dev] UDP multithreading error

2022-09-26 Thread Florin Coras
Hi, That’s an inefficiency in ldp when vcl does not use eventfds for notifications. Could you change your vcl.conf and add use-mq-eventfd? Regards, Florin > On Sep 26, 2022, at 5:35 AM, nengjie wang wrote: > > Thank you very much for your reply. > > However, after the socket is set to the

Re: [vpp-dev] UDP multithreading error

2022-09-26 Thread nengjie wang
Thank you very much for your reply. However, after the socket is set to the non blocking mode, the CPU utilization rate is always 100%. The resource consumption is very high when multithreading. I can only reduce the CPU utilization rate by using methods such as select. Why does this mode fail in

Re: [vpp-dev] UDP multithreading error

2022-09-07 Thread Florin Coras
Hi, Just tested on master and this seems to work fine after a few app fixes. Having said that, I would recommend you build vcl native apps and register multiple workers for better performance. Comments: - make sure sockets are not blocking otherwise there’s a good change that only one of the

[vpp-dev] UDP multithreading error

2022-09-07 Thread nengjie wang
The attachment is my server program. My VPP version is 22.06. When I start this server by LDP and send a request to this server, the server will have a direct segment error. Two threads share an event queue, resulting in an event queue crash. Can you tell me if LDP does not support this use? In a