qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Max Reitz
Subject: Re: [Qemu-devel] [PATCH v7 5/5] qemu-iotests: Add 093 for IO throttling
Date: Fri, 30 Jan 2015 10:30:56 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 2015-01-29 at 21:49, Fam Zheng wrote:
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 determinied time duration. Then we
verify the completed IO requests are within 10% error of bps and iops
limits.

"null" protocol is used as the disk backend so that no actual disk IO is
performed on host, this will make the blockstats much more
deterministic. Both "null-aio" and "null-co" are covered, which is also
a simple cross validation test for the driver code.

Signed-off-by: Fam Zheng <address@hidden>
---
  tests/qemu-iotests/093     | 114 +++++++++++++++++++++++++++++++++++++++++++++
  tests/qemu-iotests/093.out |   5 ++
  tests/qemu-iotests/group   |   1 +
  3 files changed, 120 insertions(+)
  create mode 100755 tests/qemu-iotests/093
  create mode 100644 tests/qemu-iotests/093.out

Reviewed-by: Max Reitz <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]