From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] wrong shaping
Date: Mon, 10 Nov 2003 17:46:15 +0000 [thread overview]
Message-ID: <marc-lartc-106848820630384@msgid-missing> (raw)
In-Reply-To: <marc-lartc-106831241429158@msgid-missing>
On Saturday 08 November 2003 17:55, victor wrote:
> I have a class parent and a class child;
> In the child class I have 6 dropped pachets, but in the parent class I
> have none(in teh example configuration parent is 1:9 and child is 1:2eb).
> Is this possible, or I have somethimg wrong in the configuration?
> My exact problem is:
> -I have many clases that have 1Kbit rate and 500Kbit ceil.
> -I have HZ\x1000, compiled in the kernel.
>
> When I create a class with ratedKbit, ceildKbit, this class will not
> transfer at this exact rate. The rate will repat jumping from a few Kbits
> to 64Kbits and back, but will never stay at the ratedKbit.
How do you measure this ?
> More than that, many clases that have rate=1Kbit, ceilP0Kbit will have a
> better transfer than the class with rate 64Kbit.
>
> My configuration is:
> tc qdisc add dev eth1 root handle 1: htb default 2
>
> tc class add dev eth1 parent 1: classid 1:9 htb rate 1400Kbit prio 0
> quantum 2000
>
> tc class add dev eth1 parent 1: classid 1:2 htb rate 9999Kbit prio 0
> quantum 2000
>
> Just one class and 1 filter(thay are many):
>
> tc class add dev eth1 parent 1:9 classid 1:2eb htb rate 64Kbit ceil
> 500Kbit prio 0 quantum 2000
>
> tc filter add dev eth1 parent 1: prio 1 handle 7: protocol ip u32 divisor
> 256 tc filter add dev eth1 parent 1: prio 1 protocol ip u32 ht 800:: match
> ip dst xxx.xxx.xxx.0/24 hashkey mask 0x000000ff at 16 link 7:
> tc filter add dev eth1 prio 1 protocol ip u32 ht 2:eb match ip src
> xxx.xxx.xxx.xxx flowid 1:2eb
>
> Configuration for upload is simetrical.
Stef
--
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
prev parent reply other threads:[~2003-11-10 17:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-08 16:55 [LARTC] wrong shaping victor
2003-11-10 17:46 ` Stef Coene [this message]
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-106848820630384@msgid-missing \
--to=stef.coene@docum.org \
--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