Received: from eggs.gnu.org ([2001:4830:134:3::10]:56200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WD70i-0008SS-Ex for qemu-devel@nongnu.org; Tue, 11 Feb 2014 01:40:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WD70Z-0002cI-KF for qemu-devel@nongnu.org; Tue, 11 Feb 2014 01:40:00 -0500 Received: from mx1.redhat.com ([209.132.183.28]:20213) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WD70Z-0002aJ-BP for qemu-devel@nongnu.org; Tue, 11 Feb 2014 01:39:51 -0500 Date: Tue, 11 Feb 2014 14:39:53 +0800 From: Fam Zheng Message-ID: <20140211063953.GA12675@T430.nay.redhat.com> References: <1391769813-15437-1-git-send-email-famz@redhat.com> <1391769813-15437-6-git-send-email-famz@redhat.com> <20140210123233.GD3088@irqsave.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20140210123233.GD3088@irqsave.net> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 5/5] qemu-iotests: Add 080 for IO throttling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?iso-8859-1?Q?Beno=EEt?= Canet Cc: Kevin Wolf , pbonzini@redhat.com, qemu-devel@nongnu.org, Stefan Hajnoczi On Mon, 02/10 13:32, Beno=EEt Canet wrote: > Le Friday 07 Feb 2014 =E0 18:43:33 (+0800), Fam Zheng a =E9crit : > > + nsec_per_sec =3D 1000000000 > > + > > + # With current interface we can't set burst to 0, they will = be override > > + # to bps / 10 and iops / 10. Setting to 1 workarounds this a= nd gets to > > + # a close effect as no burst, which is good enough for us > > + limits['bps_max'] =3D 1 > > + limits['iops_max'] =3D 1 > Maybe the code should also set *rd_max =3D 1 and *wr_max=3D 1 to make t= he *_rd_* and > *_wr_* tests more accurate. The code doesn't allow setting bps_rd_max together with bps_max. I think bps_max has enough effective on burst, so it's not strictly necessary. Fam