From owner-freebsd-net@FreeBSD.ORG Fri May 23 10:00:16 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 4BF68106564A for ; Fri, 23 May 2008 10:00:16 +0000 (UTC) (envelope-from juri_mian@yahoo.com) Received: from n66.bullet.mail.sp1.yahoo.com (n66.bullet.mail.sp1.yahoo.com [98.136.44.50]) by mx1.freebsd.org (Postfix) with SMTP id 1A9FC8FC16 for ; Fri, 23 May 2008 10:00:16 +0000 (UTC) (envelope-from juri_mian@yahoo.com) Received: from [216.252.122.219] by n66.bullet.mail.sp1.yahoo.com with NNFMP; 23 May 2008 09:47:31 -0000 Received: from [69.147.65.165] by t4.bullet.sp1.yahoo.com with NNFMP; 23 May 2008 09:47:31 -0000 Received: from [127.0.0.1] by omp500.mail.sp1.yahoo.com with NNFMP; 23 May 2008 09:47:31 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 524857.7248.bm@omp500.mail.sp1.yahoo.com Received: (qmail 67785 invoked by uid 60001); 23 May 2008 09:47:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=uQvN+/TsGwo1gPTXw3FFvTV0Y9Ux7wMSQftVJNMCx03W+KCkQO/Yq4FEZ0DMSfzraeuZSZSb0u2RDNzjrJxxciWkmEowFO9csDuXhm15mXMW1RNP3O3g97wrVUw6OyOHXP5vdQBuyQIL6IPpcNO6zJlWPHbFjBo46DlnOMizdPI=; X-YMail-OSG: cAW9BlAVM1lRgtI_fbhRqN5xjc7Bm26SMXfucmu1jIqdhJKSiTXuM0cg3z9NLsGgPWVO52Gu03wO Received: from [85.61.27.87] by web45605.mail.sp1.yahoo.com via HTTP; Fri, 23 May 2008 02:47:30 PDT Date: Fri, 23 May 2008 02:47:30 -0700 (PDT) From: Juri Mianovich To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <321306.67555.qm@web45605.mail.sp1.yahoo.com> Subject: minimum bandwidth per connection with dummynet ? 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: Fri, 23 May 2008 10:00:16 -0000 I have two simple dummynet rules in place (with ipfw): - one pipe limits inbound - one pipe limits outbound However, if there are multiple connections taking place, all over fast links, the pipe gets saturated. This is not so bad, but I am not convinced it is allocating bandwidth fairly between all participants during saturation. Two questions: - is there a simple setting that says "allocate bandwidth evenly between all connections in a saturated pipe" ? - alternatively, is there a minimum speed per connection that I can establish for a dummynet pipe ? Presumably actual performance would drop below the minimum if the product of connections * minimum was less than the total bandwidth of the pipe, but as long as that wasn't true, everyone would at least get reasonable speed, instead of one client eating the pipe and everyone else trickling along... Thanks.