Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2003 13:26:09 -0400
From:      Chuck Swiger <cswiger@mac.com>
To:        Antoine Jacoutot <ajacoutot@lphp.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: tcp sendspace
Message-ID:  <3F69EAB1.1010203@mac.com>
In-Reply-To: <3F69E2DF.6090301@lphp.org>
References:  <3F69E2DF.6090301@lphp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F69EAB1.1010203>