Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Feb 2011 20:53:56 -0800
From:      David Somayajulu <david.somayajulu@qlogic.com>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Increasing TCP Window Size in FreeBSD.
Message-ID:  <75E1A2A7D185F841A975979B0906BBA6774DD4DE73@AVEXMB1.qlogic.org>

next in thread | raw e-mail | index | archive | help
I have been using iperf in server mode to do some performance analysis.
I was trying to increase the Receive TCP Window Size via

sysctl net.inet.tcp.recvspace=3D<value>

I noticed that I could increase it atmost to 128Kbytes (131072). Any value =
above 128k, results in a failure to get the requested window size, resultin=
g in a failure of "iperf -s -w <windowsize>".

How can I increase it beyond 128Kbytes ?

Here are some relevant sysctl values I have been using:

net.inet.tcp.rfc1323: 1
net.inet.tcp.recvspace: 131072
net.inet.tcp.recvbuf_max: 4096000
net.inet.tcp.recvbuf_inc: 65536
net.inet.tcp.recvbuf_auto: 1

Thanks
david S.

________________________________
This message and any attached documents contain information from QLogic Cor=
poration or its wholly-owned subsidiaries that may be confidential. If you =
are not the intended recipient, you may not read, copy, distribute, or use =
this information. If you have received this transmission in error, please n=
otify the sender immediately by reply e-mail and then delete this message.



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