From owner-freebsd-ipfw@FreeBSD.ORG Tue Oct 7 07:55:04 2003 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 114F716A4B3 for ; Tue, 7 Oct 2003 07:55:04 -0700 (PDT) Received: from smtp1.euronet.nl (smtp1.euronet.nl [194.134.35.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4342443FD7 for ; Tue, 7 Oct 2003 07:55:03 -0700 (PDT) (envelope-from dodell@sitetronics.com) Received: from sitetronics.com (zp-c-13e65.mxs.adsl.euronet.nl [81.69.92.101]) by smtp1.euronet.nl (Postfix) with ESMTP id 56C316794E; Tue, 7 Oct 2003 16:54:59 +0200 (MEST) Message-ID: <3F82D35C.4090803@sitetronics.com> Date: Tue, 07 Oct 2003 16:53:16 +0200 From: "Devon H. O'Dell" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pbrezny@purplecat.net References: <3152.12.150.157.66.1065475412.squirrel@ssl.purplecat.net> In-Reply-To: <3152.12.150.157.66.1065475412.squirrel@ssl.purplecat.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ipfw@freebsd.org Subject: Re: dummynet bw limit problem X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2003 14:55:04 -0000 Well hey there, Peter ;) Peter Brezny wrote: >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 > Apart from fixing the problems that Luigi pointed out, you might want to consider changing the amount of memory allocated to mbufs on your system. If you've set your net.inet.tcp.recvspace and/or net.inet.tcp.sendspace too high, you may not have enough memory allocated for network operations and packet operations will fail with the error message above. Good luck :) Devon H. O'Dell http://bsdportal.org