Received: from eggs.gnu.org ([2001:4830:134:3::10]:34986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnOst-0006Oo-M5 for qemu-devel@nongnu.org; Wed, 29 Apr 2015 06:06:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnOso-0002X3-Kg for qemu-devel@nongnu.org; Wed, 29 Apr 2015 06:06:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnOso-0002Wn-FB for qemu-devel@nongnu.org; Wed, 29 Apr 2015 06:06:22 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 221318E799 for ; Wed, 29 Apr 2015 10:06:22 +0000 (UTC) Date: Wed, 29 Apr 2015 11:06:17 +0100 From: Stefan Hajnoczi Message-ID: <20150429100617.GB15096@stefanha-thinkpad.redhat.com> References: <1430277871-26761-1-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MW5yreqqjyrRcusr" Content-Disposition: inline In-Reply-To: <1430277871-26761-1-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v4 0/7] aio: Support epoll by introducing qemu_poll abstraction List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Kevin Wolf , Paolo Bonzini , qemu-devel@nongnu.org --MW5yreqqjyrRcusr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 29, 2015 at 11:24:24AM +0800, Fam Zheng wrote: > v4: Rebase to 2.3 and rerun tests. timerfd+epoll shows clear improvement= over > current master when the virtio-console device attaches more fds to th= e main > loop: >=20 > syscall high # of fd low # of fd > ------------------------------------------------- > qemu.git(ppoll) 24 83 > ppoll+epoll 49 82 > timerfd+epoll 49 91 > glib 20 82 >=20 > (In high # of fd case, 3 activated but idle virtio-console devices are > attached, which will add us hundereds of fds to poll) Thanks for posting these numbers. Nice job on speeding up the Linux case, I'm looking forward to seeing the results with your new epoll syscall patches. It looks like there will be a 15-20% regression for non-Linux hosts with high # of fds. But since the low # of fd regression between qemu.git(ppoll) and glib is small, I think we can merge this now and optimize later, if necessary. Reviewed-by: Stefan Hajnoczi --MW5yreqqjyrRcusr Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVQK0ZAAoJEJykq7OBq3PIIx0H/Aq12TeNQmV5kSKZ88ip1XRu VD9YNR3r5TbluYkh1ZE91+IBtPyhSdHV45t76oUofSzeYY2/PC0uojIjt9I78GS/ hSlgCzsqPETvERiKRPWS29geTENlCrgCfHlYz86OmYzwDhZSYqAEkoQphSlHVBQV n9yPArXdHKvdnNbDAjZFAlcAAx1Rix4gIKOEBsfUbh7sCy+mTQZMTKjpAw+G875G bv85bnwOsW3nB9fDqp7LH/RwbmalTODk6Z3rWIHUUqhjI0kU6ZQavi4eL5sIESim gB/OtFTU10v6z+T13kKV6xvuNQnfpMwSsOGquWGQtPEGlhNd0M6pYP6+6o/X2O0= =An7+ -----END PGP SIGNATURE----- --MW5yreqqjyrRcusr--