Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Tom Olexa" <olexat@post.cz>
To: lartc@vger.kernel.org
Subject: [LARTC] Excess BW again
Date: Wed, 15 Oct 2003 10:42:10 +0000	[thread overview]
Message-ID: <marc-lartc-106621592102405@msgid-missing> (raw)

Hello there,

I've already posted st similar, but anyway...
can anyone tell me, why the following setup

tc qdisc add dev eth0 root handle 1: htb r2q 5 

tc class add dev eth0 parent 1: classid 1:1 htb rate 512kbit ceil
512kbit tc class add dev eth0 parent 1:1 classid 1:10 htb rate
64kbit ceil 512kbit tc class add dev eth0 parent 1:1 classid 1:11
htb rate 256kbit ceil 512kbit

tc filter add dev eth0 parent 1: protocol ip prio 1 u32 \
        match ip dst 195.28.103.7 flowid 1:10
tc filter add dev eth0 parent 1: protocol ip prio 1 u32 \
        match ip dst 195.28.103.5 flowid 1:11

doesn't distribute the excess bw in proportion of allocated bw?

Ratio I expect is 64/256, but I get some 1/2.1 or similar. This
varies according to r2q, but anyway it never gets close to 1/4.

kernel 2.4.21, htb 3.12, but also tested on 2.4.18, htb 3.6 with
similar results...

Can anyone try this setup?

Thanks, Tom

-- 
Potrebujete vice prostoru pro vase stranky?
Ptejte se na http://sluzby.volny.cz/cs/product/ftp_paid


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

             reply	other threads:[~2003-10-15 10:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-15 10:42 Tom Olexa [this message]
2003-10-16 17:29 ` [LARTC] Excess BW again Stef Coene

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-106621592102405@msgid-missing \
    --to=olexat@post.cz \
    --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