From owner-freebsd-net@FreeBSD.ORG Wed Dec 17 10:44:16 2003 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 4F71D16A4CE for ; Wed, 17 Dec 2003 10:44:16 -0800 (PST) Received: from smtpout.mac.com (smtpout.mac.com [17.250.248.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5C3C43D64 for ; Wed, 17 Dec 2003 10:44:14 -0800 (PST) (envelope-from cswiger@mac.com) Received: from mac.com (smtpin08-en2 [10.13.10.153]) by smtpout.mac.com (Xserve/MantshX 2.0) with ESMTP id hBHIiEGJ018615; Wed, 17 Dec 2003 10:44:14 -0800 (PST) Received: from [10.1.1.193] (nfw2.codefab.com [66.234.138.66]) (authenticated bits=0) by mac.com (Xserve/smtpin08/MantshX 3.0) with ESMTP id hBHIiDLA002897; Wed, 17 Dec 2003 10:44:13 -0800 (PST) In-Reply-To: <20031217143452.GD68467@wjv.com> References: <5099DCD8-301B-11D8-A624-000A95775140@battleface.com> <20031217143452.GD68467@wjv.com> Mime-Version: 1.0 (Apple Message framework v606) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <021BAAF0-30C1-11D8-A551-003065ABFD92@mac.com> Content-Transfer-Encoding: 7bit From: Charles Swiger Date: Wed, 17 Dec 2003 13:44:12 -0500 To: bv@wjv.com X-Mailer: Apple Mail (2.606) cc: freebsd-net@freebsd.org Subject: Re: suffering from poor network performance... 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: Wed, 17 Dec 2003 18:44:16 -0000 On Dec 17, 2003, at 9:34 AM, Bill Vermillion wrote: > I've not tried the ping but I'm seeing exceptionally poor > performance on G4s to FreeBSD. The G4's can ftp to each other > at about 8-9MB/sec, as can the FreeBSDs. They are on a Cisco > 2948 switch. But ftp from BSD to G4 is in the order of 20-40KB/sec > while G4 to FreeBSD is about 1/2 that. [ ... ] > And I have NO problems with pings. Just data transfer. Your description sounds a lot like a duplex mismatch. Cisco switches and Macs sometimes mess up autonegotiation; I've seen the same happen with Sun hardware as well. If you get a chance, try manually configuring both the switch port and the Mac NIC to 100/HD rather than using auto. [ Yes, you should be able to test them explicitly configured for full-duplex, too, but testing at half-duplex is appropriate to confirm or deny my guess. ] If that doesn't buy you anything, try using "ping -i 0.01 -s 1400..." to send large packets rather than tiny ones, and take a look at your port statistics on the switch for errors, and whether "netstat -i" shows something interesting. -- -Chuck PS: My apologies if "diagnosing FreeBSD network problems" is off-topic to those who are interested in "coding network-related parts of FreeBSD". On the other hand, coercing developers to look at usability issues every once in a while can be beneficial to all concerned. :-)