From: bert hubert <ahu@ds9a.nl>
To: LKML <linux-kernel@vger.kernel.org>
Subject: Re: ingress policing still not working in 2.4?
Date: Sun, 10 Feb 2002 12:11:30 +0100 [thread overview]
Message-ID: <20020210121130.A4814@outpost.ds9a.nl> (raw)
In-Reply-To: <20020209114529.GA6753@links2linux.de> <20020210005636.A21350@outpost.ds9a.nl> <20020210085521.GA2153@links2linux.de>
In-Reply-To: <20020210085521.GA2153@links2linux.de>; from marc.schiffbauer@links2linux.de on Sun, Feb 10, 2002 at 08:56:42AM +0000
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
prev parent reply other threads:[~2002-02-10 11:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-09 11:45 Marc Schiffbauer
2002-02-09 23:56 ` bert hubert
2002-02-10 8:55 ` Marc Schiffbauer
2002-02-10 11:11 ` bert hubert [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020210121130.A4814@outpost.ds9a.nl \
--to=ahu@ds9a.nl \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®