Re: [LARTC] burst per connection or filter on packet numbers

2002-11-23 Thread Walter Haidinger
On Sat, 23 Nov 2002, Marcus Blomenkamp wrote: You could try the WRR (weighted-round-robin) scheduler. It's not yet included into the standard kernel sources, so you've got to patch them. Google should help. Thanks for the hint! I'll have a look at it. FYI, it is referenced for the lartc

Re: [LARTC] burst per connection or filter on packet numbers

2002-11-22 Thread Walter Haidinger
On Fri, 22 Nov 2002, Stef Coene wrote: Why not doing with htb? It has a nice burst parameter that does exactly what you want. Not exactly. If I understand the htb users guide correctly, then the bursts only apply if there is the chance that they can recharge (i.e. there is some period without

Re: [LARTC] Packets Redirection

2002-10-24 Thread Walter Haidinger
On Thu, 24 Oct 2002, Tom wrote: tc filter add dev $DEV parent 1:0 prio 0 protocol ip handle 20 fw flowid 1:20 tc filter add dev $DEV parent 1:0 prio 0 protocol ip handle 21 fw flowid 1:21 tc filter add dev $DEV parent 1:0 prio 0 protocol ip handle 22 fw flowid 1:22 This odd. With my setup

[LARTC] htb attached to prio: makes sense?

2002-10-23 Thread Walter Haidinger
Hi! Does it make sense to create a prio qdisc and attach an htb qdisc to it? I'm thinking of a configuration like: root | +- prio 1: -+ || | 1:1 1:21:3 || |

Re: [LARTC] htb limiting trouble: no overlimit or dropped packets

2002-10-17 Thread Walter Haidinger
On Thu, 17 Oct 2002, Nickola Kolev wrote: On Thu, 17 Oct 2002 00:33:05 +0200 (CEST) Walter Haidinger [EMAIL PROTECTED] wrote: [ cut ] tc qdisc add dev eth1 root handle 1: htb default 20 tc class add dev eth1 parent 1: classid 1:1 htb rate 64kbit ceil 64kbit burst 5k tc class add dev

Re: [LARTC] why dont packets go where i want?

2002-10-17 Thread Walter Haidinger
On Thu, 17 Oct 2002, Kertész Viktor wrote: Here you are: (i made ssh,ping,ftp traffic) class htb 1:101 parent 1:100 leaf 101: prio 0 rate 10Kbit ceil 30Kbit burst 1611b cburst 1637b Sent 0 bytes 0 pkts (dropped 0, overlimits 0) lended: 0 borrowed: 0 giants: 0 tokens: 1031680 ctokens:

Re: [LARTC] htb limiting trouble: no overlimit or dropped packets

2002-10-17 Thread Walter Haidinger
On Thu, 17 Oct 2002, Stef Coene wrote: Htb nor cbq will be perfectly shaping. So try ceil 57 and see what happens. Go as low as needed untill you can see the difference. You have to do this. If you don't, you are filling the buffers of the modem and it will be the modem that controls the

Re: [LARTC] htb limiting trouble: no overlimit or dropped packets

2002-10-17 Thread Walter Haidinger
64kbit ceil 64kbit Now, if my actual uplink speed is larger (512 kbit/s), traffic should be shaped to the desired rate (64 kbit/s), right? But for me upload traffic is still at full speed of 512 kbit/s. How do I prevent this? -- Walter Haidinger [EMAIL PROTECTED] For contact information or PGP

Re: [LARTC] why dont packets go where i want?

2002-10-17 Thread Walter Haidinger
On Thu, 17 Oct 2002, Walter Haidinger wrote: You cannot shape traffic for downloads with HTB, you'll need ingress instead. I'm not 100% (but quite!) sure there (just into traffic shaping a few days), so would somebody please correct me if I'm wrong here. Well, luckily I was wrong here! Just

[LARTC] htb limiting trouble: no overlimit or dropped packets

2002-10-16 Thread Walter Haidinger
Hi! I'm trying to limit the uplink bandwidth using htb but no packets are overlimit or dropped. :-( My router config: * Linux kernel 2.4.20-pre10 (htb v3.7) with everything built as modules in QoS, iptables in use. * tc binary from htb3.6-020525.tgz * external interface eth0: Internet access,