Received: from eggs.gnu.org ([2001:4830:134:3::10]:60448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YijS2-0008E2-V1 for qemu-devel@nongnu.org; Thu, 16 Apr 2015 09:03:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YijRx-00051a-5m for qemu-devel@nongnu.org; Thu, 16 Apr 2015 09:03:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YijRw-00051W-So for qemu-devel@nongnu.org; Thu, 16 Apr 2015 09:03:21 -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 (8.14.4/8.14.4) with ESMTP id t3GD3IJr016938 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 16 Apr 2015 09:03:19 -0400 Date: Thu, 16 Apr 2015 14:03:16 +0100 From: Stefan Hajnoczi Message-ID: <20150416130316.GF27070@stefanha-thinkpad.redhat.com> References: <1429160256-27231-1-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JcvBIhDvR6w3jUPA" Content-Disposition: inline In-Reply-To: <1429160256-27231-1-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v3 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 --JcvBIhDvR6w3jUPA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 16, 2015 at 12:57:29PM +0800, Fam Zheng wrote: > v3: Rebase to master for 2.4. > Although epoll_pwait1 syscall is still being worked on [1], the QEMU = part > (if any) will base on this, so let's merge it first. > =20 > That part is not included in this version because I'm still evaluatin= g by > comparing epoll_pwait1 with epoll+timerfd as with current master they= seem > to be really close. >=20 > [1]: http://www.spinics.net/lists/linux-api/msg08216.html >=20 > v2: Emulate nanoseconds precison of timeout with ppoll and timerfd. > Their performance is on par with each other, but both much better than > qemu.git: >=20 > syscall high # of fd low # of fd > ------------------------------------------------- > qemu.git(ppoll) 44 96 > ppoll+epoll 85 101 > timerfd+epoll 87 109 >=20 > (In high # of fd case, 3 activated but idle virtio-console devices are > attached, which will add us hundereds of fds to poll) Have you rerun benchmarks with this patch series? I wonder how the ppoll-only performance changes. It seems like there are now additional copies of information and corresponding malloc/realloc/frees. Stefan --JcvBIhDvR6w3jUPA Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVL7MUAAoJEJykq7OBq3PIKNUIAII6fGbRGJ4cpLtZuUx1m3SR 5izSDkjZEu5je2Arc6TwYxQRpaWk0r1kb4NyS0/U+2yyF6ooIByQNb+w6B5kiNP9 7kMXBEYXP9Nf3HIULhXXjOZBEQkz8TkhieE91/rfd/A3ehQRBLWrfW3P6a74hj+K A+XuC1RPW2+X8Zs1OE3+SXSO2AvweIJFje7XPr9U5YqFKw/LtQ+cuu7ItAmv3Tk1 Zz/k140E5qfZ10xjkRr8nmvTMzeZLU6pI8mgiAfgR/pssSlhRGcQT9zgOaGFgLfl WS9pC0eefUr+Yr6z/gCq8viYSud7/K4Kbw9RkoePnN9pebV7SaoSXjJ3IMQULFk= =J8Mc -----END PGP SIGNATURE----- --JcvBIhDvR6w3jUPA--