Re: Enable pool cache on knote_pool

2021-06-01 Thread Visa Hankala
On Tue, Jun 01, 2021 at 08:23:24AM +1000, David Gwynne wrote: > > > On 1 Jun 2021, at 02:58, Visa Hankala wrote: > > > > This patch enables the pool cache feature on the knote pool to reduce > > the overhead of knote management. > > > > Profiling done by mpi@ and bluhm@ indicate that the

Re: Enable pool cache on knote_pool

2021-05-31 Thread David Gwynne
> On 1 Jun 2021, at 02:58, Visa Hankala wrote: > > This patch enables the pool cache feature on the knote pool to reduce > the overhead of knote management. > > Profiling done by mpi@ and bluhm@ indicate that the potentially needless > allocation of knotes in kqueue_register() causes

Enable pool cache on knote_pool

2021-05-31 Thread Visa Hankala
This patch enables the pool cache feature on the knote pool to reduce the overhead of knote management. Profiling done by mpi@ and bluhm@ indicate that the potentially needless allocation of knotes in kqueue_register() causes slowdown with kqueue-based poll(2) and select(2). One approach to fix