From owner-freebsd-ipfw@FreeBSD.ORG Thu Mar 8 23:23:26 2007 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C8D8116A400 for ; Thu, 8 Mar 2007 23:23:26 +0000 (UTC) (envelope-from justin@prismnet.com) Received: from smtp.prismnet.com (smtp.prismnet.com [209.198.128.91]) by mx1.freebsd.org (Postfix) with ESMTP id A066913C442 for ; Thu, 8 Mar 2007 23:23:26 +0000 (UTC) (envelope-from justin@prismnet.com) Received: from [192.168.246.21] (batman.prismnet.com [205.166.246.21]) (authenticated bits=0) by smtp.prismnet.com (8.13.4/8.13.4) with ESMTP id l28MvrQn080974 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 8 Mar 2007 16:57:53 -0600 (CST) (envelope-from justin@prismnet.com) Message-ID: <45F094F1.6050204@prismnet.com> Date: Thu, 08 Mar 2007 16:57:53 -0600 From: Justin Roush User-Agent: Thunderbird 1.5.0.9 (X11/20061206) MIME-Version: 1.0 To: freebsd-ipfw@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.7, clamav-milter version 0.88.7 on smtp.prismnet.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.3 required=7.0 tests=BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on smtp.prismnet.com Subject: Slow Upload speeds X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2007 23:23:26 -0000 I'm having an issue with being able to use ipfw and dummynet as a bridge and getting slow and intermittent uploads. We have a setup where we are trying to control bandwidth on a wireless network. I have added rules like the following: 25018 41705 4680592 queue 25018 ip from 10.10.1.1 to any 25019 42092 52698217 queue 25019 ip from any to 10.10.1.1 With corresponding queues and pipes 25018: 512.000 Kbit/s 0 ms 50 sl. 0 queues (1 buckets) droptail q25018: weight 1 pipe 25018 50 sl. 128 queues (128 buckets) droptail mask: 0xff 0xffffffff/0xffff -> 0xffffffff/0xffff BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp 25019: 512.000 Kbit/s 0 ms 50 sl. 0 queues (1 buckets) droptail q25019: weight 1 pipe 25019 50 sl. 129 queues (128 buckets) droptail mask: 0xff 0xffffffff/0xffff -> 0xffffffff/0xffff BKT Prot ___Source IP/port____ ____Dest. IP/port____ Tot_pkt/bytes Pkt/Byte Drp The problem is it works great with downloads but when the end users attempt to upload its horrid. Why I would be getting this problem in only one direction on a bridge I don't know. I have even put the in and out on rules but that did not seem to really matter, not that I thought I would with a bridge. Really the biggest mystery is the stuff that goes into the sysctl.conf file. I understand a few of the command that I need to put in there, and why but some of the other like the hash table and the dynamic buckets etc etc, I'm at a loss as to why I would want to enter said values.. Is there a good definitive source for syscntl.conf variables that are well defined? I'm not really getting a good explanation from man pages. I am attempting to run this on BSD6.2 by the way. Any nudge in the right direction would be greatly appreciated. - Justin