From owner-freebsd-ipfw@FreeBSD.ORG Fri Mar 11 09:24:38 2005 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8421716A4CE for ; Fri, 11 Mar 2005 09:24:38 +0000 (GMT) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4F9CF43D46 for ; Fri, 11 Mar 2005 09:24:38 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.12.8) with ESMTP id j2B9Ocef066883; Fri, 11 Mar 2005 01:24:38 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id j2B9OXew066882; Fri, 11 Mar 2005 01:24:33 -0800 (PST) (envelope-from rizzo) Date: Fri, 11 Mar 2005 01:24:33 -0800 From: Luigi Rizzo To: jim song Message-ID: <20050311012433.C66627@xorpc.icir.org> References: <20050311043933.GA28686@odin.ac.hmc.edu> <20050310215250.A65126@xorpc.icir.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from jingmin.song@gmail.com on Fri, Mar 11, 2005 at 02:06:02PM +0800 cc: Brooks Davis cc: freebsd-ipfw@freebsd.org Subject: Re: why my dummynet queue not work? X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 09:24:38 -0000 On Fri, Mar 11, 2005 at 02:06:02PM +0800, jim song wrote: > Luigi, > > I think what you said is the working window. It could be different to > the initial window I set for the tcp stream. Tcp should get full bandwidth > throughput in such circumstance. > > But in my testing, tcp window has retreated from 5M window to 640K. > That is the problem. > > Am I right? i think you are just being lazy :) seriously, i don't mean to be rude but brooks and i and possibly others already suggested that it is likely a window problem (as we have already been hit by that). What you should do is do your homework and run a few experiments with different delay settings, taking note of the actual delays (with a PING measurement e.g) and bandwidths, and figure out if there is a window/rtt pattern and in case determine what window is in use. then there are (as we already said) multiple parameters that cap the window: the TCP window, the socket buffer, window scale options etc on both sender and receiver. cheers luigi > Thanks, > --Jim > _______________________________________________ > freebsd-ipfw@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw > To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"