From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2hcB-0003aQ-Gg for qemu-devel@nongnu.org; Thu, 03 Jul 2014 10:04:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X2hc5-0007Cf-No for qemu-devel@nongnu.org; Thu, 03 Jul 2014 10:03:55 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X2hc5-0007CX-FA for qemu-devel@nongnu.org; Thu, 03 Jul 2014 10:03:49 -0400 Message-ID: <53B562C0.6020606@redhat.com> Date: Thu, 03 Jul 2014 08:03:44 -0600 From: Eric Blake MIME-Version: 1.0 References: <1404395521-11158-1-git-send-email-stefanha@redhat.com> <1404395521-11158-3-git-send-email-stefanha@redhat.com> In-Reply-To: <1404395521-11158-3-git-send-email-stefanha@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="9suqtah3Oxsq0VWuflK9q6jBjv4XLhGbQ" Subject: Re: [Qemu-devel] [PATCH 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 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --9suqtah3Oxsq0VWuflK9q6jBjv4XLhGbQ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 07/03/2014 07:52 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 | 4 ++++ > 1 file changed, 4 insertions(+) Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --9suqtah3Oxsq0VWuflK9q6jBjv4XLhGbQ 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/ iQEcBAEBCAAGBQJTtWLAAAoJEKeha0olJ0NqZAIH/1CR+OkFTOeZOmFMzBgLzjOB 6EunZjeXAxD3cdO7CqllMEH9zP8QmFdwDOvBE2KXEhMOuXFFRJnAnHkxJU+qYwRY HEM6EJT9kD6lNnwpMAKU/6vmJu8IzIVnL0Q91pcpxG0DpeujE9X0BlVOUYuh+dl0 mUDxvkNHht/naYcS2SG2xYYzsHrBzsQ1rlGKvhpfiv8T3alYQ8B6vx6aIGCQmDlq O1AvlL91h8m98C99nwINhDPgmTsw338IqwQCS1qIbDUFUM1XVX1VbRiY65oPqHUI MqC2Z9Cp3k0I8quv1NL+PTw7Ut4vZlzuKLm3dKoeGM4gahHzdjjGepX0Ojw+taQ= =hUfo -----END PGP SIGNATURE----- --9suqtah3Oxsq0VWuflK9q6jBjv4XLhGbQ--