From: "Shaun R." <mailinglists@unix-scripts.com>
To: xen-devel@lists.xensource.com
Subject: Re: Capping i/o ops
Date: Wed, 19 Sep 2007 00:59:40 -0700 [thread overview]
Message-ID: <fcqktl$785$1@sea.gmane.org> (raw)
In-Reply-To: <DAC7D946-A93F-47AC-B033-699933363075@panelsix.com>
I would like to also see this, when we used UML a patch created by Chris at
linode allowed for a guest to be throttled. The system worked on tokens,
where each vps had a bucket full of tokens and each IO operation used 1
token and the bucked was refilled with a specified amount of tokens per
second. If the bucket ran dry the user was throttled and had to wait until
the bucket had more tokens added to it.
http://theshore.net/~caker/patches/token-limiter-v5.patch here's the patch
might give you some type of idea of what to do...
~Shaun
"Pim van Riezen" <pi+lists@panelsix.com> wrote in message
news:DAC7D946-A93F-47AC-B033-699933363075@panelsix.com...
> Hi All,
>
> I've been trying to get a bit of a grip on disk i/o for our Xen set- up.
> We're dealing with server workloads that can, at unexpected times, become
> seriously io-bound, up to the point that a single guest can cannibalize
> the available throughput of the fibrechannel array. Since we're dealing
> with a shared medium and multiple Xen hosts, I'm looking for a way in to
> put an upper cap on the number of i/o operations individual guests can
> perform.
>
> Although this is not entirely scientific, it would allow an informed
> administrator to limit the amount of operations guest A on host X can
> perform to e.g., 50% of an observed maximum, so that guest B on host Y is
> still guaranteed access at a minimum performance level. The case could
> also be made for giving quality of service assurances on the single host
> level, but the multiple host scenario is the more interesting viewpoint:
> It precludes solutions that entail automatic optimizations - there are no
> trivial automatic solutions to be had in this scenario.
>
> I'm not afraid to get my hands dirty and come up with a proof of concept
> or even completer patch, but before I dive in, would this approach stand
> a decent chance at making sense? The current approach seems to be "throw
> the requests at the block layer and let the kernel, the hardware, or God
> sort it out". Has any previous thought been given to this problem area
> that I can/should read up about?
>
> Cheers,
> Pim van Riezen
prev parent reply other threads:[~2007-09-19 7:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-17 19:20 Capping i/o ops Pim van Riezen
2007-09-19 7:59 ` Shaun R. [this message]
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='fcqktl$785$1@sea.gmane.org' \
--to=mailinglists@unix-scripts.com \
--cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.