From owner-freebsd-bugs@FreeBSD.ORG Mon Feb 18 14:10:06 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3046916A49C for ; Mon, 18 Feb 2008 14:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2175C13C4E9 for ; Mon, 18 Feb 2008 14:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m1IEA5FY059285 for ; Mon, 18 Feb 2008 14:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m1IEA5Tw059284; Mon, 18 Feb 2008 14:10:05 GMT (envelope-from gnats) Date: Mon, 18 Feb 2008 14:10:05 GMT Message-Id: <200802181410.m1IEA5Tw059284@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Thomas Hurst Cc: Subject: Re: kern/64556: [sis] if_sis short cable fix problems with NetGear FA311's X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thomas Hurst List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Feb 2008 14:10:06 -0000 The following reply was made to PR kern/64556; it has been noted by GNATS. From: Thomas Hurst To: Volker Cc: bug-followup@FreeBSD.org Subject: Re: kern/64556: [sis] if_sis short cable fix problems with NetGear FA311's Date: Mon, 18 Feb 2008 14:07:27 +0000 Testing with Linux shows that receive seems to be throttled during bidirectional activity. Unidirectional sees 93Mbps in either direction, bidirectional sees 93Mbps sending and 35-60Mbps (50 average) receiving. There's no sign of connection dropping in an hour of testing. Linux is spewing APIC errors at me, not sure what, if anything, they're related to. A quick glance at the FreeBSD driver shows a DELAY(100000); which probably accounts for the performance drops; each burst of 'short cable fix' messages basically leaves the card idle for 300ms or so. The Linux driver (drivers/net/natsemi.c) has no sign of such a delay. This all happens during card setup, sis_initl(), shouldn't this be only happening once when it aquires the link, not randomly during operation? Watchdog timeouts excepted, but there's no sign of them. -- Thomas 'Freaky' Hurst http://hur.st/