Date: Fri, 25 Jul 1997 08:44:35 -0400 (EDT) From: Robert Shady <rls@mail.id.net> To: steve@visint.co.uk (Stephen Roome) Cc: freebsd-isp@freebsd.org Subject: Re: FreeBSD Router Message-ID: <199707251244.IAA28861@server.id.net> In-Reply-To: <Pine.BSF.3.95.970725111006.2761D-100000@dylan.visint.co.uk> from Stephen Roome at "Jul 25, 97 11:21:31 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> > Machine Configuration IS:
> > =========================
> > FreeBSD 2.2-RELENG-970713
> > 486DX4/120 Mhz
> > 64 Megabytes RAM
> > 2 Intel Pro 100B Ethernet Cards (1-Loaded, 1-Not)
> > 2 Western Digital Elite Ultra 16 Ethernet Cards (1-Loaded, 1-Not)
> > 2 SDL V.35 Ports (1-Loaded, 1-Not)
>
> Not to jump to any conclusions, but if you replaced the 486 with a Pentium
> and cut the memory down to 48MB or even 32MB you'll have a lot higher bus
> speed and you're probably going to be needing that more than the CPU
> power, having said that though a Pentium 100 would suffice.
My guess is that 32MB is not enough to hold a full routing table, or maybe
if I was running NOTHING else... From my calculations, 48MB would probably
be okay, but memory is cheap as dirt right now, so...
> Although you haven't said what rate of traffic you intend to route, and
> I'm assuming something like one/two T1's through the SDL card. (is that
> and N2/WANic card or something else?)
No, it's the old N2/ISA card. I obviously would love to get full throughput
on all of the ports if it's possible.. I am noticing a MAX of about ~250KBytes
a second from ethernet -> ethernet right now...
> I'm not sure why you'd want to go for two different sorts of cards either,
> does the Ultra 16 have 10base2 or 5 or something..
Um, well.. There is only 2 PCI, 2 ISA, 1 VLB, and 1 shared/ISA-PCI slot..
ISA(4) = 1 Video, 1 N2 card, 2 SMC Elita Ultra cards
Which leaves 2 usuable PCI slots = 2 Intel ethernet cards... ;)
A little more info, here is the basic outline right now... What is needed
to get more interrupts/second? How can I tell if I'm maxing them out/
8:43AM up 1 day, 5:06, 1 user, load averages: 0.11, 0.09, 0.06
last pid: 5296; load averages: 0.20, 0.10, 0.06 08:42:16
26 processes: 1 running, 25 sleeping
CPU states: 1.2% user, 0.0% nice, 0.4% system, 14.3% interrupt, 84.2% idle
Mem: 20M Active, 2944K Inact, 25M Wired, 11M Cache, 7097K Buf, 2760K Free
Swap: 128M Total, 128K Used, 128M Free
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
5296 root 28 0 640K 828K RUN 0:00 2.40% 1.37% top
5293 root 18 0 644K 900K pause 0:00 1.88% 1.22% tcsh
5292 root 2 0 200K 608K select 0:00 0.74% 0.50% telnetd
198 root 18 0 536K 636K pause 1:12 0.04% 0.04% httpd
841 root 2 0 14440K 14408K select 5:55 0.00% 0.00% gated
161 root 18 0 364K 400K pause 0:07 0.00% 0.00% cron
23 root 18 0 200K 56K pause 0:00 0.00% 0.00% adjkerntz
1 root 10 0 472K 164K wait 0:00 0.00% 0.00% init
3278 root 3 0 176K 536K ttyin 0:00 0.00% 0.00% getty
119 root 2 0 828K 1112K select 9:17 0.00% 0.00% ypserv
622 nobody 2 0 580K 820K select 0:00 0.00% 0.00% httpd
623 nobody 2 0 580K 808K select 0:00 0.00% 0.00% httpd
106 root 2 0 560K 704K select 0:00 0.00% 0.00% named
3438 root 2 0 260K 620K select 0:00 0.00% 0.00% radiusd.ascend
204 root 2 0 476K 596K select 1:03 0.00% 0.00% snmpd
3437 root 2 0 244K 584K select 0:00 0.00% 0.00% radiusd.ascend
1025 root 2 0 304K 520K select 1:43 0.00% 0.00% mrouted
101 root 2 0 200K 508K select 0:07 0.00% 0.00% syslogd
227 root 2 0 212K 496K select 1:04 0.00% 0.00% radiusd.living
113 root 2 0 480K 448K select 0:01 0.00% 0.00% timed
116 daemon 2 0 180K 448K select 0:01 0.00% 0.00% portmap
144 daemon 2 0 208K 440K sbwait 0:10 0.00% 0.00% rwhod
124 root 2 0 224K 424K select 0:00 0.00% 0.00% rpc.yppasswdd
# netstat -nr|wc -l
45189
# vmstat -i
interrupt total rate
clk0 irq0 10462882 99
rtc0 irq8 13388084 127
pci irq9 13135083 125
pci irq10 7100 0
fdc0 irq6 1 0
wdc0 irq14 49514 0
sc0 irq1 1761 0
ed0 irq5 29405 0
ed1 irq7 4124821 39
sr0 irq11 12338039 117
Total 53536690 511
# netstat -m
80 mbufs in use:
65 mbufs allocated to data
2 mbufs allocated to packet headers
10 mbufs allocated to protocol control blocks
3 mbufs allocated to socket names and addresses
64/208 mbuf clusters in use
426 Kbytes allocated to network (32% in use)
0 requests for memory denied
0 requests for memory delayed
0 calls to protocol drain routines
-- Rob
===
_/_/_/_/_/ _/_/_/_/ _/_/ _/ _/_/_/_/_/ _/_/_/_/_/
_/ _/ _/ _/_/_/ _/ _/ _/ _/_/_/_/ _/
_/_/_/_/_/ _/_/_/_/ _/ _/ _/_/_/_/_/ _/
Innovative Data Services
Serving South-Eastern Michigan
Internet Service Provider / Hardware Sales / Consulting Services
Voice: (810)855-0404 / Fax: (810)855-3268 / Web: http://www.id.net
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707251244.IAA28861>
