Re: [PATCH 0/5] aio-posix: towards an O(1) event loop

2020-02-21 Thread Stefan Hajnoczi
On Fri, Feb 14, 2020 at 05:17:07PM +, Stefan Hajnoczi wrote: > This patch series makes AioHandler deletion and dispatch O(1) with respect to > the total number of registered handlers. The event loop has scalability > problems when many AioHandlers are registered because it is O(n). Linux > ep

[PATCH 0/5] aio-posix: towards an O(1) event loop

2020-02-14 Thread Stefan Hajnoczi
This patch series makes AioHandler deletion and dispatch O(1) with respect to the total number of registered handlers. The event loop has scalability problems when many AioHandlers are registered because it is O(n). Linux epoll(7) is used to avoid scanning over all pollfds but parts of the code s