qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 00/10] main-loop: switch to g_poll(3) on POSI


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v4 00/10] main-loop: switch to g_poll(3) on POSIX hosts
Date: Wed, 20 Feb 2013 16:08:21 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

Il 20/02/2013 15:56, Michael S. Tsirkin ha scritto:
> > I have tested that the series builds and is bisectable on Linux and Windows
> > hosts.  But I have not done extensive testing on other host platforms or 
> > with
> > long-term guests to check for performance regressions.
> 
> Wouldn't it make sense to switch to epoll instead?
> poll does not scale well to a huge number of descriptors.

At least for the block layer, where we want to go is to distribute the
performance-sensitive work to many independent dataplane threads.  Then
each of them could use epoll (basically a new aio-linux.c file based on
aio-posix.c), like hw/dataplane does already IIRC.  Only low-priority
tasks are left to the iothread.

The required work to get there would really be a superset of this, and
this series is a very good start.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]