From owner-freebsd-current@FreeBSD.ORG Tue Sep 28 21:28:46 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 42E5316A4CE; Tue, 28 Sep 2004 21:28:46 +0000 (GMT) Received: from dns.p-i-n.com (dns.p-i-n.com [145.253.185.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 260E643D46; Tue, 28 Sep 2004 21:28:45 +0000 (GMT) (envelope-from rabe@p-i-n.com) Received: from p-i-n.com (inside.p-i-n.com [129.10.9.21]) by dns.p-i-n.com (8.12.9p2/8.12.9) with ESMTP id i8SLSfXt094845; Tue, 28 Sep 2004 23:28:42 +0200 (CEST) (envelope-from rabe@p-i-n.com) Received: (from rabe@localhost) by p-i-n.com (8.11.6/8.11.6) id i8SLSfr76431; Tue, 28 Sep 2004 23:28:41 +0200 (CEST) (envelope-from rabe) Date: Tue, 28 Sep 2004 23:28:41 +0200 From: "Raphael H. Becker" To: freebsd-current@freebsd.org Message-ID: <20040928232841.W55054@p-i-n.com> References: <20040917104356.E55054@p-i-n.com> <414ADD15.FAC42CDB@freebsd.org> <20040917231922.G55054@p-i-n.com> <414B567C.9060904@freebsd.org> <20040917235056.I55054@p-i-n.com> <414B6234.8060904@freebsd.org> <20040918011644.N55054@p-i-n.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20040918011644.N55054@p-i-n.com>; from rabe@p-i-n.com on Sat, Sep 18, 2004 at 01:16:44AM +0200 Organization: PHOENIX Pharmahandel AG & Co KG, Mannheim, Deutschland cc: freebsd-net@freebsd.org Subject: if_bge with (was: Re: Strange things on GBit / 1000->100 / net.inet.tcp.inflight.* ) 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: Tue, 28 Sep 2004 21:28:46 -0000 On Sat, Sep 18, 2004 at 01:16:44AM +0200, Raphael H. Becker wrote: > On Sat, Sep 18, 2004 at 12:16:20AM +0200, Andre Oppermann wrote: > > Would you mind trying a 5.3 to 5.3 transfer but the target 5.3 box forced to > > only 100Mbit full-duplex? Same statistics again. > > Sorry, ifconfig is not possible now. See PM. > I may retest with physical access (without ssh) next days, if needed. Today I had some time for testing AND physical access ... With bge0 bound to 100baseTX / full-duplex the transfer breaks down to <100kBytes/sec, with 1000byseTX its about 250-350kBytes/sec, should be ~10MBytes/sec ifconfig bge0 down ifconfig bge0 media ... ifconfig bge0 up I will do some more and detailed testing next time I'm in our data center, including the netstat-output etc. Hmm. if_bge buggy? But, same machine on a FE-Switich worked perfectly (with 100MBit). By default ifconfig says: bge0: flags=8843 mtu 1500 options=1a inet 10.101.240.56 netmask 0xffffff00 broadcast 10.101.240.255 inet6 fe80::20d:56ff:febb:9c27%bge0 prefixlen 64 scopeid 0x1 ether 00:0d:56:bb:9c:27 media: Ethernet autoselect (1000baseTX ) status: active from dmesg: FreeBSD 5.3-BETA6 #2: Mon Sep 27 10:40:24 CEST 2004 root@pinserv6.p-i-n.com:/usr/obj/usr/src/sys/PE2650 <-- PE2650 is a copy of GENERIC this time. [...] acpi0: on motherboard [...] pcib3: on acpi0 pci3: on pcib3 bge0: mem 0xfcf10000-0xfcf1ffff irq 28 at device 6.0 on pci3 miibus0: on bge0 brgphy0: on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:0d:56:bb:9c:27 bge1: mem 0xfcf00000-0xfcf0ffff irq 29 at device 8.0 on pci3 miibus1: on bge1 brgphy1: on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge1: Ethernet address: 00:0d:56:bb:9c:28 Any idea? Regards Raphael Becker