Hi there.  I have an interesting problem (figured it out myself) but I'm
wondering why it is occuring.

I have a setup with Two FreeBSD machines (3.2 and 4.0 RELEASE), a Windows
machine, and a NetBSD machine.  The NetBSD machine has three 3Com 3C509/B NICs
(ISA) and acts as a router to three subnets, one per machine.  When I FTP
something from the 4.0 to the 3.2 box, performance sucks.  And not that the
NetBSD machine is too slow, it seems neither the 4.0 or 3.2 is using the
network like it should.  Looking at the hub, I'm getting a pattern like this:

Activity(3 secs)  --  Pause (4 secs) -- Activity (2 secs) -- Pause (1 sec) --
Activity (7 secs) -- Pause (7 secs)

and on for a total throughput of 80KB/s.  The same occurs from Windows to the
4.0 box with Samba. I tried installing FreeBSD on the router, with no luck.
The only solution I could come up with was to:

sysctl -w net.inet.tcp.sendspace=2900
sysctl -w net.inet.tcp.recvspace=2900

This brings performance up to about 400KB/s, which is "ok" because of the extra
latency of the router.  I have another similar situation with two 4.0 boxes and
iMacs running on two Cisco Catalyst 2924XL switches.  If I use a plain
vanilla 10Base hub I get a cool 620KB/s.  Does anyone have any idea what is
causing this?



Yann Ramin                      [EMAIL PROTECTED]
Atrus Trivalie Productions      www.atrustrivalie.eu.org
Monterey High IT                www.montereyhigh.com
ICQ                             46805627
AIM                             oddatrus
Marina, CA

"All cats die.  Socrates is dead.  Therefore Socrates is a cat."
        - The Logician

        # fortune
"To be responsive at this time, though I will simply say, and therefore
this is a repeat of what I said previously, that which I am unable to
offer in response is based on information available to make no such

Version: PGPfreeware 5.0i for non-commercial use
MessageID: FUGyzVH4vQLKyp0A67Qx1eOXvDr2V38A


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to