lkml.org 
[lkml]   [2002]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ingress policing still not working in 2.4?
On Sun, Feb 10, 2002 at 08:56:42AM +0000, Marc Schiffbauer wrote:

> > > Before that I successfully did this:
> > > # install root CBQ
> > > DEV=ppp0
> > > UPLINK=100
> > > DOWNLINK=750
> > > tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 100mbit
> >
> > The WonderShaper!
> >
> What?

That's the name of this script.

> Ok, I changed the 10mbit to 100mbit because this is my LAN speed
> here. I first didn't see, that the root handle is per device.

I haven't yet seen DSL devices that talk 100mbit, btw. But there might be.

> But
> tc qdisc add dev $DEV root handle 1: cbq avpkt 1000 bandwidth 10mbit
>
> is exactly the line from your HOWTO. So what will be proper values
> for my DSL Line with 128kbit up and 768kbit downstream?

I get a lot of email about this script and generally it requires some
tuning. Not all kbits are equal it appears. Some ISPs measure without ip
overhead, some with, other ISPs include PPP overhead, or PPPoA overhead, so
there is no general rule.

Whenever I deploy this script I spend some time tuning the UPLINK and
DOWNLINK values until I get the best results (maximum speed, but no
queueuing).

Good luck!

Regards,

bert

--
http://www.PowerDNS.com Versatile DNS Software & Services
http://www.tk the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:24    [W:0.035 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site