linux-um archives
 help / color / mirror / Atom feed
From: "roland" <for_spam@gmx.de>
To: "Christopher S. Aker" <caker@theshore.net>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] [PATCH] I/O-Request Token Bucket Limiter
Date: Sun, 28 Mar 2004 18:18:45 +0200	[thread overview]
Message-ID: <0c3e01c414e0$58c21240$2000000a@schlepptopp> (raw)
In-Reply-To: 002b01c414ca$5f439370$0201a8c0@hawk

thanks for explanation!

that`s a great feature :)

is it (generally) possible to have something similar for cpu or other "ressources" like network bandwidth , too?

regards
roland


----- Original Message ----- 
From: "Christopher S. Aker" <caker@theshore.net>
To: "roland" <for_spam@gmx.de>; "uml-devel" <user-mode-linux-devel@lists.sourceforge.net>
Sent: Sunday, March 28, 2004 3:41 PM
Subject: Re: [uml-devel] [PATCH] I/O-Request Token Bucket Limiter


> > hello christoph,
> > could you please explain (in a simple way), what your patch can be used for?
> > from my point of understanding, we now can limit the maximum i/o bandwidth a
> single uml can use?
> > is that right?
> > i have difficulties in understanding the meaning of token/bucket/filter.
> 
> It allows you to place a limit on the amount of disk I/O that makes it to the host
> from each UML.  It is useful in the case where a mis-configured UML is thrashing
> its swapfile, and in turn consuming a lot of I/O on the host and starving the
> other UMLs of precious disk time.
> 
> The useful thing about the TBF is that it allows an initial burstable,
> unrestricted rate until the token bucket is empty.  The variable token_max (the
> size of the bucket) becomes how much "burstable" I/O to provide to the UML before
> it starts limiting the rate.  Each I/O request takes one token from io_tokens, but
> every second token_refill is added to io_tokens (to a maximum of token_max).
> 
> A way to see this is in action is to apply the patch, run the UML, and then on the
> host:
> 
> [root@host ~]# watch "uml_mconsole /path/to/mconsole/socket io_status 2>/dev/null
> "
> 
> And then:
> 
> [user@uml ~] dd if=/dev/zero of=/bigfile bs=1M count=200
> (or some other I/O generating activity)
> 
> and watch the mconsole io_status output...
> 
> -Chris
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> User-mode-linux-devel mailing list
> User-mode-linux-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
> 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

  reply	other threads:[~2004-03-28 16:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-28  9:06 [uml-devel] [PATCH] I/O-Request Token Bucket Limiter Christopher S. Aker
2004-03-28  9:52 ` Christopher S. Aker
2004-03-28 12:28 ` roland
2004-03-28 13:41   ` Christopher S. Aker
2004-03-28 16:18     ` roland [this message]
2004-03-28 18:26       ` BlaisorBlade
2004-05-28 11:13 ` roland

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='0c3e01c414e0$58c21240$2000000a@schlepptopp' \
    --to=for_spam@gmx.de \
    --cc=caker@theshore.net \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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