From owner-freebsd-net@FreeBSD.ORG Sat Nov 29 21:01:54 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F41310656A5 for ; Sat, 29 Nov 2008 21:01:54 +0000 (UTC) (envelope-from venkatvenkatsubra@yahoo.com) Received: from web58308.mail.re3.yahoo.com (web58308.mail.re3.yahoo.com [68.142.236.161]) by mx1.freebsd.org (Postfix) with SMTP id CFCB48FC18 for ; Sat, 29 Nov 2008 21:01:53 +0000 (UTC) (envelope-from venkatvenkatsubra@yahoo.com) Received: (qmail 29160 invoked by uid 60001); 29 Nov 2008 21:01:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:MIME-Version:Content-Type:Message-ID; b=hhf5kPnpVM+kuH5XnFYoRhpKs/k4t9DYRfFmngZ+bbb8CYkXlve1jcGF2gcQFdhi5KmP6c5avYNvrOIt69dsPoMWbsQ0Qj0FZsDy9Ejpb/vtchXOmzwzVY0hO+B4F1tBisE6Mmq67tD53rvsQNPMQPthsXqlaOjMlnDb60UQtrc=; X-YMail-OSG: GhAGlVIVM1nO_Zy7IueRWP_JaSg3qBpquPWCkGeCiLzJ3egCZlHdrlx7L5CiLIMxNa37CPKuinb8K5NGtSeY8K8UYaksgcbcu.rfSkCvBMol8mWy10iKUbpDDKd6M8nX.2BOREdnmr4RgOWKTzg7ZYbQylWwbfgGfdqb2lTnB6V4T7EOhzqAI507euPT Received: from [70.112.131.248] by web58308.mail.re3.yahoo.com via HTTP; Sat, 29 Nov 2008 13:01:52 PST X-Mailer: YahooMailRC/1155.32 YahooMailWebService/0.7.260.1 References: <200811292046.aa42834@salmon.maths.tcd.ie> Date: Sat, 29 Nov 2008 13:01:52 -0800 (PST) From: Venkat Venkatsubra To: David Malone MIME-Version: 1.0 Message-ID: <865234.28813.qm@web58308.mail.re3.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Rui Paulo , freebsd-net@freebsd.org, Kevin Oberman Subject: Re: FreeBSD Window updates X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Nov 2008 21:01:54 -0000 So the apps read buffer is possibly 32=A0times 2^8 =3D 8KB ?=0A(32 being th= e increment in each of those window updates.)=0A=0A=0A=0A=0A_______________= _________________=0AFrom: David Malone =0ATo: Venkat= Venkatsubra =0ACc: Rui Paulo ; freebsd-net@freebsd.org; Kevin Oberman =0ASent: Saturday= , November 29, 2008 2:46:53 PM=0ASubject: Re: FreeBSD Window updates=0A=0A>= Each of these 5 window updates are sent after the apps completed the read= =0A> that it issued, what's the buffer size the apps is passing to the read= ?=0A> If it is small, could that be increased?=0A=0AI'm not actually sure -= the app is iperf. The window scaling factor=0Ais 8 here I think.=0A=0A> Bu= t I agree with you that there is room for optimizing sending of these=0A> w= indow updates.=0A=0AAny feeling for which would be the better fix?=0A=0A=A0= =A0=A0 David.=0A=0A=0A=0A