Re: [vpp-dev] unix-epoll-input in workers

2020-05-20 Thread Damjan Marion via lists.fd.io
> On 20 May 2020, at 22:24, Christian Hopps wrote: > > Who runs in interrupt mode? :) vhost-user, virtio, avf soon… One of things we need to support is adaptive mode, where interface dynamically switches between interrupt and polling mode based on load. > Ok. Well it can sit in gerrit as a

Re: [vpp-dev] unix-epoll-input in workers

2020-05-20 Thread Christian Hopps
Who runs in interrupt mode? :) Ok. Well it can sit in gerrit as a starting point for future pickup I guess. Thanks, Chris. > On May 20, 2020, at 4:11 PM, Damjan Marion via lists.fd.io > wrote: > > > No, as another important function of that node is to fall asleep when there > is no interfac

Re: [vpp-dev] unix-epoll-input in workers

2020-05-20 Thread Damjan Marion via lists.fd.io
No, as another important function of that node is to fall asleep when there is no interfaces in polling mode. Interface queues can be dynamically assigned to different workers so there will be lot of messing around to make this working. > On 20 May 2020, at 21:51, Christian Hopps wrote: > > W

Re: [vpp-dev] unix-epoll-input in workers

2020-05-20 Thread Christian Hopps
Would this work? https://gerrit.fd.io/r/c/vpp/+/27186 Thanks, Chris. > On May 20, 2020, at 1:44 PM, Christian Hopps wrote: > > > >> On May 20, 2020, at 11:39 AM, Damjan Marion via lists.fd.io >> wrote: >> >> >> >>> On 20 May 2020, at 16:29, Christian Hopps wrote: >>> >>> On May

Re: [vpp-dev] unix-epoll-input in workers

2020-05-20 Thread Christian Hopps
> On May 20, 2020, at 11:39 AM, Damjan Marion via lists.fd.io > wrote: > > > >> On 20 May 2020, at 16:29, Christian Hopps wrote: >> >> >>> On May 20, 2020, at 9:42 AM, Damjan Marion via lists.fd.io >>> wrote: >>> >>> >>> On 20 May 2020, at 14:38, Christian Hopps wrote: >>

Re: [vpp-dev] unix-epoll-input in workers

2020-05-20 Thread Damjan Marion via lists.fd.io
> On 20 May 2020, at 16:29, Christian Hopps wrote: > > >> On May 20, 2020, at 9:42 AM, Damjan Marion via lists.fd.io >> wrote: >> >> >> >>> On 20 May 2020, at 14:38, Christian Hopps wrote: >>> >>> I'm wondering why I have unix-epoll-input in my worker threads "show >>> runtime" results

Re: [vpp-dev] unix-epoll-input in workers

2020-05-20 Thread Christian Hopps
> On May 20, 2020, at 9:42 AM, Damjan Marion via lists.fd.io > wrote: > > > >> On 20 May 2020, at 14:38, Christian Hopps wrote: >> >> I'm wondering why I have unix-epoll-input in my worker threads "show >> runtime" results. Couldn't it selectively disable/enable itself based on >> whether

Re: [vpp-dev] unix-epoll-input in workers

2020-05-20 Thread Damjan Marion via lists.fd.io
> On 20 May 2020, at 14:38, Christian Hopps wrote: > > I'm wondering why I have unix-epoll-input in my worker threads "show runtime" > results. Couldn't it selectively disable/enable itself based on whether it > actually had any work to do (things to poll)? I'm aware it modifies its > behavi

[vpp-dev] unix-epoll-input in workers

2020-05-20 Thread Christian Hopps
I'm wondering why I have unix-epoll-input in my worker threads "show runtime" results. Couldn't it selectively disable/enable itself based on whether it actually had any work to do (things to poll)? I'm aware it modifies its behavior when there are other polling nodes running, but it still is ta