From owner-freebsd-current@FreeBSD.ORG Thu Mar 25 18:53:23 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3890016A4CE for ; Thu, 25 Mar 2004 18:53:23 -0800 (PST) Received: from mailhub.sweetdreamsracing.biz (mailhub.sweetdreamsracing.biz [66.92.171.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id D58C143D2F for ; Thu, 25 Mar 2004 18:53:22 -0800 (PST) (envelope-from culverk@sweetdreamsracing.biz) Received: by mailhub.sweetdreamsracing.biz (Postfix, from userid 80) id 6E20E1F6; Thu, 25 Mar 2004 22:09:39 -0500 (EST) Received: from hachigo (hachigo [66.92.171.91]) by www.sweetdreamsracing.biz (Horde) with HTTP for ; Thu, 25 Mar 2004 22:09:39 -0500 Message-ID: <20040325220939.2ogcsoogkoookwwc@www.sweetdreamsracing.biz> Date: Thu, 25 Mar 2004 22:09:39 -0500 From: Kenneth Culver To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) 4.0-cvs Subject: poor gigabit ethernet performance with amd64 + sk0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Mar 2004 02:53:23 -0000 I recently did a short file transfer over gigabit ethernet in both x86 and amd64. On x86 it appears the limiting factor is the laptop I'm transferring to. I get about 20MB/sec to the laptop in x86. But on amd64, I'm not sure what the limiting factor is, because I max out at about 2.8MB/sec with the EXACT same hardware. Here are the dmesg lines for that ethernet card: skc0: <3Com 3C940 Gigabit Ethernet> port 0xb400-0xb4ff mem 0xfdc00000-0xfdc03fff irq 17 at device 10.0 on pci0 skc0: 3Com Gigabit LOM (3C940) sk0: on skc0 skc0: [GIANT-LOCKED] I'm positive that in both x86 and in amd64, the card is set up the same way, with a 1500 byte MTU, and running at 1000baseTX full-duplex: sk0: flags=8843 mtu 1500 inet 192.168.0.16 netmask 0xffffff00 broadcast 192.168.0.255 inet6 fe80::20c:6eff:feba:a749%sk0 prefixlen 64 scopeid 0x1 ether 00:0c:6e:ba:a7:49 media: Ethernet autoselect (1000baseTX ) status: active So I'm at a loss as to why it's so much faster in x86 than it is in amd64. Any ideas? Ken