All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] questiona about CBQ algorithm in Linux
Date: Fri, 06 Sep 2002 18:56:48 +0000	[thread overview]
Message-ID: <marc-lartc-103133865918449@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103133411013606@msgid-missing>

> 4. I read stef's monitor.pl, it is based on firwall code. why didn't use
> CBQ's measurement result if it can do (I am not sure..)?
With iptables you can monitor everything you want.  It can also be used to 
determine who is using the most bandwidth.  Actually it's a bandwidth monitor 
and not a tc monitor.  But I use it to monitor tc :).
I have some other scripts that uses the counters in cbq if you are intersted 
(see the page under the gui link).  They create nice looking graphs.  So ne 
real-time measurement like monitor.pl.

> 5. In stef's bandwidth monitor, I am not sure whether  it is per-flow based
> or per-class based. if it is per-flowed based, how can I modify to
> per-class? I belivee CBQ can estimate used bandwidth PER CLASS. For example
>  you have two flow belong to one class.
Again, you can montir whatever you want with monitor.pl as long as you can 
match the packets with iptables.  There are other monitors (I just don't 
remember them right now), who can identify flows and monitor them.  

> 6. In Linux how CBQ distribute the excess bandwidth between sibling class
> when "borrow" enabled.  what algorithm it used? which code?
>
> 7. Can HTB do the same job as CBQ right now, can HTB do borrow ?
Yes :
class 1 with rate = 100, ceil = 100
   class 11 with rate = 25, ceil = 100
   class 12 with rate = 75, ceil = 100
Class 11 and 12 borrow the same 100.  Class 12 will get 75% of the link, class 
11 15%.

Stef
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      reply	other threads:[~2002-09-06 18:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-06 17:41 [LARTC] questiona about CBQ algorithm in Linux yuxiao
2002-09-06 18:56 ` Stef Coene [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=marc-lartc-103133865918449@msgid-missing \
    --to=stef.coene@docum.org \
    --cc=lartc@vger.kernel.org \
    /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.