Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Victor" <victor@ambra.ro>
To: lartc@vger.kernel.org
Subject: [LARTC] configuration problem
Date: Sat, 07 Sep 2002 21:57:55 +0000	[thread overview]
Message-ID: <marc-lartc-106637629224097@msgid-missing> (raw)

I must say that the sum of rates of child classes is higher than the rate
of class 1:1(parent class);
My configuration:
tc qdisc add dev eth1 root handle 1: htb default 2
tc class add dev eth1 parent 1: classid 1:1 htb rate 500Kbit prio 1
quantum 2000
tc class add dev eth1 parent 1: classid 1:2 htb rate 9999Kbit prio 1
quantum 2000


Classes:
tc class add dev eth1 parent 1:1 classid 1:601 htb rate 1Kbit ceil 500Kbit
prio 0 quantum 2000
tc class add dev eth1 parent 1:1 classid 1:602 htb rate 64Kbit ceil
500Kbit prio 0 quantum 2000
.
. (255 clases total)
.
tc class add dev eth1 parent 1:1 classid 1:6fe htb rate 128Kbit ceil
500Kbit prio 0 quantum 2000
tc class add dev eth1 parent 1:1 classid 1:6ff htb rate 1Kbit ceil 500Kbit
prio 0 quantum 2000


Filters
tc filter add dev eth1 parent 1: prio 1 handle 4: protocol ip u32 divisor 256
tc filter add dev eth1 parent 1: prio 1 protocol ip u32 ht 800:: match ip
dst 81.97.105.0/24 hashkey mask 0x000000ff at 16 link 4:
tc filter add dev eth1 prio 1 protocol ip u32 ht 4:01 match ip dst
81.97.105.1 flowid 1:601
tc filter add dev eth1 prio 1 protocol ip u32 ht 4:02 match ip dst
81.97.105.2 flowid 1:602
.
.(255 filters total)
.
tc filter add dev eth1 prio 1 protocol ip u32 ht 6:fe match ip dst
81.97.105.254 flowid 1:6fe
tc filter add dev eth1 prio 1 protocol ip u32 ht 6:ff match ip dst
8197.105.255 flowid 1:6ff

The problem:
I have a user with a rate of 64Kbit ceil 64Kbit.
His trafic is like this: He touches 64Kbit on a graphic, then he drops
down to a few Kbits, and it keeps repeating this.
He shouls stay at 64Kbit constantly.
This does not heapens all the time.
Some times works just good.
I want to know if is something wrong with this configuration.
I use a similar configuration for upload.

Thank you


-----------------------------------------
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/


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

                 reply	other threads:[~2002-09-07 21:57 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=marc-lartc-106637629224097@msgid-missing \
    --to=victor@ambra.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox