Hi Xyxue,
listen() sits in a polling loop for the short amount of time it takes
for VPP to process the bind VPE api message.
send, recv, and connect may sit in a polling loop if the session is
configured as blocking when there is nothing to be done (i.e. is blocked
waiting for resources).
Hi daw,
Thank you for your reply . Another question :If the 'listen ,send,recv,connect'
will cause the cpu utilization 100%?
Thanks,
Xyxue
发件人: Dave Wallace
发送时间: 2018-06-05 02:22
收件人: vpp-dev; 薛欣颖
主题: Re: [vpp-dev] The VCL server CPU utilization is 100% , if there is no
message to the
Xyxue,
This is a known by-product of the existing [prototype] epoll_wait
implementation. There is currently no mechanism in epoll_wait to have
the thread block on a condvar which would cause the thread to sleep
instead of sitting in a continuous polling loop.
Fixing this is on the list of
Hi guys,
I‘m testing the VCL . The VCL server CPU utilization is 100% ,if there is no
message to the epoll_wait. Is there anything I can do to slove it?
Is there the same problem in the VCL client?
Thanks,
Xyxue