[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/9] event poll: make epoll work for normal fd
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH 3/9] event poll: make epoll work for normal fd |
Date: |
Thu, 21 Feb 2013 16:41:19 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Feb 21, 2013 at 02:24:21PM +0100, Paolo Bonzini wrote:
> Il 21/02/2013 13:54, Liu Ping Fan ha scritto:
> > From: Liu Ping Fan <address@hidden>
> >
> > When event poll can work with normal fd, we can port them
> > onto the event loop.
>
> Please start transitioning to the AioContext API instead. I doubt there
> is any performance difference for 2-3 file descriptors between poll and
> epoll, but if there were any we can introduce aio-linux.c that uses epoll.
>
> I'll send later a patch to use AioContext instead of EventPoll for
> virtio-blk dataplane.
Thanks Paolo. Although using AioContext for dataplane's event loop has
been on my TODO list I haven't written any code yet - so no duplicated
work if you have time to tackle this.
Stefan
- [Qemu-devel] [PATCH 0/9] introduce virtio net dataplane, Liu Ping Fan, 2013/02/21
- [Qemu-devel] [PATCH 2/9] vring: introduce vring_restore() to restore from img, Liu Ping Fan, 2013/02/21
- [Qemu-devel] [PATCH 3/9] event poll: make epoll work for normal fd, Liu Ping Fan, 2013/02/21
- [Qemu-devel] [PATCH 4/9] event poll: pass event type to event callback, Liu Ping Fan, 2013/02/21
- [Qemu-devel] [PATCH 5/9] event poll: enable event poll handle more than one event each time, Liu Ping Fan, 2013/02/21
- [Qemu-devel] [PATCH 6/9] virtio net: introduce dataplane for virtio net, Liu Ping Fan, 2013/02/21
- [Qemu-devel] [PATCH 7/9] tap: make tap peer work on dedicated data-plane thread, Liu Ping Fan, 2013/02/21
- [Qemu-devel] [PATCH 8/9] virtio net: enable dataplane for virtio net, Liu Ping Fan, 2013/02/21
- [Qemu-devel] [PATCH 9/9] configure: make virtio net dataplane configurable, Liu Ping Fan, 2013/02/21