Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 1999 19:36:39 -0600
From:      David Kelly <dkelly@hiwaay.net>
To:        Admin <admin@sutv.wgtn.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: slow ethernet 
Message-ID:  <199901190136.TAA05000@nospam.hiwaay.net>
In-Reply-To: Message from Admin <admin@sutv.wgtn.com>  of "Mon, 18 Jan 1999 13:26:44 CST." <Pine.BSF.3.96.990118132507.16930A-100000@sutv.wgtn.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Admin writes:
> Ok, i have a freebsd server set up, and whenever i do a ftp into it, over
> a 10 mbps ethernet connection, all the faster i can get it to download at
> is around 600kbps what do i have to do to speed this up??

If you mean 600k bits per second, then you have a problem. If you mean 
600k bytes per second then that may just be as good as it gets. 400k or 
so was the best I could get out of an NE2000 on a 486DX33 w/ 8MB thru 
two routers. Same path these days with faster CPU's yeilds 600k or a 
little better. SGI O2 to FreeBSD P-133 runs about 750k to 850k/sec thru 
an http://www.onsale.com $39.96 8 port 10baseT hub.

As others have asked, "what are the conditions?" For starters:

-) what CPU, speed, memory, and FreeBSD version on your server?
-) what are you connecting with? What ethernet card does it use?
-) how large is the benchmark file?
-) network: a remote hub with wires in the walls? a direct conection
   to the client? a flea market $20 hub under the table? any routers?

Sometimes the output from netstat gives a clue:

nospam: {1009} netstat -i
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
fxp0  1500  <Link>      00.90.27.0d.e3.94   772882     0   504593     0    12
fxp0  1500  10.1.1/24     n4hhe.ampr.org    772882     0   504593     0    12
fxp0  1500  atalk:0-65534      65280.210    772882     0   504593     0    12
lp0*  1500  <Link>                               0     0        0     0     0
tun0* 1500  <Link>                               0     0        0     0     0
sl0*  552   <Link>                               0     0        0     0     0
ppp0* 1500  <Link>                            5264     0     5733     0     0
lo0   16384 <Link>                            7357     0     7357     0     0
lo0   16384 127           localhost           7357     0     7357     0     0
lo0   16384 atalk:0            0.0            7357     0     7357     0     0
nospam: {1010} 

That's interesting. 12 collisions on a dedicated wire (crossed wires,
essentially an ethernet null-modem) with no hub. This link could be
running full duplex but I don't know how to tell the Mac how.  :-)


--
David Kelly N4HHE, dkelly@nospam.hiwaay.net
=====================================================================
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.



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?199901190136.TAA05000>