Re: [Qemu-devel] [PATCH v2 5/5] qemu-iotests: Add 080 for IO throttling

2014-02-10 Thread Fam Zheng
On Mon, 02/10 13:32, Benoît Canet wrote: > Le Friday 07 Feb 2014 à 18:43:33 (+0800), Fam Zheng a écrit : > > +nsec_per_sec = 10 > > + > > +# With current interface we can't set burst to 0, they will be > > override > > +# to bps / 10 and iops / 10. Setting to 1 work

Re: [Qemu-devel] [PATCH v2 5/5] qemu-iotests: Add 080 for IO throttling

2014-02-10 Thread Benoît Canet
Le Friday 07 Feb 2014 à 18:43:33 (+0800), Fam Zheng a écrit : > This case utilizes qemu-io command "aio_{read,write} -q" to verify the > effectiveness of IO throttling options. > > It's implemented by driving the vm timer from qtest protocol, so the > throttling timers are signaled with determined

[Qemu-devel] [PATCH v2 5/5] qemu-iotests: Add 080 for IO throttling

2014-02-07 Thread Fam Zheng
This case utilizes qemu-io command "aio_{read,write} -q" to verify the effectiveness of IO throttling options. It's implemented by driving the vm timer from qtest protocol, so the throttling timers are signaled with determined time duration. Then we verify the completed IO requests are within 110%