From owner-freebsd-hardware Fri Jul 21 15:52:14 2000 Delivered-To: freebsd-hardware@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id D340F37C16B for ; Fri, 21 Jul 2000 15:52:05 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id QAA33454; Fri, 21 Jul 2000 16:51:41 -0600 (MDT) (envelope-from ken) Date: Fri, 21 Jul 2000 16:51:41 -0600 From: "Kenneth D. Merry" To: Jin Guojun Cc: jhartley@netrail.net, mjacob@feral.com, freebsd-hardware@FreeBSD.ORG Subject: Re: SysKonnect and Intel gig boards Message-ID: <20000721165141.A33413@panzer.kdm.org> References: <200007102356.e6ANuGk18566@portnoy.lbl.gov> <20000710183011.A29172@panzer.kdm.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0OAP2g/MAC+5xKAE" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000710183011.A29172@panzer.kdm.org>; from ken@kdm.org on Mon, Jul 10, 2000 at 06:30:11PM -0600 Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jul 10, 2000 at 18:30:11 -0600, Kenneth D. Merry wrote: > On Mon, Jul 10, 2000 at 16:56:16 -0700, Jin Guojun wrote: > > (2) chewing significant CPU: (tested on completely idle machines) > > 500 MHz P-III + single NetGear A620 I/O > > takes 47% CPU time > > > > 750 MHz AMD K7 + single NetGear A620 I/O > > takes less 10% CPU > > > > 500 MHz P-III + single SysKonnect I/O > > takes less 5% CPU > > What benchmark are you running and what size packets are you using? > > I think I mentioned to you before that the driver is probably tuned for > 9000 byte packets, and you might need to tweak things somewhat to get > better performance with 1500 byte packets. Another parameter to try is enabling transmit flow control. The attached patch should do it for the -current driver, I think. I haven't really tested this to see what effect it has, and it'll only work with Tigon II boards. (The Netgear board is a Tigon II board.) Ken -- Kenneth Merry ken@kdm.org --0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="if_ti.c.flow_control.20000721" ==== //depot/FreeBSD-current/src/sys/pci/if_ti.c#27 - /a/ken/perforce/FreeBSD-current/src/sys/pci/if_ti.c ==== *** /tmp/tmp.61653.0 Fri Jul 21 16:50:09 2000 --- /a/ken/perforce/FreeBSD-current/src/sys/pci/if_ti.c Fri Jul 21 16:49:57 2000 *************** *** 2320,2327 **** --- 2320,2329 ---- case IFM_AUTO: CSR_WRITE_4(sc, TI_GCR_GLINK, TI_GLNK_PREF|TI_GLNK_1000MB| TI_GLNK_FULL_DUPLEX|TI_GLNK_RX_FLOWCTL_Y| + TI_GLNK_TX_FLOWCTL_Y| TI_GLNK_AUTONEGENB|TI_GLNK_ENB); CSR_WRITE_4(sc, TI_GCR_LINK, TI_LNK_100MB|TI_LNK_10MB| + TI_LNK_TX_FLOWCTL_Y|TI_LNK_RX_FLOWCTL_Y| TI_LNK_FULL_DUPLEX|TI_LNK_HALF_DUPLEX| TI_LNK_AUTONEGENB|TI_LNK_ENB); TI_DO_CMD(TI_CMD_LINK_NEGOTIATION, --0OAP2g/MAC+5xKAE-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message