Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2000 09:48:48 +0100
From:      Thierry.Herbelot@alcatel.fr
To:        "Aleksandar Obradovic" <alex@montenegro.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Gateway throughput issues
Message-ID:  <C125686A.00306A48.00@frmta003.netfr.alcatel.fr>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]


Hello,

I've got a very similar setup at home.

Last summer, before our provider set up a bandwidth cap, I could easily download at more than 2 Mpbs with a "vanilla" p5-200 running FreeBSD and two NE-2000 boards (including one ISA)

I have changed my setup, and now my gateway is a lowly 486dx-33. The CPU load increases to around 20% when downloading with the new transfer rate (512kbps). This PC uses two NE2000 ISA boards. this is with a recent -Stable

If you want to investigate a bit further on why you can't get a good rate, you should begin with "load" measures, that is running top or systat -vmstat while a download is in progress - thus you'll see if your gateway is CPU-bound (very unlikely)

     TfH





"Aleksandar Obradovic" <alex@montenegro.com> on 17/01/2000 23:47:56
                                                              
                                                              
                                                              
 To:      freebsd-questions@FreeBSD.ORG                       
                                                              
 cc:      (bcc: Thierry HERBELOT/FR/ALCATEL)                  
                                                              
                                                              
                                                              
 Subject: Gateway throughput issues                           
                                                              






I just got a new cable modem for my home network, so I set up one machine with FreeBSD 3.4 as a gateway running ipfw with open
policy, and IP aliasing with natd. I am getting a big drop in throughput after implemented this. Originally, my peer Win98 computer
that was connected directly to the cable modem was reading 35 Kb/sec download rate from ftp.freebsd.org site. After going through my
Gateway the rate dropped to 8-10 Kb/sec. I went through the mailing list archives and the only thing I could find was to avoid cheap
NE2000 clone cards which I am currently using. However, I can't believe that cards alone would be the cause for this drop in
throughput. What could I do to remedy this?

I am running FreeBSD 3.4 as a gateway
Pentium 200
2 GB IDE drive
32 MB RAM
Cable Modem is Plugged into ISA NE2000 clone
Another LinkSYS PCI NE2000 connects this machine to my network hub
I am running cache only DNS on this machine

I have 3 other computers with various OS's connected to my hub.

I am also running lots of services and apps on this gateway including Apache, mysql, NFS server, SAMBA, X windows on and off, etc.

My question is:
1) How can I get the highest throughput via this gateway?
2) Should I strip this machine of all extra apps and services except IP aliasing and IPFW and DNS?
3) Would adding more RAM make much difference?
4) Are my network cards sufficient for providing high throughput for 2 simultaneous Internet users?
5) Am I missing anything here?

Thanks,

Alex


[-- Attachment #2 --]
x>"8IPM.Microsoft Mail.Note1
*"%#&)6pGateway throughput issuesqa<#zJӇ!lSMTP:ALEX@MONTENEGRO.COM@<a
La>b!l€	LZFu4
rcpg1252`n033Och
set0 }
vwkd4`>cP

d  I jus@goQ@a nclde bm m8y hpPtwk, soq!p up  hth F	рBSD 3.4  0gataXrun   f#op	 p
ypaP 0B#nd.qja0g0tB0bi`d`@ @`ughpupmP 	`@Og@^l0!1W98p !1@1 !di	p%# @@%
	pa%Q35 Kb/ cown	(@a@tp.P	bsp`A!B UG&)0s"8-@(w!,G&B
v& &BO`ul`fq$&qav,`'@NE5	q  wcp	p0&AAH)e1r3Qp'@be8q$6$@b@39P&)"" W93_)&b	pd2s?


P!iu05q2,BpDE<13D`MDRAMCM<qP
@g`&qISAs5LAn&LkSYPC5V%T4A<b&q}u0@_42D~N K?93_PI$&6a2v
i` OS'%*LM?@	Kojfr c15 p_WP5u(AG
4#"sqlNFX8H`EA~X)YWf_0/aMq_
PS:U1)828q& ` J 0Yj?Da S>TKW"^@xe0XXg`X`1:FWOd3a W3((`	pEkP% 	X`d4a M6$su 
/Rp` (bb JRD`m`lPS~I!X?5n0miy27Jn@UTJ`s,UAxz F F FR'j	 FT9.0
 F6 F7 F8
 F: F< F= FR FS FLa>b!lLa>b!l^8+*VPSTPRX.DLLNITA7nD:\data\mail\alex's main account.pst
473<NDBBIHGCEMKHOOANFEOFMEBLCFAA.alex@montenegro.com>eIJUSTGOTANEWCABLEMODEMFORMYHOMENETWORK,SOISETUPONEMACHINEWITHFREEBSD34ASAGATEWAYRUNNINGIPFWWITHOPENP7

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C125686A.00306A48.00>