Received: from eggs.gnu.org ([2001:4830:134:3::10]:39766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLwyB-0004F6-8e for qemu-devel@nongnu.org; Thu, 12 Feb 2015 11:50:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YLwy4-0001S0-Ab for qemu-devel@nongnu.org; Thu, 12 Feb 2015 11:50:27 -0500 Received: from mail-we0-x22b.google.com ([2a00:1450:400c:c03::22b]:46542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YLwy4-0001Rp-2c for qemu-devel@nongnu.org; Thu, 12 Feb 2015 11:50:20 -0500 Received: by mail-we0-f171.google.com with SMTP id p10so11373662wes.2 for ; Thu, 12 Feb 2015 08:50:19 -0800 (PST) Date: Thu, 12 Feb 2015 16:50:16 +0000 From: Stefan Hajnoczi Message-ID: <20150212165016.GE4054@stefanha-thinkpad.redhat.com> References: <1422586186-9925-1-git-send-email-famz@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J4XPiPrVK1ev6Sgr" Content-Disposition: inline In-Reply-To: <1422586186-9925-1-git-send-email-famz@redhat.com> Subject: Re: [Qemu-devel] [PATCH v7 0/5] block: Add a qemu-iotests case for IO throttling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Fam Zheng Cc: Kevin Wolf , qemu-devel@nongnu.org, Stefan Hajnoczi , Max Reitz --J4XPiPrVK1ev6Sgr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 30, 2015 at 10:49:41AM +0800, Fam Zheng wrote: > v7: Remove any "{iops,bps}_max" in 093 completely. (Max) >=20 > v6: Less resource demanding patch 5. (Max) > Add rev-by of Max to other patches. >=20 > v5: Rebase and improve the test. Please review again. >=20 > Patch dependencies: >=20 > This test depends on the qtest timer fix to run correctly. > http://lists.gnu.org/archive/html/qemu-devel/2015-01/msg01865.html >=20 > Also depends on the os check fix to run at all: > http://lists.gnu.org/archive/html/qemu-devel/2015-01/msg01848.html >=20 > Original cover letter > --------------------- >=20 > There is a change in qemu-io sub-commands "aio_read" and "aio_write", whi= ch > makes the aio requests accounted and the statistics reflected in blocksta= ts. >=20 > Note that IO throttling implementation allows overcommiting of requests, = so the > actual IO happened in a time unit may be a bit larger than given limits. = In the > test case, the stats numbers are compared with a 10% error tolerance, to = make > room for such flexibility in order to improve determinism. Tried to merge this but unfortunately it hangs using 100% CPU: $ cd tests/qemu-iotests $ ./check 093 --J4XPiPrVK1ev6Sgr Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJU3NnIAAoJEJykq7OBq3PINgsH/iioyH/OvCeA8X+4ocg+82nN WIeKOBlyLOQhjB21FMdmKL2X70IARmPZ5I5Lxszv4+geIrr42Mibf1o3tHg67g7U ZM2ydB433EZ1Bht3IH87XxETOMBmA+MFT55E267Buut9HPKOdklO1FvX0Chzg+HQ lN2zzH9LguESAoppvbAVwD6utgsuUnJxrqK3GiYvGEwGM40nad5IQH24I1FaJ/Yg 4FnxWp1H7gXTWT7ch5XdSICHs1ly4oPGRp7hUsuXdcCFS4k5iMGt6Da1vQMpLi4A ePP62Flz3eTwQLxnPlFkshXV5ugj+Q3R6392Go8+9L4C+rqqUq9sLuDr4wDKzsI= =c7HD -----END PGP SIGNATURE----- --J4XPiPrVK1ev6Sgr--