From: Tomasz Wrona <tw@eter.tym.pl>
To: lartc@vger.kernel.org
Subject: [LARTC] Interactive traffic - how to manage ?
Date: Sun, 23 Jun 2002 14:37:08 +0000 [thread overview]
Message-ID: <marc-lartc-102484311618287@msgid-missing> (raw)
Hello,
I've been trying to manage interactive traffic with HTB [v.2].
I prepared proper classes hierarchy with extra bandwidth and high
priority for interactive.
I tried two variants: one "classic" with root qdisc and class hierarchy
and second with: root_qdisc->rated_class->parent_qdisc->class_hierarchy as
is described in HTB manul in section "6. Priorizing bandwidth share":
# qdisc for delay simulation
tc qdisc add dev eth0 root handle 100: htb
tc class add dev eth0 parent 100: classid 100:1 htb rate 90kbps
# real measured qdisc
tc qdisc add dev eth0 parent 100:1 handle 1: htb
AC="tc class add dev eth0 parent"
$AC 1: classid 1:1 htb rate 100kbps
$AC 1:2 classid 1:10 htb rate 50kbps ceil 100kbps prio 1
$AC 1:2 classid 1:11 htb rate 50kbps ceil 100kbps prio 1
I also attached extra classes on external outgoing interface like have
been described in wondershaper scrip.
I can see that it works somehow but its not ideal. I tried to check how
does it work with filtering ICMP traffic to interactive class and pinging
my gateway.
When bandwidth wasn't saturated Round Trip Time of course was low [~4ms]
but when becomes congested average RTT raised to 100 sometimes to 200ms
and was very jittered [jumping from 6 to 400ms].
1) I have a question about it, why it doesnt work in so manner, why RTT
isn't
always as low as 4ms ie. ? Is it due to reaction time of shaped traffic -
time when traffic have been downgraded from initial max. to some shaped
band. to have some space for interactive band ? Or maybe is it performance
issue ?
In my class setup, I limited parent class to 90% of total avialable band.
[925Kbits for 1MBit line] to have some space for bursts and to avoid
100% saturation and raise performance of interactive traffic.
2) question. What about setup described in "6. Priorizing bandwidth share"
? Could somebody explain me what is a purpose of
rated class [line B] and attached to it second qdisc [line C], how works
this delay
simulation, why not to use "classic" setup ? If it really have something
to do how to compute that rate of "root" class [line B]?
# qdisc for delay simulation
line A) tc qdisc add dev eth0 root handle 100: htb
line B) tc class add dev eth0 parent 100: classid 100:1 htb rate 90kbps
# real measured qdisc
line C) tc qdisc add dev eth0 parent 100:1 handle 1: htb
AC="tc class add dev eth0 parent"
line D)$AC 1: classid 1:1 htb rate 100kbps
Regards
tw
--
----------------
ck.eter.tym.pl
"Never let shooling disturb Your education"
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next reply other threads:[~2002-06-23 14:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-23 14:37 Tomasz Wrona [this message]
2002-06-23 15:29 ` [LARTC] Interactive traffic - how to manage ? Tomasz Wrona
2002-06-23 16:24 ` Tomasz Wrona
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-102484311618287@msgid-missing \
--to=tw@eter.tym.pl \
--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.