Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965059AbYCTAkr (ORCPT ); Wed, 19 Mar 2008 20:40:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S967409AbYCTAa2 (ORCPT ); Wed, 19 Mar 2008 20:30:28 -0400 Received: from smtpq1.groni1.gr.home.nl ([213.51.130.200]:37709 "EHLO smtpq1.groni1.gr.home.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967404AbYCTAaZ (ORCPT ); Wed, 19 Mar 2008 20:30:25 -0400 Message-ID: <47E1B062.4060709@keyaccess.nl> Date: Thu, 20 Mar 2008 01:31:30 +0100 From: Rene Herman User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: "Lev A. Melnikovsky" CC: David Brownell , Alessandro Suardi , Linux Kernel Subject: Re: ehci-hcd affects hda speed References: <200803171700.26274.david-b@pacbell.net> <47DF19AD.405@keyaccess.nl> <200803171855.44552.david-b@pacbell.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1656 Lines: 39 On 20-03-08 00:47, Lev A. Melnikovsky wrote: > Just in case - I do have an A7V8X-based PC in the office and have > performed a simple experiment. > > #1. Idle USB controller has no effect on PCI performance (I again > measured hda throughput). > > #2. Default value for register 4Bh is 09h. > > #3. I have detected no effect of changing [4Bh]=29h. Particularly, USB > FLASH read speed is ~8MB/s and hda read speed is ~40MB/s regardless of > [4Bh] content. During hda timing, "dd if=/dev/sda of=/dev/null bs=1024" > was running in another window (/dev/sda being the USB stick). > > My interpretation, is that bit5 at offset 4B may _not_ be an "EHCI sleep > time select" like it is for VT6212. Am I missing something? No, very useful test, thanks much. Patch as submitted for revision 0x6x will stand then. I do wonder -- is your hda throughput also the same before _ever_ attaching anything to the EHCI controller and after? In my case, the slow down only happened after switching on my external USB drive once, and would persist from that time until reboot (or unloading ehci-hcd, which I kept modular for exactly that reason). The sleep time wasn't the core problem, so I wonder of later VIA chips do still have the active async schedule problem... Alessandro? You said there still was a difference for you between no EHCI at all and EHCI after tweaking 4B as Lev showed. How much? Rene. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/