From: "Benoît Canet" <benoit@irqsave.net>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, "Benoît Canet" <benoit@irqsave.net>,
stefanha@redhat.com
Subject: [Qemu-devel] [PATCH for-1.6 0/4] Leaky bucket throttling and features
Date: Mon, 22 Jul 2013 16:38:38 +0200 [thread overview]
Message-ID: <1374503922-27965-1-git-send-email-benoit@irqsave.net> (raw)
The first patch fixes the throttling which was broken by a previous commit.
The next patch replace the existing throttling algorithm by the well described
leaky bucket algorithm.
Third patch implement bursting by adding *_threshold parameters to
qmp_block_set_io_throttle.
The last one allow to define the max size of an io when throttling by iops via
iops_sector_count to avoid vm users cheating on the iops limit.
Benoît Canet (4):
block: Repair the throttling code.
block: Modify the throttling code to implement the leaky bucket
algorithm.
block: Add support for throttling burst threshold in QMP and the
command line.
block: Add iops_sector_count to do the iops accounting for a given io
size.
block.c | 424 +++++++++++++++++++++++++--------------------
block/qapi.c | 28 +++
blockdev.c | 174 +++++++++++++++++--
hmp.c | 36 +++-
include/block/block_int.h | 16 +-
include/block/coroutine.h | 5 +
qapi-schema.json | 40 ++++-
qemu-coroutine-lock.c | 14 ++
qemu-options.hx | 2 +-
qmp-commands.hx | 34 +++-
10 files changed, 561 insertions(+), 212 deletions(-)
--
1.7.10.4
next reply other threads:[~2013-07-22 14:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-22 14:38 Benoît Canet [this message]
2013-07-22 14:38 ` [Qemu-devel] [PATCH for-1.6 1/4] block: Repair the throttling code Benoît Canet
2013-07-22 14:38 ` [Qemu-devel] [PATCH for-1.6 2/4] block: Modify the throttling code to implement the leaky bucket algorithm Benoît Canet
2013-07-22 14:38 ` [Qemu-devel] [PATCH for-1.6 3/4] block: Add support for throttling burst threshold in QMP and the command line Benoît Canet
2013-07-22 14:38 ` [Qemu-devel] [PATCH for-1.6 4/4] block: Add iops_sector_count to do the iops accounting for a given io size Benoît Canet
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1374503922-27965-1-git-send-email-benoit@irqsave.net \
--to=benoit@irqsave.net \
--cc=kwolf@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).