From: gypsy <gypsy@iswest.com>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] throttle incoming traffic
Date: Wed, 21 Dec 2005 04:35:27 +0000 [thread overview]
Message-ID: <43A8DB8F.4338B58B@iswest.com> (raw)
In-Reply-To: <43A8218F.4020800@gmail.com>
Uwe Ernst wrote:
>
> Hi,
>
> i've got traffic shaping up an running perfectly for outgoing
> connections. Now i also want to control the incoming traffic rate on
> mein linux gentoo box. is there any possibity for doing this without
> dropping packages. for example delaying ACKs or something like this.
> im running a
> patched 2.6.14 kernel with
> iproute 20050310-r1
>
> any suggestions?
>
> regards
>
> Uwe
Uwe,
Have a look at a program called trickle.
Yes, you can slow down ACKs, but it is only partially effective because
the other side is going to keep sending a lot of packets even though
your ACKs are slow. If you do this, set rate and bursts low. In order
to step out of the way when outbound traffic is minimal, be sure this
flow can borrow from others, perhaps by setting a high ceil and a
numerically low prio.
I do just the opposite because I want to maximize download speeds. But
nobody is complaining about upload speed either <grin>...
I assume you already know about IMQ and don't want it.
If you can, another effective way to do this is to put a special Linux
box between you and the WWW. You shape outbound traffic on its external
facing interface and you shape inbound traffic on its internal facing
interface. Increase the buffer in Linux for that incoming traffic so it
is as large as you can make it. That is how I do it and it works well
enough, though I also police inbound packets. I can afford to police
because my inbound is 4,632 and my outbound is 1,500 (measured, not
promised); so I police to 4,600 and hardly notice it except that I see a
miniscule number of dropped packets (30 of 1664527 = .000018 right now).
--
gypsy
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
prev parent reply other threads:[~2005-12-21 4:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-20 15:21 [LARTC] throttle incoming traffic Uwe Ernst
2005-12-21 4:35 ` gypsy [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=43A8DB8F.4338B58B@iswest.com \
--to=gypsy@iswest.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.