Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Evgeni Gechev <etg@setcom.bg>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] htb
Date: Tue, 13 May 2003 20:47:33 +0000	[thread overview]
Message-ID: <marc-lartc-105285981311992@msgid-missing> (raw)
In-Reply-To: <marc-lartc-101661742904753@msgid-missing>

Stef Coene wrote:

> On Tuesday 13 May 2003 21:47, Evgeni Gechev wrote:
> > Stef Coene wrote:
> > > > Satisfied :)
> > > > But partially :(
> > > > The problem is that the bandwidth is REALLY limited to about 730kbps.
> > >
> > > Then your class reaches it's limit.  But why do you have a ceil of 48Mbps
> > > and 730kbps?
> >
> > Exactly. Why?
> > I can't find out.
> What's the command you used to create that class?
>
> Stef
>
> --
>
> stef.coene@docum.org
>  "Using Linux as bandwidth manager"
>      http://www.docum.org/
>      #lartc @ irc.oftc.net

Simple configuration:


test1:
root@mail:~# tc qdisc add dev eth1 root handle 1000: htb
root@mail:~# tc class add dev eth1 parent 1000: classid 1000:10 htb rate 5Mbit
ceil 5Mbit burst 3k quantum 1600
root@mail:~# tc filter add dev eth1 protocol ip prio 100 u32 match ip dst
0.0.0.0/0 flowid 1000:10
root@mail:~# ifstat -i eth1
       eth1
 KB/s in  KB/s out
   43.84    631.32
   43.46    627.32
   43.71    627.99
   43.27    626.35
   43.72    627.36
   43.59    628.03
   43.62    627.17
   43.96    627.22
   43.43    627.81
   43.83    627.54

test2:
root@mail:~# tc qdisc add dev eth1 root handle 1000: htb
root@mail:~# tc class add dev eth1 parent 1000: classid 1000:10 htb rate 6Mbit
ceil 6Mbit burst 3k quantum 1600
root@mail:~# tc filter add dev eth1 protocol ip prio 100 u32 match ip dst
0.0.0.0/0 flowid 1000:10
root@mail:~# ifstat -i eth1
       eth1
 KB/s in  KB/s out
   45.46    651.63
   45.06    651.58
   45.02    651.49
   45.22    647.36
   45.14    652.95
   45.31    651.22
   45.29    650.39
   44.96    650.34
   45.13    651.30
   45.16    651.42

test3:
root@mail:~# tc qdisc add dev eth1 root handle 1000: htb
root@mail:~# tc class add dev eth1 parent 1000: classid 1000:10 htb rate 50Mbit
ceil 50Mbit burst 3k quantum 1600
root@mail:~# tc filter add dev eth1 protocol ip prio 100 u32 match ip dst
0.0.0.0/0 flowid 1000:10
root@mail:~# ifstat -i eth1
       eth1
 KB/s in  KB/s out
   45.04    655.73
   44.75    644.21
   45.16    651.51
   45.36    652.94
   44.28    650.62
   45.15    651.90
   44.91    651.28
   45.21    651.69
   44.66    651.25
   45.16    650.84

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

  parent reply	other threads:[~2003-05-13 20:47 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-20  9:43 [LARTC] htb George Tsuladze
2002-03-20 12:20 ` Soulfly
2002-05-04 11:42 ` Stef Coene
2002-09-24 14:12 ` [LARTC] HTB Rimas
2002-09-24 14:12 ` Rimas
2002-09-24 14:17 ` Marc-Christian Petersen
2002-09-24 14:23 ` Esteban Maringolo
2002-09-24 14:30 ` Rimas
2002-09-24 14:55 ` Rimas
2002-09-24 15:00 ` Marc-Christian Petersen
2002-09-24 15:14 ` Rimas
2002-09-24 15:14 ` Rimas
2002-09-24 15:51 ` Esteban Maringolo
2002-09-24 16:16 ` Stef Coene
2002-09-25  4:27 ` mdew
2002-09-25  7:59 ` Stef Coene
2002-09-26 14:36 ` raptor
2002-11-08 13:45 ` Chandrashekhar Rane
2002-12-27 20:14 ` Reginald R. Richardson
2002-12-27 21:59 ` Stef Coene
2003-05-13 18:00 ` [LARTC] htb Evgeni Gechev
2003-05-13 18:34 ` Stef Coene
2003-05-13 19:03 ` Evgeni Gechev
2003-05-13 19:40 ` Stef Coene
2003-05-13 19:47 ` Evgeni Gechev
2003-05-13 19:53 ` Stef Coene
2003-05-13 20:47 ` Evgeni Gechev [this message]
2003-05-14 10:01 ` Stef Coene
2004-01-15  7:21 ` [LARTC] HTB Cristea Virgil Ionut
2004-01-15 12:12 ` Andre Correa
2004-04-09 23:09 ` Arturas Lapiene
2004-10-14 18:23 ` sistemas
2004-10-14 20:03 ` Jason Boxman
2004-10-17 11:44 ` [LARTC] htb James Lista
2004-10-17 12:08 ` James Lista
2004-10-17 12:19 ` Andreas Klauer
2004-10-17 12:41 ` James Lista
2004-10-17 12:53 ` ja
2004-10-17 13:02 ` James Lista
2004-10-17 13:20 ` Andreas Klauer
2004-10-17 13:22 ` Andreas Klauer
2004-11-10 14:48 ` [LARTC] HTB "Marcus Schäfer"
2007-06-10 16:27 ` Marco Aurelio
2007-06-11  8:09 ` m.innocenti
  -- strict thread matches above, loose matches on Subject: below --
2002-05-04  8:53 [LARTC] htb Anjaneya Pal
2002-05-04  8:56 ` Martin Devera

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-105285981311992@msgid-missing \
    --to=etg@setcom.bg \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox