Slow Upload speeds
Justin Roush
justin at prismnet.com
Thu Mar 8 23:23:26 UTC 2007
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
More information about the freebsd-ipfw
mailing list