All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gheorghe Marinca" <ghitza@home.ro>
To: lartc@vger.kernel.org
Subject: [LARTC] What are the proper values for rate/ceil in tc ?
Date: Sat, 12 Mar 2005 06:06:23 +0000	[thread overview]
Message-ID: <00be01c526c9$e0597c10$90abb451@Ghitza> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1398 bytes --]

Hello!
I am using shapping whith htb. My question is what are the propper values I can use in rate/ceil. I use htb.init for quick building of my classes/rules and have 2 groups of clients with 2 different bandwidth assignemet :
  A. 16--->48kbps
  B. 16---->128Kbps
It seems to work everything OK, but can I use lower values for rate like 8Kbps ? What about using 32-->96Kbps? I let htb to compute quantum, I just set R2Q. 

I also get the following error:
itr kernel: HTB: quantum of class 10002 is big. Consider r2q change.<4>HTB: quantum of class 10010 is big. Consider r2q change
Bellow is an exerpt from my coniguration(as produced by htb.init script):

tc qdisc del dev eth1 root
tc qdisc add dev eth1 root handle 1 htb default 99 r2q 1
tc qdisc del dev eth2 root
tc qdisc add dev eth2 root handle 1 htb default 99 r2q 1

tc class add dev eth1 parent 1: classid 1:2 htb rate 10Mbit
tc class add dev eth1 parent 1:2 classid 1:20 htb rate 768kbit ceil 796kbit
tc class add dev eth1 parent 1:20 classid 1:30 htb rate 612kbit ceil 712kbit
.....
tc class add dev eth1 parent 1:20 classid 1:40 htb rate 156kbit ceil 224kbit


.....
tc class add dev eth2 parent 1:30 classid 1:1099 htb rate 16Kbit ceil 128Kbit
tc qdisc add dev eth2 parent 1:1099 handle 1099 sfq perturb 10
tc filter add dev eth2 parent 1:0 protocol ip prio 100 u32 match ip src xx.xx.xx.xx classid 1:1099

[-- Attachment #1.2: Type: text/html, Size: 2778 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

                 reply	other threads:[~2005-03-12  6:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='00be01c526c9$e0597c10$90abb451@Ghitza' \
    --to=ghitza@home.ro \
    --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.