Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2001 16:20:12 -0600
From:      Drew Eckhardt <drew@PoohSticks.ORG>
To:        Bill Fumerola <billf@mu.org>
Cc:        Joseph Lekostaj <lekostaj@mcs.anl.gov>, hackers@FreeBSD.ORG
Subject:   Re: TCP Window Size 
Message-ID:  <200107102220.f6AMKCT58220@revolt.poohsticks.org>
In-Reply-To: Your message of "Tue, 10 Jul 2001 17:00:50 CDT." <20010710170050.F47870@elvis.mu.org> 

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

-- 
<a href="http://www.poohsticks.org/drew/">Home Page</a>
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




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