[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC V2 7/8] throttle: Add throttle group support
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [RFC V2 7/8] throttle: Add throttle group support |
Date: |
Tue, 02 Sep 2014 16:37:40 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 |
On 08/13/2014 08:23 AM, BenoƮt Canet wrote:
> The throttle group support use a cooperative round robin scheduling algorithm.
>
> The principle of the algorithm are simple:
s/are/is/
> - Each BDS of the group is used as a token in a circular way.
> - The active BDS compute if a wait must be done and arm the right timer.
s/compute/computes/
s/arm/arms/
> - If a wait must be done the token timer will be armed so the token will
> become
> the next active BDS.
>
> Signed-off-by: Benoit Canet <address@hidden>
> ---
> +++ b/qapi/block-core.json
> @@ -886,6 +886,9 @@
> #
> # @iops_size: #optional an I/O size in bytes (Since 1.7)
> #
> +#
> +# @group: #optional throttle group name (Since 2.2)
Extra blank comment line.
Interface seems okay; I haven't looked closely at the code.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [RFC V2 7/8] throttle: Add throttle group support,
Eric Blake <=