Date: Mon, 6 Oct 2003 17:23:32 -0400 (EDT) From: "Peter Brezny" <peter@purplecat.net> To: freebsd-ipfw@freebsd.org Subject: dummynet bw limit problem Message-ID: <3152.12.150.157.66.1065475412.squirrel@ssl.purplecat.net>
next in thread | raw e-mail | index | archive | help
Greetings, I'm having difficulties with dummynet limiting connections when I set the bw limit to anything greater than around 900 Kbit/sec. Using pipes 1-8 below, even mixed and matched for asymmetric control work fine, except when i bring in a pipe numbered 9 or greater. I've tried changing the queue size from between 20Kbytes to 50Kbytes I've tried increasing the buckets to 256 But no luck. Interestingly, with the configuration below, if I ping a host on the internet, tcpdump shows the request and the reply, but I get nothing on the console. If I mix and match the in and outbound pipes, I'll either get nothing on the console, or: ping: sendto: No buffer space available On the system i'm testing from i've got: sysctl net.inet.ip.fw.one_pass=0 Any suggestions are greatly appreciated. # traffic shaping test $fwcmd add pipe 9 all from any to any out via $oif $fwcmd add pipe 10 all from any to any in via $oif # # pipe configuration. # odd pipes are for outbound connections # even pipes are for inbound connections $fwcmd pipe 1 config bw .064Mbit/s $fwcmd pipe 2 config bw .064Mbit/s $fwcmd pipe 3 config bw .128Mbit/s $fwcmd pipe 4 config bw .128Mbit/s $fwcmd pipe 5 config bw .256Mbit/s $fwcmd pipe 6 config bw .256Mbit/s $fwcmd pipe 7 config bw 512Kbit/s $fwcmd pipe 8 config bw 512Kbit/s $fwcmd pipe 9 config bw 990Kbit/s $fwcmd pipe 10 config bw 990Kbit/s $fwcmd pipe 11 config bw 2048kbit/s $fwcmd pipe 12 config bw 2048kbit/s Peter Brezny purplecat.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3152.12.150.157.66.1065475412.squirrel>