linux-um archives
 help / color / mirror / Atom feed
From: "Christopher S. Aker" <caker@theshore.net>
To: uml-devel <user-mode-linux-devel@lists.sourceforge.net>
Subject: Re: [uml-devel] [PATCH] I/O-Request Token Bucket Limiter
Date: Sun, 28 Mar 2004 03:52:30 -0600	[thread overview]
Message-ID: <007001c414aa$6349e700$0201a8c0@hawk> (raw)
In-Reply-To: 004901c414a3$f4d28a80$0201a8c0@hawk

> Our sample shows io_tokens being negative, but - while waiting for the bucket
> to be re-supplied, requests will still dribble through no faster than
> token_refill req/second. Or, perhaps this is due to inaccuracies of nanosleep
> or a bug in my logic.

Actually, this makes sense.  The threshold for when we start to nanosleep is when
io_tokens <= 0.  Perhaps the threshold should be when io_tokens < token_refill.

It needs to be checked if io_tokens will continue to decrease under certain
settings and load, but I think the delays are pretty accurate.

-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

  reply	other threads:[~2004-03-28  9:49 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 [this message]
2004-03-28 12:28 ` roland
2004-03-28 13:41   ` Christopher S. Aker
2004-03-28 16:18     ` roland
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='007001c414aa$6349e700$0201a8c0@hawk' \
    --to=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