Re: Bandwidth 'depredation' revisited

From: Albert D. Cahalan (
Date: Thu Jun 13 2002 - 22:35:43 EST

Anders Fugmann writes:

> The best solution would be to install some sort of traffic shaping on
> the remove side (you ISP), but that is often(/always) not a possible
> solution.
> The second best solution is to simple drop packets comming in too
> quickly from the interface. By this, the sending machine will slow down
> transmission. The idea is to keep the queues at you ISP empty.
> To do this you can use ingress scheduler.
> Something like:
> tc qdisc add dev eth0 handle ffff: ingress
> tc filter add dev etc0 parent ffff: protocol ip prio 50 u32 \
> match ip src police \
> rate 232kbit burst 10k drop flowid :1

Rather than dropping packets, causing retransmits that
eat into your bandwidth, you could try the new ECN bits.
If you're downloading from a Linux box, it ought to slow
down a bit when you claim to be suffering congestion.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:30 EST