qemu-devel
[Top][All Lists]
Advanced

[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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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