[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 06/10] throttle: Add throttle group support
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PULL 06/10] throttle: Add throttle group support |
Date: |
Mon, 15 Jun 2015 06:33:07 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
On 06/12/2015 08:57 AM, Stefan Hajnoczi wrote:
> From: Alberto Garcia <address@hidden>
>
> The throttle group support use a cooperative round robin scheduling
> algorithm.
>
> The principles of the algorithm are simple:
> - Each BDS of the group is used as a token in a circular way.
> - The active BDS computes if a wait must be done and arms the right
> timer.
> - If a wait must be done the token timer will be armed so the token
> will become the next active BDS.
>
> Signed-off-by: Alberto Garcia <address@hidden>
> Reviewed-by: Stefan Hajnoczi <address@hidden>
> Message-id: address@hidden
> Signed-off-by: Stefan Hajnoczi <address@hidden>
> ---
> +++ b/qapi/block-core.json
> @@ -1062,6 +1062,27 @@
> #
> # Change I/O throttle limits for a block drive.
> #
> +#
> +# I/O limits can be disabled by setting all of them to 0. In this case
> +# the device will be removed from its group and the rest of its
> +# members will no be affected. The 'group' parameter is ignored.
s/no/not/
(can be done in a followup patch, since this is already a pull request)
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PULL 00/10] Block patches, Stefan Hajnoczi, 2015/06/12
- [Qemu-devel] [PULL 01/10] Revert "iothread: release iothread around aio_poll", Stefan Hajnoczi, 2015/06/12
- [Qemu-devel] [PULL 05/10] throttle: Add throttle group infrastructure tests, Stefan Hajnoczi, 2015/06/12
- [Qemu-devel] [PULL 02/10] raw-posix: Fix .bdrv_co_get_block_status() for unaligned image size, Stefan Hajnoczi, 2015/06/12
- [Qemu-devel] [PULL 03/10] throttle: Extract timers from ThrottleState into a separate structure, Stefan Hajnoczi, 2015/06/12
- [Qemu-devel] [PULL 04/10] throttle: Add throttle group infrastructure, Stefan Hajnoczi, 2015/06/12
- [Qemu-devel] [PULL 07/10] throttle: acquire the ThrottleGroup lock in bdrv_swap(), Stefan Hajnoczi, 2015/06/12
- [Qemu-devel] [PULL 06/10] throttle: Add throttle group support, Stefan Hajnoczi, 2015/06/12
- Re: [Qemu-devel] [PULL 06/10] throttle: Add throttle group support,
Eric Blake <=
- [Qemu-devel] [PULL 08/10] throttle: add the name of the ThrottleGroup to BlockDeviceInfo, Stefan Hajnoczi, 2015/06/12
- [Qemu-devel] [PULL 09/10] throttle: Update throttle infrastructure copyright, Stefan Hajnoczi, 2015/06/12
- [Qemu-devel] [PULL 10/10] qemu-iotests: expand test 093 to support group throttling, Stefan Hajnoczi, 2015/06/12
- Re: [Qemu-devel] [PULL 00/10] Block patches, Peter Maydell, 2015/06/15