Increasing TCP Window Size in FreeBSD.

From: David Somayajulu <david.somayajulu_at_qlogic.com>
Date: Wed, 9 Feb 2011 20:53:56 -0800
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=<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, resulting 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 Corporation 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 notify the sender immediately by reply e-mail and then delete this message.
Received on Thu Feb 10 2011 - 03:54:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:11 UTC