From owner-freebsd-questions@FreeBSD.ORG Thu Sep 18 10:26:20 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02BF116A4B3 for ; Thu, 18 Sep 2003 10:26:20 -0700 (PDT) Received: from out003.verizon.net (out003pub.verizon.net [206.46.170.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D42143F75 for ; Thu, 18 Sep 2003 10:26:19 -0700 (PDT) (envelope-from cswiger@mac.com) Received: from mac.com ([68.237.14.199]) by out003.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030918172618.ICXV29617.out003.verizon.net@mac.com>; Thu, 18 Sep 2003 12:26:18 -0500 Message-ID: <3F69EAB1.1010203@mac.com> Date: Thu, 18 Sep 2003 13:26:09 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030916 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Antoine Jacoutot References: <3F69E2DF.6090301@lphp.org> In-Reply-To: <3F69E2DF.6090301@lphp.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [68.237.14.199] at Thu, 18 Sep 2003 12:26:18 -0500 cc: freebsd-questions@freebsd.org Subject: Re: tcp sendspace X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 17:26:20 -0000 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