From owner-freebsd-ipfw@FreeBSD.ORG Fri Mar 11 05:34:11 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 5A82816A4CE for ; Fri, 11 Mar 2005 05:34:11 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id E034943D46 for ; Fri, 11 Mar 2005 05:34:10 +0000 (GMT) (envelope-from jingmin.song@gmail.com) Received: by wproxy.gmail.com with SMTP id 68so904680wri for ; Thu, 10 Mar 2005 21:34:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=TOkyefQCV+iv1KHP1TdBa8cE0+47s4B9OMww8kBHSxsjpwVlAPZI5a9AhWfjwywuTgVXZfAll9m1EpJuNHKt2JX+3stHU2IXssBmS+LqhfMaXCrNorv7ze54skdGvqCtyiaea+MP2s1yEVQZ91QwkeOUhKnBoXVNiEKlBqUu9yY= Received: by 10.54.10.39 with SMTP id 39mr2335640wrj; Thu, 10 Mar 2005 21:34:10 -0800 (PST) Received: by 10.54.15.8 with HTTP; Thu, 10 Mar 2005 21:34:10 -0800 (PST) Message-ID: Date: Fri, 11 Mar 2005 13:34:10 +0800 From: jim song To: freebsd-ipfw@freebsd.org In-Reply-To: <20050311043933.GA28686@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20050311043933.GA28686@odin.ac.hmc.edu> cc: Brooks Davis Subject: Re: why my dummynet queue not work? X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jim song List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Mar 2005 05:34:11 -0000 Brooks, Actually I use the freebsd box as an router. I set the tcp window in another two windows box running iperf (iperf -w 5M). Before I add in the pipes, the throughputs could reach 300M, but after I config in the two pipes(200M bandwidth, 25ms delay), the throughput degrade to about 5M. BTW, is there some limitations to tcp connections passing through a router? Thanks, --Jingmin On Thu, 10 Mar 2005 20:39:33 -0800, Brooks Davis wrote: > > Why are you using the queue parameter at all? If you just want to > emulate a pipe there is usually no need to do that. Have you adjusted > your socket buffers in addition to your max TCP window size? > > -- Brooks >