[LARTC] Clamping tcp mss values to decrease latency

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 25, 2002 at 12:13:53AM -0500, Ross Skaliotis wrote:
> Hello,
> 
> I have an interesting question. I can't find a solution anywhere to this
> problem.
> 
> I have an adsl connection which is able to send a full data packet in
> about 150ms. I want to cut this time down to decrease latency while
> serving files, so I thought I'd try and reduce the packet size for the
> offending upload streams (my webserver). The trick is that I also want all
> other tcp connections to have the normal full packet size. Enter
> MSS-clamping. My pppoe client for linux can do mss clamping on every
> packet that goes out and come in. Not enough control. There is an option
> to do mss-clamping in iptables, however this only works in the forward
> table. I can't match and control outgoing web connections, just

Control and outgoing can be done with regular MTU settings. Just lower the
MTU size of your ppp interface and the kernel will set a lower MSS
automatically.

You can also set MTU per route.

Regards,

bert

-- 
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux