netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Julien Vehent <julien@linuxwall.info>
To: Marek Kierdelewicz <marek@piasta.pl>
Cc: netfilter@vger.kernel.org
Subject: Re: QoS weirdness : HTB accuracy
Date: Thu, 25 Mar 2010 22:50:53 +0100	[thread overview]
Message-ID: <7fff3360eb8e6fd57ed3641d87c1293e@localhost> (raw)
In-Reply-To: <20100325203630.30cf2254@catlap>

On Thu, 25 Mar 2010 20:36:30 +0100, Marek Kierdelewicz <marek@piasta.pl>
wrote:
> Hi,
> 
>>From my point of view, it looks like class 20 is borrowing, so the
>>other classes are not authorized to borrow whatever is left.
> 
> How do you measure the bandwidth consumed by each fraction of traffic
> that you visualise on image? Are values gathered from iptables rule
> counters?

Nope, I parse tc command line output with a perl script, get the 'rate'
value for each classe, multiply it by 8 to have it in bits and not bytes,
and insert it into a RRD database.

script is somewhat similar to this
http://jve.linuxwall.info/ressources/code/tcparsestat.pl


Julien

  reply	other threads:[~2010-03-25 21:50 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25 18:06 QoS weirdness : HTB accuracy Julien Vehent
2010-03-25 18:31 ` Marek Kierdelewicz
2010-03-25 19:17   ` Julien Vehent
2010-03-25 19:36     ` Marek Kierdelewicz
2010-03-25 21:50       ` Julien Vehent [this message]
     [not found] ` <A846BBAEAA674FAA90FA2008DDD1ED12@hakkenden>
2010-03-25 21:49   ` Julien Vehent
     [not found]     ` <F44DB77B8BA04D108C884E966BD65F9E@hakkenden>
2010-03-25 22:15       ` Julien Vehent
2010-05-19  0:07 ` Philip A. Prindeville
2010-05-22 14:29   ` Julien Vehent
2010-06-10 21:22     ` Andrew Beverley
2010-07-04 17:50       ` Andrew Beverley
2010-07-07 13:07         ` Jesper Dangaard Brouer
2010-07-07 15:07           ` Jussi Kivilinna
2010-08-11 17:59             ` Andrew Beverley
2010-08-14 17:27               ` Jussi Kivilinna
2010-08-11 14:27           ` Andrew Beverley
2010-07-07 12:50     ` Jesper Dangaard Brouer

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=7fff3360eb8e6fd57ed3641d87c1293e@localhost \
    --to=julien@linuxwall.info \
    --cc=marek@piasta.pl \
    --cc=netfilter@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 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).