From nobody Sat Dec 04 02:12:07 2021 X-Original-To: freebsd-usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E467D18BCAB4 for ; Sat, 4 Dec 2021 02:12:32 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (2403-5800-5200-4700-225-90ff-fe47-39b4.ip6.aussiebb.net [IPv6:2403:5800:5200:4700:225:90ff:fe47:39b4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "dons.net.au", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J5Y9r2BQTz3vnq for ; Sat, 4 Dec 2021 02:12:31 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (localhost [127.0.0.1]) by midget.dons.net.au (8.16.1/8.16.1) with ESMTPS id 1B42CB8n092489 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 4 Dec 2021 12:42:16 +1030 (ACDT) (envelope-from darius@dons.net.au) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dons.net.au; s=default; t=1638583939; bh=2wtBtR09h9tIvs9wCn7IP1+0oghb/FItsnQ31dMqKO0=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=XQa3scbqAK94zSNOB5d80Wrtwzd1EyLDodAzcgWID7YIzqmASqA7DS9kI0dDEk0IQ BAy/DVxAYBONJLsf+GAPB35V7b5j2GqNtXIPDkVBneWk2KzgKiSBi5fE2a2jTwNSFF DMY4FtW8CfyyV2VH3o4w6qXXMpaSZdtpyW/j469g= Received: (from mailnull@localhost) by midget.dons.net.au (8.16.1/8.16.1/Submit) id 1B42C8NO092486 for ; Sat, 4 Dec 2021 12:42:08 +1030 (ACDT) (envelope-from darius@dons.net.au) X-MIMEDefang-Relay-f0f0b4ff001831caa5b8ac39868c4c7e9b4d12fc: 2403:5800:5200:4700:3c67:8904:cbe1:1db3 Received: from smtpclient.apple (2403-5800-5200-4700-3c67-8904-cbe1-1db3.ip6.aussiebb.net [2403:5800:5200:4700:3c67:8904:cbe1:1db3]) by 2403-5800-5200-4700-225-90ff-fe47-39b4.ip6.aussiebb.net (envelope-sender ) (MIMEDefang) with ESMTP id 1B42C8Od092481; Sat, 04 Dec 2021 12:42:08 +1030 Content-Type: text/plain; charset=us-ascii List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Poor USB performance on ASUS 520 motherboard (no IRQ?) In-Reply-To: Date: Sat, 4 Dec 2021 12:42:07 +1030 Cc: freebsd-usb@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Hans Petter Selasky X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Spam-Score: 0.8 () No, score=0.8 required=5.0 tests=KHOP_HELO_FCRDNS, PDS_RDNS_DYNAMIC_FP,RDNS_DYNAMIC,SPF_HELO_NONE,T_SPF_PERMERROR autolearn=no autolearn_force=no version=3.4.4 X-Scanned-By: MIMEDefang 2.83 on 10.0.2.1 X-Rspamd-Queue-Id: 4J5Y9r2BQTz3vnq X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: darius@dons.net.au From: Daniel O'Connor via freebsd-usb X-Original-From: Daniel O'Connor X-ThisMailContainsUnwantedMimeParts: N > On 4 Dec 2021, at 05:11, Hans Petter Selasky wrote: > On 11/24/21 23:33, Daniel O'Connor wrote: >> I found that the Gigabyte GA-A320M-H one works fine but the ASUS = A520M-A/CSM one is significantly slower for tests where there are many = back and forth messages (streaming data seems fine). >=20 > There is a register in the XHCI PCI area, to set the IRQ latency. You = may want to check the PCI IDs towards Linux if these chips require some = kind of special quirks. Thanks, I had a look at the Linux code (searched via lxr.linux.no) but = couldn't find any mention of that product ID (0x43ec). There are several other AMD related quirks but I don't think any of them = impact this. I wonder if the BIOS sets them differently and FreeBSD never changes it = (I haven't tried Linux). How can I change it? -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum