From owner-freebsd-net Mon Feb 18 23:13:21 2002 Delivered-To: freebsd-net@freebsd.org Received: from iguana.icir.org (iguana.icir.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id E607A37B404 for ; Mon, 18 Feb 2002 23:13:17 -0800 (PST) Received: (from rizzo@localhost) by iguana.icir.org (8.11.6/8.11.3) id g1J7DBG25219; Mon, 18 Feb 2002 23:13:11 -0800 (PST) (envelope-from rizzo) Date: Mon, 18 Feb 2002 23:13:11 -0800 From: Luigi Rizzo To: Girnet Vladimir Cc: "'net@freebsd.org'" Subject: Re: network buffer problem Message-ID: <20020218231311.F24558@iguana.icir.org> References: <8E9035BABCA0514EB0E574B6A7082FC305319C@sln01.megadat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8E9035BABCA0514EB0E574B6A7082FC305319C@sln01.megadat.com> User-Agent: Mutt/1.3.23i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Feb 19, 2002 at 09:00:42AM +0200, Girnet Vladimir wrote: > > > OK, I use such rulez: > ipfw pipe 10 config bw 33600bit/s queue 5K > ipfw pipe 11 config bw 64Kbit/s queue 10K > ipfw pipe 12 config bw 128Kbit/s queue 15K > > and, the rule - ipfw add 500 pipe XX ip from any to a.b.c.d/e via fxp0 out > > after issue "ping -s 8192 a.b.c.d" , I got one reply and one ping: sendto: > No buffer space available. and what do you expect ? You are trying to put 8192+ byte packets each second in a queue of 5k/10k/15k of size. The queue will quickly fill up and this is why you get those responses. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message