Re: Funny Network Transit Delays

2000-05-12 Thread Mike Nowlin


 the other end is set to full.  I wouldn't trust any "Auto" settings until
 it can be assured that it doesn't hurt.  

Agreed -- from experience with a couple of HP Procurve 2424M switches and
various 100Mb cards, the "Auto" setting is less than reliable...  My
Netgear FA310TX(?) and Intel EtherExpress 100B cards all get detected
correctly, but most of the other ones can be a little flaky with 
auto-detect...  If you can't control the switch settings (most unmanaged
switches), you'll have to play with the ifconfig flags to get the net card
and the switch to agree on what protocol they're using.

mike




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



Re: Funny Network Transit Delays

2000-05-12 Thread Adam

Are you sure the duplex settings are correct on all nics?  If they are on
coax or a hub, it should be set to half duplex.  If you are connected to a
switch or a crossover cable,  you may use full duplex on the nic only if
the other end is set to full.  I wouldn't trust any "Auto" settings until
it can be assured that it doesn't hurt.  

On Fri, 12 May 2000, Yann Ramin wrote:

-BEGIN PGP SIGNED MESSAGE-

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

--


Yann Ramin [EMAIL PROTECTED]
Atrus Trivalie Productions www.atrustrivalie.eu.org
   irm.it.montereyhigh.com
Monterey High IT   www.montereyhigh.com
ICQ46805627
AIModdatrus
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
statement."



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

iQA/AwUBORzT6jEK6loGD1TnEQK9/QCg5+2Jaxj+BzYd0JkHCPoYMRgLsVoAnjp3
8t3n4rO9Oyr+R086nXwG5Asb
=/RT8
-END PGP SIGNATURE-


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




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



Funny Network Transit Delays

2000-05-12 Thread Yann Ramin

-BEGIN PGP SIGNED MESSAGE-

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

--


Yann Ramin  [EMAIL PROTECTED]
Atrus Trivalie Productions  www.atrustrivalie.eu.org
irm.it.montereyhigh.com
Monterey High ITwww.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
statement."



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

iQA/AwUBORzT6jEK6loGD1TnEQK9/QCg5+2Jaxj+BzYd0JkHCPoYMRgLsVoAnjp3
8t3n4rO9Oyr+R086nXwG5Asb
=/RT8
-END PGP SIGNATURE-


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