From: Andy Furniss <andy.furniss@dsl.pipex.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] newbie: TC[NG] with (256kbit/s down and 768kbit/s up)
Date: Wed, 05 May 2004 08:34:35 +0000 [thread overview]
Message-ID: <4098A71B.4060401@dsl.pipex.com> (raw)
In-Reply-To: <46799.82.82.95.252.1082769835.squirrel@mail.surakware.net>
Andreas Klauer wrote:
> Am Wednesday 28 April 2004 10:42 schrieb Christian Parpart:
>
>>Could someone show me some simple example code for incress+egress
>>shaping for ppp0 (for a router with clients at eth0)?
>
>
> Maybe my script will do: http://www.metamorpher.de/ipshape/
>
> I don't know about 'simple', but I got a script designed for
> routers in general which have to provide masquerading, port
> forwarding and traffic shaping for several clients in the LAN.
> Even if it looks a bit complicated here and there, I think I got
> it well documented, though. It looks pretty similar to what you
> were trying to do.
>
> I created this with the help of LARTC (Howto, Stef's docum.org, and
> of course this list) and it has grown a lot lately :-) You can
> specify the IPs of your clients, and bandwidth will be shared
> in a fair manner among them.
>
> I use HTB, PRIO and SFQ to do that. It works well for me, but I'm
> sure that there is still LOADS of stuff that can be improved.
> I'm always open for suggestions :-)
Nice script - one thing I found was that HTB dequeued packets in pairs -
with MTU 1500 and your 128kbit up this will hurt latency a bit.
The solution was to change from 1 to 0
#define HTB_HYSTERESIS 0 in net/sched/sch_htb.c
Andy.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2004-05-05 8:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-24 1:23 [LARTC] newbie: TC[NG] with (256kbit/s down and 768kbit/s up) on a router trapni
2004-04-24 5:27 ` Jason Boxman
2004-04-25 7:06 ` [LARTC] newbie: TC[NG] with (256kbit/s down and 768kbit/s up) Andy Furniss
2004-04-25 17:43 ` [LARTC] newbie: TC[NG] with (256kbit/s down and 768kbit/s up) on a router Christian Parpart
2004-04-26 8:01 ` [LARTC] newbie: TC[NG] with (256kbit/s down and 768kbit/s up) Andy Furniss
2004-04-28 8:42 ` [LARTC] newbie: TC[NG] with (256kbit/s down and 768kbit/s up) on a router Christian Parpart
2004-05-02 23:44 ` Andreas Klauer
2004-05-05 8:34 ` Andy Furniss [this message]
2004-05-05 10:39 ` Andreas Klauer
2004-05-05 12:33 ` [LARTC] newbie: TC[NG] with (256kbit/s down and 768kbit/s up) Andy Furniss
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=4098A71B.4060401@dsl.pipex.com \
--to=andy.furniss@dsl.pipex.com \
--cc=lartc@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.