From owner-freebsd-net Thu Jul 20 8:21:35 2000 Delivered-To: freebsd-net@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id 4DF0B37BCEF for ; Thu, 20 Jul 2000 08:21:27 -0700 (PDT) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id RAA56588; Thu, 20 Jul 2000 17:22:33 +0200 (CEST) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200007201522.RAA56588@info.iet.unipi.it> Subject: Re: AltQ/dummynet & IP accounting.. In-Reply-To: from Derrick MacPherson at "Jul 20, 2000 08:04:23 am" To: Derrick MacPherson Date: Thu, 20 Jul 2000 17:22:33 +0200 (CEST) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > for that, probably a picobsd-based bridge does the job fairly well. > > there is a floppy image at http://www.iet.unipi.it/~luigi/ip_dummynet/ > > which also has Weighted Fair Queueing enabled. > > How would this handle a 10 meg connection and +400 machines? Is it going > to bog down significantly? wWhat about if I add full firewalling > capabalities? it all depends on the CPU and cards you have. We have one such bridge with a 350 or 400 MHz CPU, Intel ("fxp") cards on a 100Mbit net and it does not seem to harm too much. At 10Mbit/s i am pretty sure you will only notice little more than the store&forward latency introduced by the bridge. Of course the more rules you have (for firewalling) the slower the system is, but typically if you use dynamic rules, after the initial match you have O(1) cost per packet, and the WF2Q+ algorithm has O(log N) cost where N is the number of flows. cheers luigi -----------------------------------+------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . Dip. di Ing. dell'Informazione http://www.iet.unipi.it/~luigi/ . Universita` di Pisa TEL/FAX: +39-050-568.533/522 . via Diotisalvi 2, 56126 PISA (Italy) Mobile +39-347-0373137 -----------------------------------+------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message