tcp sendspace

Chuck Swiger cswiger at mac.com
Thu Sep 18 10:26:20 PDT 2003


Antoine Jacoutot wrote:
> I just wanted to know if setting:
> net.inet.tcp.sendspace=65535
> 
> was a bad idea ?

Probably not.

> I'm not sure about all the consequences this could have, if any...

Are you trying to solve a problem or tune network performance, or are you just 
asking what happens if you twiddle this particular knob?  :-)

There's a formula involving network latency and bandwidth which is relevant; 
that, plus the amount of traffic (how many connections) determines how much RAM 
the larger network buffer size could/will take up.  You haven't told us what the 
machine is being used for, either-- network tuning a fileserver talking to 
clients on the LAN can be quite different than tuning a webserver feeding 
clients using 56K modems.

-- 
-Chuck



More information about the freebsd-questions mailing list