qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4 0/3] aio: Use epoll in aio_poll()
@ 2015-10-30  4:06 Fam Zheng
  2015-10-30  4:06 ` [Qemu-devel] [PATCH v4 1/3] aio: Introduce aio_external_disabled Fam Zheng
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Fam Zheng @ 2015-10-30  4:06 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, pbonzini, qemu-block, Stefan Hajnoczi

v4: Rebase onto master (with aio_disable_external):
    Don't use epoll if aio_external_disabled(ctx);
    Change assert on epoll_ctl return code to disable epoll;
    Rerun benchmark;

v3: Remove the redundant check in aio_epoll_try_enable. [Stefan]

v2: Merge aio-epoll.c into aio-posix.c. [Paolo]
    Capture some benchmark data in commit log.

This series adds the ability to use epoll in aio_poll() on Linux. It's switched
on in a dynamic way rather than static for two reasons: 1) when the number of
fds is not high enough, using epoll has little advantage; 2) when an epoll
incompatible fd needs to be handled, we need to fall back.  The epoll is
enabled when a fd number threshold is met.


Fam Zheng (3):
  aio: Introduce aio_external_disabled
  aio: Introduce aio_context_setup
  aio: Introduce aio-epoll.c

 aio-posix.c         | 188 +++++++++++++++++++++++++++++++++++++++++++++++++++-
 aio-win32.c         |   4 ++
 async.c             |  13 +++-
 include/block/aio.h |  24 +++++++
 4 files changed, 226 insertions(+), 3 deletions(-)

-- 
2.4.3

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2015-11-03 13:17 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-30  4:06 [Qemu-devel] [PATCH v4 0/3] aio: Use epoll in aio_poll() Fam Zheng
2015-10-30  4:06 ` [Qemu-devel] [PATCH v4 1/3] aio: Introduce aio_external_disabled Fam Zheng
2015-10-30  4:06 ` [Qemu-devel] [PATCH v4 2/3] aio: Introduce aio_context_setup Fam Zheng
2015-10-30  4:06 ` [Qemu-devel] [PATCH v4 3/3] aio: Introduce aio-epoll.c Fam Zheng
2015-10-30 10:07   ` Stefan Hajnoczi
2015-11-02  2:32     ` Fam Zheng
2015-11-02 13:19       ` [Qemu-devel] [Qemu-block] " Stefan Hajnoczi
2015-11-02 13:33         ` Fam Zheng
2015-11-03 11:23           ` Stefan Hajnoczi
2015-11-03 13:17 ` [Qemu-devel] [PATCH v4 0/3] aio: Use epoll in aio_poll() Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).