Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Mar 2008 17:34:05 -0500
From:      David DeSimone <fox@verio.net>
To:        freebsd-net@freebsd.org
Subject:   Re: Frequent pauses with Linux-based router
Message-ID:  <20080318223404.GB24011@verio.net>
In-Reply-To: <alpine.BSF.1.00.0803181459390.7409@thor.farley.org>
References:  <alpine.BSF.1.00.0803161517370.56728@thor.farley.org> <47DE4E96.8080507@FreeBSD.org> <alpine.BSF.1.00.0803181459390.7409@thor.farley.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sean C. Farley <scf@FreeBSD.org> wrote:
>
> An ICMP test showed that there were occasional pauses and packet loss. 
> The fix:  use 100Mb instead of 10Mb.  :) For some reason I do not
> recall, I had forced the interface connected to the DSL router to
> 10Mb.  When I noticed XP did not have the same problem and that it had
> a 100Mb connection to the router, I found and removed the "media
> 10baseT/UTP mediaopt full-duplex" from /etc/rc.conf for the interface. 
> That appears to have fixed it.

The fix here is not that you moved to 100 Mb, it's that you stopped
forcing duplex, and allow auto-negotiation to take place.

With the forced duplex in effect, your NIC does not auto-negotiate with
the other end (the router), and it falls back to half duplex, which
leads to large numbers of collision errors.

> The pause always seemed to be for packets from the router to the
> computer.

Yep, whenever the router would try to send, if your end happened to be
sending a frame, the router's NIC would stop to avoid the collision,
leading to packet loss.  This is a classic duplex-mismatch scenario.

- -- 
David DeSimone == Network Admin == fox@verio.net
"This email message is intended for the use of the person to whom
 it has been sent, and may contain information that is confidential
 or legally protected.  If you are not the intended recipient or have
 received this message in error, you are not authorized to copy, dis-
 tribute, or otherwise use this message or its attachments.  Please
 notify the sender immediately by return e-mail and permanently delete
 this message and any attachments.  Verio, Inc. makes no warranty that
 this email is error or virus free.  Thank you."  --Lawyer Bot 6000
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFH4ENcFSrKRjX5eCoRAlOGAJ0SDIGlWFKFAiMXhzE/fjEqFvGzXQCdH7f5
02ycEA/hJuwAQlk4x9wMblo=
=IyQq
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080318223404.GB24011>