Re: [LARTC] HTB problems

2002-12-09 Thread Vladimir Smelhaus
On 9 Dec 2002, 15:52, Thomas Jalsovsky wrote:

  I have HTB on IMQ device. My rate does not work as I configured. I
 configured 1920kbit/s and I can download only about 290kbit/s (while

Set your pfifo limit higher. You have too much dropped packets.

 class htb 1:10 parent 1:1 leaf 10: prio 0 quantum 9011 rate 704Kbit
 ceil 1920Kbit burst 2500b/8 mpu 0b cburst 4056b/8 mpu 0b level 0
  Sent 8642235 bytes 8393 pkts (dropped 2153, overlimits 0)
  rate 36918bps 36pps
  lended: 3618 borrowed: 4775 giants: 0
  tokens: 22301 ctokens: 13363

Zdravim/Regards

 Vladimir Smelhaus

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/



Re: [LARTC] HTB on IMQ

2002-12-06 Thread Vladimir Smelhaus
On 6 Dec 2002, 9:34, Thomas Jalsovsky wrote:

 Is the shaper configuration (one IMQ for ingress and eggress traffic
 from the same physical interface) WRONG or simple it is a kernel bug?
 
It is wrong. You must have separate imq devices for ingress and 
egress.

i.e.

modprobe imq numdevs=2

iptables -t mangle -A PREROUTING -i eth1 -j IMQ --todev 0
iptables -t mangle -A POSTROUTING -o eth1 -j IMQ --todev 1

Zdravim/Regards

 Vladimir Smelhaus

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/