All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] traffic shaper with htb and imq ==> bad latency
@ 2003-02-26 11:34 ExElNeT
  2003-02-26 14:07 ` Stef Coene
  0 siblings, 1 reply; 2+ messages in thread
From: ExElNeT @ 2003-02-26 11:34 UTC (permalink / raw)
  To: lartc

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LARTC] traffic shaper with htb and imq ==> bad latency
  2003-02-26 11:34 [LARTC] traffic shaper with htb and imq ==> bad latency ExElNeT
@ 2003-02-26 14:07 ` Stef Coene
  0 siblings, 0 replies; 2+ messages in thread
From: Stef Coene @ 2003-02-26 14:07 UTC (permalink / raw)
  To: lartc

On Wednesday 26 February 2003 12:34, ExElNeT wrote:
> 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 :)
Try to add a small fifo qdisc to your high priority class.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-26 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-26 11:34 [LARTC] traffic shaper with htb and imq ==> bad latency ExElNeT
2003-02-26 14:07 ` Stef Coene

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.