Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 1999 17:25:47 +0100 (MET)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        Darcy@ok-connect.com (Darcy Buskermolen)
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: IP_DUMMYNET in a large network
Message-ID:  <199903091625.RAA06532@labinfo.iet.unipi.it>
In-Reply-To: <3.0.32.19990309103010.03499320@mail.ok-connect.com> from "Darcy Buskermolen" at Mar 9, 99 10:29:51 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903091625.RAA06532>