Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jul 1999 13:21:55 -0700
From:      Mike Smith <mike@smith.net.au>
To:        "John W. DeBoskey" <jwd@unx.sas.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: tcp windowsize query? 
Message-ID:  <199907142021.NAA01388@dingo.cdrom.com>
In-Reply-To: Your message of "Wed, 14 Jul 1999 16:08:14 EDT." <199907142008.QAA69071@bb01f39.unx.sas.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi,
> 
>    I'm trying to dynamically determine the tcp windowsize. Sysctl
> has the following to say, but the name/value pairs are not
> documented.
> 
> net.inet.tcp.sendspace: 16384
> net.inet.tcp.recvspace: 16384
...
>    send/recv space might be what I'm looking for...

They're the default send/receive window sizes, yes.  You can tweak them 
with socket ioctls on a per-socket basis.

>    delayed ack sounds interesting....

Turning that off disables TCP slow-start.  It's a huge performance 
booster for things like SMB service, where you have lots of short-lived 
TCP connections on a local net.

-- 
\\  The mind's the standard       \\  Mike Smith
\\  of the man.                   \\  msmith@freebsd.org
\\    -- Joseph Merrick           \\  msmith@cdrom.com




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?199907142021.NAA01388>