From owner-freebsd-usb@FreeBSD.ORG Thu Oct 20 07:14:36 2011 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BFE12106564A for ; Thu, 20 Oct 2011 07:14:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 487BD8FC12 for ; Thu, 20 Oct 2011 07:14:35 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED, BAYES_40 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 193678419; Thu, 20 Oct 2011 09:14:34 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Thu, 20 Oct 2011 09:11:21 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201110200911.21936.hselasky@c2i.net> Cc: Subject: Re: bad performance of aue device when used with nVidia nForce MCP79 USB X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Oct 2011 07:14:36 -0000 On Wednesday 19 October 2011 23:34:41 Marcus M=FCller wrote: > Hi all! >=20 > I need some advice how to best tackle this problem I'm having with an > ADMtek USB To LAN Converter in conjunction with an nVidia nForce MCP79 USB > chip: >=20 > --- config begin --- > root@creutzfeld:(~)# uname -a > FreeBSD creutzfeld.z.net 8.2-STABLE FreeBSD 8.2-STABLE #7 r226546: Wed Oct > 19 22:08:28 CEST 2011 root@creutzfeld:/usr/obj/usr/src/sys/CREUTZFELD= =20 > amd64 root@creutzfeld:(~)# usbconfig list > ugen0.1: at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (= 12Mbps) > pwr=3DSAVE ugen1.1: at usbus1, cfg=3D0 md=3DHOST s= pd=3DHIGH > (480Mbps) pwr=3DSAVE ugen2.1: at usbus2, cfg=3D0 > md=3DHOST spd=3DFULL (12Mbps) pwr=3DSAVE ugen3.1: = at > usbus3, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3DSAVE ugen3.2: Converter ADMtek> at usbus3, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr= =3DON > ehci1: mem 0xfae7e800-0xfae7e8ff > irq 21 at device 6.1 on pci0 --- config end --- >=20 > This ADMtek device gets roughly 10MBit downstream with the configuration > above. When used with the same OS on a board with an Intel 82801GB/R > (ICH7) USB 2.0 controller it gets 64MBit downstream, which is the maximum > I can get from my ISP. >=20 > I don't see anything unusual in the system messages, thus I suspect it's = an > issue with the USB implementation for the nForce chipset. >=20 > What can I do in order to find out what's the bottleneck here? Hi, The Nvidia chipsets are quirked due to what looks like hardware issues. See= =20 sys/dev/usb/controller/ehci_pci.c. This affects performance. Also see "sysctl hw.usb.ehci". =2D-HPS