[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [Qemu-block] [PATCH 4/8] throttle: Add throttle group s
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [Qemu-block] [PATCH 4/8] throttle: Add throttle group support |
Date: |
Fri, 29 May 2015 13:33:18 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Tue, May 19, 2015 at 03:24:32PM +0300, Alberto Garcia wrote:
> 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>
> ---
> block.c | 15 +--
> block/io.c | 75 +++-----------
> block/qapi.c | 5 +-
> block/throttle-groups.c | 214
> +++++++++++++++++++++++++++++++++++++++-
> blockdev.c | 38 +++++--
> hmp.c | 4 +-
> include/block/block.h | 3 +-
> include/block/block_int.h | 7 +-
> include/block/throttle-groups.h | 4 +
> qapi/block-core.json | 25 ++++-
> qemu-options.hx | 1 +
> qmp-commands.hx | 3 +-
> 12 files changed, 309 insertions(+), 85 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>
pgpSbyvocAllw.pgp
Description: PGP signature
- Re: [Qemu-devel] [PATCH 7/8] throttle: Update throttle infrastructure copyright, (continued)
- [Qemu-devel] [PATCH 3/8] throttle: Add throttle group infrastructure tests, Alberto Garcia, 2015/05/19
- [Qemu-devel] [PATCH 8/8] qemu-iotests: expand test 093 to support group throttling, Alberto Garcia, 2015/05/19
- [Qemu-devel] [PATCH 6/8] throttle: add the name of the ThrottleGroup to BlockDeviceInfo, Alberto Garcia, 2015/05/19
- [Qemu-devel] [PATCH 5/8] throttle: acquire the ThrottleGroup lock in bdrv_swap(), Alberto Garcia, 2015/05/19
- [Qemu-devel] [PATCH 2/8] throttle: Add throttle group infrastructure, Alberto Garcia, 2015/05/19
- [Qemu-devel] [PATCH 4/8] throttle: Add throttle group support, Alberto Garcia, 2015/05/19
- Re: [Qemu-devel] [Qemu-block] [PATCH 4/8] throttle: Add throttle group support,
Stefan Hajnoczi <=
- [Qemu-devel] [PATCH 1/8] throttle: Extract timers from ThrottleState into a separate structure, Alberto Garcia, 2015/05/19