Hi Murthy,
Inline.
> On Mar 16, 2020, at 12:35 AM, Satya Murthy wrote:
>
> Hi Florin,
>
> Over the weekend, I went through the document that you mentioned and it gave
> me a good overview. Thanks for pointing to that doc.
> However, my task of integrating mqs->epfd into our main dispatch loop
Hi Florin,
Over the weekend, I went through the document that you mentioned and it gave me
a good overview. Thanks for pointing to that doc.
However, my task of integrating mqs->epfd into our main dispatch loop still
seems to be needing more finer details of the code.
With this respect, I have
Hi Murthy,
Glad it helps! By construction, when vcl is initialized (vppcom_app_create())
only one worker is initialized. As long as you don’t register other workers
(vppcom_worker_register), you don’t really have to worry about anything else
and there are no performance penalties.
It’s import
Hi Florin,
Thanks a lot for the detailed explanation. This kind of gives an overview of
this area, which really helps in our integration.
Just one more question:
We are planning to remove the concept of vcl worker in our worker, as our app
is a single threaded app and will not be multi-threaded
Hi Murthy,
Inline.
> On Mar 13, 2020, at 4:54 AM, Satya Murthy wrote:
>
> Hi Florin,
>
> Thank you very much for the inputs.
> These are very difficult to understand unless we go through the code in
> detail.
> Today, Whole day, I was trying to follow your instructions and get this
> worki
Hi Florin,
Thank you very much for the inputs.
These are very difficult to understand unless we go through the code in detail.
Today, Whole day, I was trying to follow your instructions and get this working
by looking at the code as well.
However, I am not fully successful.
Before going further,
Hi Murthy,
Yes it does, although we’re guilty of not having it properly documented.
The message queue used between vpp and a vcl worker can do both mutex/condvar
and eventfd notifications. The former is the default but you can switch to
eventfds by adding to vcl.conf "use-mq-eventfd”. You can