From owner-freebsd-net@FreeBSD.ORG Mon Nov 29 16:38:10 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C03E16A4CF for ; Mon, 29 Nov 2004 16:38:10 +0000 (GMT) Received: from mx1.nersc.gov (mx1.nersc.gov [128.55.6.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E04C443D5C for ; Mon, 29 Nov 2004 16:38:09 +0000 (GMT) (envelope-from dart@nersc.gov) Received: by mx1.nersc.gov (Postfix, from userid 4002) id BD4401F399; Mon, 29 Nov 2004 08:38:09 -0800 (PST) Received: from mx1.nersc.gov (localhost [127.0.0.1]) by localhost.nersc.gov (Postfix) with ESMTP id 0EB9E1F3CA; Mon, 29 Nov 2004 08:38:05 -0800 (PST) Received: from gemini.nersc.gov (gemini.nersc.gov [128.55.16.111]) by mx1.nersc.gov (Postfix) with ESMTP id CC90C1F399; Mon, 29 Nov 2004 08:38:04 -0800 (PST) Received: from gemini.nersc.gov (localhost [127.0.0.1]) by gemini.nersc.gov (Postfix) with ESMTP id A16E4F987; Mon, 29 Nov 2004 08:38:02 -0800 (PST) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Andrew Seguin , freebsd-net@freebsd.org In-Reply-To: Message from Chuck Swiger of "Sun, 28 Nov 2004 19:26:17 EST." <41AA6CA9.6020008@mac.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-399181420P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Mon, 29 Nov 2004 08:38:02 -0800 From: Eli Dart Message-Id: <20041129163802.A16E4F987@gemini.nersc.gov> X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on mx1.nersc.gov Subject: Re: FreeBSD 5.3 Networking performance problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Nov 2004 16:38:10 -0000 --==_Exmh_-399181420P Content-Type: text/plain; charset=us-ascii > [ ... ] > > I then tested with the whole school going through the firewall: very bad. > > packets were being droped and ping times were around 600ms. Internet was > > pretty much unuseable. > > This report sounds consistent, although you could also have a bad cable or > switch port, too. It would be useful to you to look into the output of > "netstat -i" and "netstat -s", and any statistics which might be available on > your switches (if they have management & per-port stats). The other thing to check is your duplex settings. Your host interface and/or switch interface may be picking the wrong setting when it attempts to autonegotiate. If you have an unmanaged switch (or don't have access) you can manually set the interface to full or half duplex using ifconfig. In my experience, Foundry switches tend to autoneg correctly if the host side is set to auto, and guess wrong if the host is set to a specific setting. Cisco switches are variable, depending on model and IOS version. Note that if your interface is set to full duplex and the switch is set to half, you'll see lousy performance and very likely see no errors on your side. --eli > > -- > -Chuck > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > --==_Exmh_-399181420P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) Comment: Exmh version 2.5 07/13/2001 iD8DBQFBq1BqLTFEeF+CsrMRAh+mAJ4gNR0XD2bIojO7WRkklILBrZLyMACfTjom IL8hepsJCh/g3Olr98kXEJU= =CweZ -----END PGP SIGNATURE----- --==_Exmh_-399181420P--