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
--0__=NcSoeF7N0361RSfASCNtrmuF0bJuXf375KnwTFqZKlLwTi4fn3JZKY82
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline



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


--0__=NcSoeF7N0361RSfASCNtrmuF0bJuXf375KnwTFqZKlLwTi4fn3JZKY82
Content-type: application/octet-stream; 
	name="winmail.dat"
Content-Disposition: attachment; filename="winmail.dat"
Content-transfer-encoding: base64

eJ8+IjgWAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEGgAMADgAAANAHAQARAA4AKgAAAAEAIgEB
A5AGAOQIAAAlAAAACwACAAEAAAALACMAAAAAAAMAJgAAAAAACwApAAAAAAADADYAAAAAAB4AcAAB
AAAAGgAAAEdhdGV3YXkgdGhyb3VnaHB1dCBpc3N1ZXMAAAACAXEAAQAAABYAAAABv2E8I3odvNlK
yvgR04enAAAhbIjbAAACAR0MAQAAABkAAABTTVRQOkFMRVhATU9OVEVORUdSTy5DT00AAAAACwAB
DgAAAABAAAYOAKzzEDxhvwECAQoOAQAAABgAAAAAAAAATKfPYdw+0xGHYgAAIWyI28KAAAALAB8O
AQAAAAIBCRABAAAArgQAAKoEAADSBgAATFpGdcXCNIQDAAoAcmNwZzEyNRYyAPgLYG4OEDAzM08B
9wKkA+MCAGNoCsBzsGV0MCAHEwKAfQqBknYIkHdrC4BkNAxgPmMAUAsDC7YKsQqEZCAgSSBqdXMF
QGdvUQVAYSBuB9FjAaBsZGUgBGJtIAIQBcBtOHkgaANwFdAVUHR3wQWwaywgc28UcREhcCB1cCAC
IBXRANBohwuAFdAD8HRoIEYJ0YBCU0Qg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SVRB+b+4AQCqADfZbgAAAEQ6XGRhdGFcbWFpbFxhbGV4J3MgbWFpbiBhY2NvdW50LnBz
dAAAAAMA/g8FAAAAAwANNP03AAACAX8AAQAAADMAAAA8TkRCQklIR0NFTUtIT09BTkZFT0ZNRUJM
Q0ZBQS5hbGV4QG1vbnRlbmVncm8uY29tPgAAAwAGEBCw9RIDAAcQrwQAAAMAEBAAAAAAAwAREAAA
AAAeAAgQAQAAAGUAAABJSlVTVEdPVEFORVdDQUJMRU1PREVNRk9STVlIT01FTkVUV09SSyxTT0lT
RVRVUE9ORU1BQ0hJTkVXSVRIRlJFRUJTRDM0QVNBR0FURVdBWVJVTk5JTkdJUEZXV0lUSE9QRU5Q
AAAAANw3

--0__=NcSoeF7N0361RSfASCNtrmuF0bJuXf375KnwTFqZKlLwTi4fn3JZKY82--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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