From owner-freebsd-hackers Tue Jul 10 15:20:55 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from revolt.poohsticks.org (revolt.poohsticks.org [63.227.60.74]) by hub.freebsd.org (Postfix) with ESMTP id 5977337B406 for ; Tue, 10 Jul 2001 15:20:52 -0700 (PDT) (envelope-from drew@revolt.poohsticks.org) Received: from revolt.poohsticks.org (localhost [127.0.0.1]) by revolt.poohsticks.org (8.11.3/8.11.3) with ESMTP id f6AMKCT58220; Tue, 10 Jul 2001 16:20:12 -0600 (MDT) (envelope-from drew@revolt.poohsticks.org) Message-Id: <200107102220.f6AMKCT58220@revolt.poohsticks.org> To: Bill Fumerola Cc: Joseph Lekostaj , hackers@FreeBSD.ORG Subject: Re: TCP Window Size In-reply-to: Your message of "Tue, 10 Jul 2001 17:00:50 CDT." <20010710170050.F47870@elvis.mu.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <58217.994803612.1@revolt.poohsticks.org> Date: Tue, 10 Jul 2001 16:20:12 -0600 From: Drew Eckhardt Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20010710170050.F47870@elvis.mu.org>, billf@mu.org writes: >I'd personally suggest just tuning net.inet.tcp.*space to 64k at most. 1. Depends on your application. To avoid TCP window size related slowdowns, it needs to be at least as large as the bandwidth delay product (multiply bandwidth by RTT). 2. net.inet.tcp.*space affects the _defaults_. Changing them means that you'll use huge amounts of memory even in places where it doesn't matter (like ftp control connections). Instead, use setsockopt with SO_SNDBUF and SO_RCVBUF where appropriate. -- Home Page For those who do, no explanation is necessary. For those who don't, no explanation is possible. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message