From owner-freebsd-questions Tue Mar 5 14: 6: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 28E9737B404 for ; Tue, 5 Mar 2002 14:06:00 -0800 (PST) Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id 069E65D07; Tue, 5 Mar 2002 14:06:00 -0800 (PST) To: John-David Childs Cc: RJ45 , freebsd-questions@FreeBSD.ORG Subject: Re: changing TCP window size ? In-reply-to: Your message of "05 Mar 2002 14:27:32 MST." <1015363653.14114.48.camel@lohr> Date: Tue, 05 Mar 2002 14:06:00 -0800 From: "Kevin Oberman" Message-Id: <20020305220600.069E65D07@ptavv.es.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: John-David Childs > Date: 05 Mar 2002 14:27:32 -0700 > Sender: owner-freebsd-questions@FreeBSD.ORG > > Recently, while trying to optimize an FTP server's performance during > the 4.4-STABLE network code transition (i.e. when network performance > really sucked ;-), I found the following sysctl variables handy: > > net.inet.tcp.sendspace > net.inet.tcp.recvspace > > > These values can be changed "on the fly" with sysctl -w. Whether they > actually change a running stream (or just future ones) I don't know. They take effect immediately for all new TCP connections. Also they have been increased to more reasonable values in 4.5 (32K and 64K, as I recall). R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message