From owner-freebsd-sparc64@FreeBSD.ORG Tue Sep 28 13:55:12 2004 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5562D16A4CE for ; Tue, 28 Sep 2004 13:55:12 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BC1443D31 for ; Tue, 28 Sep 2004 13:55:11 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id C6C691FFDD8; Tue, 28 Sep 2004 15:55:07 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id C94031FF9A6; Tue, 28 Sep 2004 15:55:05 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 664331561A; Tue, 28 Sep 2004 13:54:18 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 5B47715384; Tue, 28 Sep 2004 13:54:19 +0000 (UTC) Date: Tue, 28 Sep 2004 13:54:19 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Andrew Belashov In-Reply-To: <415965DB.4050809@orel.ru> Message-ID: References: <415965DB.4050809@orel.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: freebsd-sparc64@freebsd.org Subject: Re: hme0 tx problem X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Sep 2004 13:55:12 -0000 On Tue, 28 Sep 2004, Andrew Belashov wrote: Hi, > >>I am ftping a 10M file generated from /dev/urandom for ethernet > >>testing from host to host. While I can get the file with ~7-8MBit/s > >>I can only put it with ~65KBit/s. I already played with -txcsum. > > > > > > ok, though both switch and sparc said they are 100FDX the switch > > hadn't been *grml*; I forced re-negotiation and now I can get up > > to 3.5MBit/s TX speed (with still 7-8MBit/s RX) but tx still is > > half from what I would expect ? > > > > Show error counters after ftping. (netstat -I hme0). > > See dmesg. Whether there are messages like this? > > hme0: error signaled, status=0x3030101 > hme0: error signaled, status=0x20001 > hme0: error signaled, status=0x30001 one from before I re-negotiated the link: hme0: error signaled, status=0x3000400 from that time there are collisions on the interface but no new and no if{In,Out}Errors but bz@pizza:~> netstat -I hme0 Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll hme0 1500 08:00:20:e7:cc:b0 87406 0 83313 0 1363 hme0 1500 62.111.66/27 62.111.66.8 83895 - 83267 - - hme0 1500 fe80:1::a00:2 fe80:1::a00:20ff: 16 - 27 - - ... ftp putting 5x 10M ... bz@pizza:~> netstat -I hme0 Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll hme0 1500 08:00:20:e7:cc:b0 87421 0 83328 0 1363 hme0 1500 62.111.66/27 62.111.66.8 83910 - 83282 - - hme0 1500 fe80:1::a00:2 fe80:1::a00:20ff: 16 - 27 - - I had been able to test things with an additional xl0 in the sparc last hour; same results: 7-8MBit/s RX but only 3-4Mbit/s TX. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT