From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XExfO-0001eC-BR for qemu-devel@nongnu.org; Wed, 06 Aug 2014 05:38:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XExfI-0002Qb-8A for qemu-devel@nongnu.org; Wed, 06 Aug 2014 05:37:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XExfH-0002QV-Vp for qemu-devel@nongnu.org; Wed, 06 Aug 2014 05:37:48 -0400 Date: Wed, 6 Aug 2014 10:37:41 +0100 From: Stefan Hajnoczi Message-ID: <20140806093741.GA17426@stefanha-thinkpad.redhat.com> References: <1407209598-2572-1-git-send-email-ming.lei@canonical.com> <20140805094844.GF4391@noname.str.redhat.com> <20140805134815.GD12251@stefanha-thinkpad.redhat.com> <20140805144728.GH4391@noname.str.redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH v1 00/17] dataplane: optimization and multi virtqueue support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ming Lei Cc: Kevin Wolf , Peter Maydell , Fam Zheng , "Michael S. Tsirkin" , qemu-devel , Paolo Bonzini --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Aug 06, 2014 at 01:33:36PM +0800, Ming Lei wrote: > With coroutine, the running time for same loading is increased > ~50%(1.325s vs. 0.903s), and dcache load events is increased I agree with Paolo about microbenchmarks. We need to do I/O to get a realistic picture of performance, since there is little point is optimizing something that is not a significant factor in overall performance. But I also wanted to say that these benchmark durations are so short that they can be greatly affected by outliers (e.g. scheduler behavior, system background activity, etc). Run benchmarks for 2 minutes to reduce variance and give the system time to "warm up". --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJT4fdlAAoJEJykq7OBq3PI/icIAKV6XeWBETw1rqgRTDgeCX+d zOHLE/xd+vqCrkHvWh8MQ1NfnEXO7l9XxIuDng1F5Ho8QpL+5sDd6hMJnRIwUcz7 g+Bex1sXj+FixZzPM0S+AzDyAFksPYDp4rsHLQo/efgwiO9WzulAbRDkr8lwP4Es 2crPp5ZxY+Ssr8eetbu58GAycf1F9NQJc6dr3ARx4A8NOi3wX8F67InyA/v3y5Y4 wPs1aUkrH2wta76FpK5KXnlgmlGhz9qUHa6qaUzWJNXt7Wq7VBqJZpo31JHAHkzE dhzii2KJmE96Z02xlzTGSoDLlC+PENoER0Kw1brsikbS7MRVSs0gN14OcqAw5U4= =pS0l -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--