Subject: Re: TCP_MSS to 1460 in tcp.h or /etc/netstart?
To: Erik E. Fair <fair@clock.org>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-net
Date: 10/25/1997 09:29:35
On Fri, 24 Oct 1997 19:04:38 -0700
"Erik E. Fair" (Time Keeper) <fair@clock.org> wrote:
> 2. add a line to /etc/netstart:
> /usr/sbin/sysctl -w 'net.inet.tcp.mssdflt=1460'
>
> I'd prefer to see #1, of course.
>
> What are the real (not theoretical) downsides of this change? I'd like to
> see this go in to NetBSD 1.3. More througput with lower overhead.
Or, 3:
/usr/sbin/sysctl -w net.inet.ip.mtudisc=1
If you look at tcp_output.c:tcp_segsize(), is should be pretty clear that
this will do what you wnt :-)
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-6 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 415 428 6939