]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qemu-iotests/group
qemu-iotests: Add 093 for IO throttling
authorFam Zheng <famz@redhat.com>
Fri, 30 Jan 2015 02:49:46 +0000 (10:49 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 16 Feb 2015 15:07:18 +0000 (15:07 +0000)
commitfb13bbf2fd5292d0aab617709017a4032f328730
tree790517ca70754078340797b24d34ba188e789c31
parentdf89d112279779609d50db93b024ed71f0402854
qemu-iotests: Add 093 for IO throttling

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 <famz@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 1422586186-9925-6-git-send-email-famz@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/qemu-iotests/093 [new file with mode: 0755]
tests/qemu-iotests/093.out [new file with mode: 0644]
tests/qemu-iotests/group