From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43472) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4AI6-0005jH-6i for qemu-devel@nongnu.org; Mon, 07 Jul 2014 10:53:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4AI0-0000cR-EP for qemu-devel@nongnu.org; Mon, 07 Jul 2014 10:53:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4AI0-0000cN-4i for qemu-devel@nongnu.org; Mon, 07 Jul 2014 10:53:08 -0400 Message-ID: <53BAB44E.4050900@redhat.com> Date: Mon, 07 Jul 2014 08:53:02 -0600 From: Eric Blake MIME-Version: 1.0 References: <1404738953-13221-1-git-send-email-stefanha@redhat.com> <1404738953-13221-3-git-send-email-stefanha@redhat.com> In-Reply-To: <1404738953-13221-3-git-send-email-stefanha@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="dPUX1HKVRQdKKFAF3p4qrEc718fjGafgn" Subject: Re: [Qemu-devel] [PATCH v3 2/2] block: bump coroutine pool size for drives List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , qemu-devel@nongnu.org Cc: Kevin Wolf , Paolo Bonzini , ming.lei@canonical.com, Markus Armbruster , =?UTF-8?B?TGx1w61zIFZpbGFub3Zh?= This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --dPUX1HKVRQdKKFAF3p4qrEc718fjGafgn Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/07/2014 07:15 AM, Stefan Hajnoczi wrote: > When a BlockDriverState is associated with a storage controller > DeviceState we expect guest I/O. Use this opportunity to bump the > coroutine pool size by 64. >=20 > This patch ensures that the coroutine pool size scales with the number > of drives attached to the guest. It should increase coroutine pool > usage (which makes qemu_coroutine_create() fast) without hogging too > much memory when fewer drives are attached. >=20 > Signed-off-by: Stefan Hajnoczi > --- > block.c | 6 ++++++ > 1 file changed, 6 insertions(+) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --dPUX1HKVRQdKKFAF3p4qrEc718fjGafgn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTurROAAoJEKeha0olJ0NqZKsIAKIwSMcScnbAFdcdf1tr87nB O/nmvo98VeVFrsDVn3Oqh7ZT9q6aNPwsQUl4prPZIcqaKdN2zunPXwWDGWtGyTKF q9kJxeeb/HlCWPWuR1kUj5dGBo/To8YWbnxmw83WuG4nWpBhsPvbaZdVLVGcpBEH bD3qRB8HB3tHml1LDrc6RSIYlfjO8u283pttBCbbT2KKnaEfA7USOsnzKcHBqNMS IqP//vDwKql7ciImS3lDDV/FUtUKmmcBDeGNl1/21G7iHjVewRuw1aFiTr/6Chu2 W5AKSkLs2SOFPbOdqjm9rIt9leehfbioyINWi4QIDLIbaaFQjTtMklKw28lClUM= =BCzI -----END PGP SIGNATURE----- --dPUX1HKVRQdKKFAF3p4qrEc718fjGafgn--