On Wed, Jun 01, 2011 at 09:32:32AM -0400, Vivek Goyal wrote: >Date: Wed, 1 Jun 2011 09:32:32 -0400 >From: Vivek Goyal <vgo...@redhat.com> >To: Zhi Yong Wu <wu...@linux.vnet.ibm.com> >Cc: kw...@redhat.com, stefa...@linux.vnet.ibm.com, k...@vger.kernel.org, > guijianf...@cn.fujitsu.com, qemu-devel@nongnu.org, wu...@cn.ibm.com, > herb...@gondor.hengli.com.au, e...@redhat.com, luow...@cn.ibm.com, > zh...@cn.ibm.com, zhaoy...@cn.ibm.com, l...@redhat.com, > rahar...@us.ibm.com >Subject: Re: [Qemu-devel] [RFC]QEMU disk I/O limits >User-Agent: Mutt/1.5.21 (2010-09-15) > >On Wed, Jun 01, 2011 at 11:19:58AM +0800, Zhi Yong Wu wrote: >> On Tue, May 31, 2011 at 03:55:49PM -0400, Vivek Goyal wrote: >> >Date: Tue, 31 May 2011 15:55:49 -0400 >> >From: Vivek Goyal <vgo...@redhat.com> >> >To: Zhi Yong Wu <wu...@linux.vnet.ibm.com> >> >Cc: kw...@redhat.com, aligu...@us.ibm.com, stefa...@linux.vnet.ibm.com, >> > k...@vger.kernel.org, guijianf...@cn.fujitsu.com, >> > qemu-devel@nongnu.org, wu...@cn.ibm.com, >> > herb...@gondor.hengli.com.au, luow...@cn.ibm.com, zh...@cn.ibm.com, >> > zhaoy...@cn.ibm.com, l...@redhat.com, rahar...@us.ibm.com >> >Subject: Re: [Qemu-devel] [RFC]QEMU disk I/O limits >> >User-Agent: Mutt/1.5.21 (2010-09-15) >> > >> >On Mon, May 30, 2011 at 01:09:23PM +0800, Zhi Yong Wu wrote: >> > >> >[..] >> >> 3.) How the users enable and play with it >> >> QEMU -drive option will be extended so that disk I/O limits can be >> >> specified on its command line, such as -drive [iops=xxx,][throughput=xxx] >> >> or -drive [iops_rd=xxx,][iops_wr=xxx,][throughput=xxx] etc. When this >> >> argument is specified, it means that "disk I/O limits" feature is enabled >> >> for this drive disk. >> > >> >How does throughput interface look like? is it bytes per second or something >> >else? >> Given your suggestion, its form will look like below: >> >> -drive [iops=xxx][,bps=xxx] or -drive >> [iops_rd=xxx][,iops_wr=xxx][,bps_rd=xxx][,bps_wr=xxx] > >Can one specify both iops and bps rule for the same drive? Right. They both will together limit runtime I/O rate.
Regards, Zhiyong Wu > >Thanks >Vivek