All of lore.kernel.org
 help / color / mirror / Atom feed
From: "ExElNeT" <LLTTLL@web.de>
To: lartc@vger.kernel.org
Subject: [LARTC] traffic shaper with htb and imq ==> bad latency
Date: Wed, 26 Feb 2003 11:34:14 +0000	[thread overview]
Message-ID: <marc-lartc-104625935715225@msgid-missing> (raw)

[-- Attachment #1: Type: text/plain, Size: 2284 bytes --]

Hi!

I have configured traffic shaping with htb and imq but when i am downloading the latency for example on the Bnet class is very high .....
example:

65 kb/s download
best latency: 56ms
lateny on bnet class while downloading: 400 350 250 350 400 100 300 200 80 200 300 250 .....
To get informations about latency i am marking ping packets with iptables.

I want to play during other users downloading and i want to keep my voicechat useable ... i need low latency

It would be nice if you could help ... 

I am happy about every answer :)

using: gentoo p200mmx 64mb ram 2.4.20 kernel

my script:

### Traffic Shaper

## down 768kbit
## up   128kbit 

tc qdisc add dev $EXTIF root handle 1:0 htb default 13
tc class add dev $EXTIF parent 1:0 classid 1:1 htb rate 16kbps ceil 16kbps prio 0
# Gamevoice
tc class add dev $EXTIF parent 1:1 classid 1:11 htb rate 3kbps ceil 14kbps prio 0
# Bnet
tc class add dev $EXTIF parent 1:1 classid 1:12 htb rate 7kbps ceil 14kbps prio 1
# Normal
tc class add dev $EXTIF parent 1:1 classid 1:13 htb rate 3kbps ceil 14kbps prio 6
# Edonkey
tc class add dev $EXTIF parent 1:1 classid 1:14 htb rate 2kbps ceil 5kbps prio 7

tc qdisc add dev $IMQIF root handle 1:0 htb default 13
tc class add dev $IMQIF parent 1:0 classid 1:1 htb rate 86kbps ceil 86kbps prio 0
# Gamevoice
tc class add dev $IMQIF parent 1:1 classid 1:11 htb rate 3kbps ceil 84kbps prio 0
# Bnet
tc class add dev $IMQIF parent 1:1 classid 1:12 htb rate 7kbps ceil 84kbps prio 1
# Normal
tc class add dev $IMQIF parent 1:1 classid 1:13 htb rate 45kbps ceil 84kbps prio 6
# Edonkey
tc class add dev $IMQIF parent 1:1 classid 1:14 htb rate 24kbps ceil 50kbps prio 7

# Gamevoice
tc filter add dev $EXTIF parent 1: prio 0 protocol ip handle 11 fw flowid 1:11  
# Bnet
tc filter add dev $EXTIF parent 1: prio 0 protocol ip handle 12 fw flowid 1:12  
# Edonkey
tc filter add dev $EXTIF parent 1: prio 0 protocol ip handle 14 fw flowid 1:14

# Gamevoice
tc filter add dev $IMQIF parent 1: prio 0 protocol ip handle 21 fw flowid 1:11  
# Bnet
tc filter add dev $IMQIF parent 1: prio 0 protocol ip handle 22 fw flowid 1:12  
# Edonkey
tc filter add dev $IMQIF parent 1: prio 0 protocol ip handle 24 fw flowid 1:14

greetz
ExElNeT

[-- Attachment #2: Type: text/html, Size: 4069 bytes --]

             reply	other threads:[~2003-02-26 11:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-26 11:34 ExElNeT [this message]
2003-02-26 14:07 ` [LARTC] traffic shaper with htb and imq ==> bad latency 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-104625935715225@msgid-missing \
    --to=llttll@web.de \
    --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.