Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Mar 2007 16:57:53 -0600
From:      Justin Roush <justin@prismnet.com>
To:        freebsd-ipfw@freebsd.org
Subject:   Slow Upload speeds
Message-ID:  <45F094F1.6050204@prismnet.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45F094F1.6050204>