From owner-freebsd-current@FreeBSD.ORG Thu Feb 10 07:42:55 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B04F3106566B for ; Thu, 10 Feb 2011 07:42:55 +0000 (UTC) (envelope-from dngireesh@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 66ADA8FC0C for ; Thu, 10 Feb 2011 07:42:55 +0000 (UTC) Received: by gwj21 with SMTP id 21so474741gwj.13 for ; Wed, 09 Feb 2011 23:42:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding :x-mailer:thread-index:content-language; bh=e6obJVQXkr3eh7L69JIxkp5bK8j1jx2ky7Cojk0mWIc=; b=XcN9Z9Hk4BynlPAi9vXXzU3YhiQrVuRQYRmuOUXhflLxBhKBd/OX2ZKdGe+46Kt8En DB7bHHjXwsC+A91ie2brNz/dbVhn3TOp1UKur18Gci1ovPqudoYKu8iEwe/vVl9KEKNi sr9EE+e1Pev7uCurqglCEPUgWqTstCMdCECgg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:content-transfer-encoding:x-mailer:thread-index :content-language; b=EoRdwibWolGzOttTPy+FBwn6tZgYPXLM0zivlNy/bIiiAcIRxCnOxl48nISryy6AtE 07MGklkwhoYbGh3e0WZ4hIeHeYilubG2lIPY5ddHBqr8YQpk0aegsjJs7aFoWFDYJbTz vxkYDsgflfXM/22yHovTyehed+kUhjBUK/F/I= Received: by 10.90.119.3 with SMTP id r3mr2429386agc.6.1297322011926; Wed, 09 Feb 2011 23:13:31 -0800 (PST) Received: from Himalaya ([121.243.184.69]) by mx.google.com with ESMTPS id b11sm1472402ana.38.2011.02.09.23.13.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 09 Feb 2011 23:13:30 -0800 (PST) From: "Gireesh Nagabhushana" To: "'David Somayajulu'" , References: <75E1A2A7D185F841A975979B0906BBA6774DD4DE73@AVEXMB1.qlogic.org> In-Reply-To: <75E1A2A7D185F841A975979B0906BBA6774DD4DE73@AVEXMB1.qlogic.org> Date: Thu, 10 Feb 2011 12:43:39 +0530 Message-ID: <03c101cbc8f2$0e8bb9b0$2ba32d10$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcvI3oXMBvBEBCA5T52I5MGnR3iDoAAEittg Content-Language: en-in Cc: Subject: RE: Increasing TCP Window Size in FreeBSD. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2011 07:42:55 -0000 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@freebsd.org [mailto:owner-freebsd-current@freebsd.org] On Behalf Of David Somayajulu Sent: 10 February 2011 10:24 To: freebsd-current@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= 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 ". 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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"