From owner-freebsd-net Mon Feb 5 5: 8:24 2001 Delivered-To: freebsd-net@freebsd.org Received: from onion.ish.org (onion.ish.org [210.145.219.202]) by hub.freebsd.org (Postfix) with ESMTP id 58ECA37B503 for ; Mon, 5 Feb 2001 05:08:07 -0800 (PST) Received: from localhost (ishizuka@localhost [127.0.0.1]) by onion.ish.org (8.11.2/8.11.1/2000-12-01) with ESMTP id f15D86n18466 for ; Mon, 5 Feb 2001 22:08:06 +0900 (JST) (envelope-from ishizuka@ish.org) To: freebsd-net@FreeBSD.ORG Subject: Re: packet loss when 'ipfw pipe list' with dummynet and bridge In-Reply-To: <200102050638.f156cLN18603@iguana.aciri.org> References: <20010203132412V.ishizuka@onion.ish.org> <200102050638.f156cLN18603@iguana.aciri.org> X-Mailer: Mew version 1.94.2 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) X-PGP-Fingerprint20: 276D 697A C2CB 1580 C683 8F18 DA98 1A4A 50D2 C4CB X-PGP-Fingerprint16: C6 DE 46 24 D7 9F 22 EB 79 E2 90 AB 1B 9A 35 2E X-PGP-Public-Key: http://www.ish.org/pgp-public-key.txt X-URL: http://www.ish.org/ Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010205220806S.ishizuka@onion.ish.org> Date: Mon, 05 Feb 2001 22:08:06 +0900 From: Masachika ISHIZUKA X-Dispatcher: imput version 20000414(IM141) Lines: 20 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >>> A better approach would probably be to set a semaphore before >>> starting, and release it at the end, and keep interrupts enabled >> >> As I set "net.inet.ip.dummynet.expire=0", if it will affect >> only to ip addresses founded newly when a semaphore is introduced, >> I'll be happy. > > not clear what you mean, but in any case that variable will not help > solving the problem that you are having. > net.inet.ip.dummynet.expire only controls when flow descriptors > are deleted, but they are always deleted when the system runs out > of space, and new ones are always created when necessary. I am happy if no loss happened for bridged packets. I keep the system not run out and no flow descriptors is deleted because I collect traffic stats for my ip address range. I can accept that the flow descriptors just now created are not reported. -- ishizuka@ish.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message