From owner-freebsd-net Tue Mar 9 10:45:12 1999 Delivered-To: freebsd-net@freebsd.org Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (Postfix) with SMTP id 7EB7F1506F for ; Tue, 9 Mar 1999 10:45:05 -0800 (PST) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id RAA06532; Tue, 9 Mar 1999 17:25:48 +0100 From: Luigi Rizzo Message-Id: <199903091625.RAA06532@labinfo.iet.unipi.it> Subject: Re: IP_DUMMYNET in a large network To: Darcy@ok-connect.com (Darcy Buskermolen) Date: Tue, 9 Mar 1999 17:25:47 +0100 (MET) Cc: freebsd-net@FreeBSD.ORG In-Reply-To: <3.0.32.19990309103010.03499320@mail.ok-connect.com> from "Darcy Buskermolen" at Mar 9, 99 10:29:51 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1417 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I have a pair of questions both relating to IP_DUMMYNET. > > 1st what is a good inexpensive PCI 100FX card to use in a 3.1 machine that > is going to be a large DUNNYNET/NATd box. any supported 100mbit card should do... i have heard good things about the "fxp" cards, the "de" cards are slightly less performant and now discontinued. But i have no idea if any of those comes with fiber connector... perhaps you can use a media converter together with a 100baseTX card ? > 2nd how much CPU/RAM would be needed to do lets say 50 DUMMYNET pipes > ranging from 64kb -> 45Mb as well as doing both static NAT as well as > dynamic NAT on 6 Class C's ? i'd say 64MB is more than enough for all practical needs. The amount of memory used by dummynet is the sum of sizes of all queues. Because you never want more than say 1s of data queued except perhaps at the slowest speeds i think you'll never have more than 100-200Mbits queued in your pipes meaning some 16MB for the buffers (NMBCLUSTERS=8192). warning: i have never used such a large dummynet/nat box, although i have heard contrasting report from people, some using 100+ pipes with success, some having long term (several days) stability problems when dummynet runs together with busy web/proxy servers. Hard to tell who is at fault when a machine is stressed so severely, could be just a combination of things that triggers some unrelated bug. cheers luigi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message