You may have to tune few more - kern.ipc.maxsockbuf, kern.ipc.nmbclusters. http://www.cs.unc.edu/~jeffay/dirt/FAQ/sobuf.html http://people.freebsd.org/~adrian/sysctl.descriptions Regards, Gireesh -----Original Message----- From: owner-freebsd-current_at_freebsd.org [mailto:owner-freebsd-current_at_freebsd.org] On Behalf Of David Somayajulu Sent: 10 February 2011 10:24 To: freebsd-current_at_freebsd.org Subject: Increasing TCP Window Size in FreeBSD. 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. _______________________________________________ freebsd-current_at_freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"Received on Thu Feb 10 2011 - 06:42:55 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:11 UTC