From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261237AbVFATPX (ORCPT ); Wed, 1 Jun 2005 15:15:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261225AbVFASvf (ORCPT ); Wed, 1 Jun 2005 14:51:35 -0400 Received: from smtpq3.home.nl ([213.51.128.198]:15570 "EHLO smtpq3.home.nl") by vger.kernel.org with ESMTP id S261525AbVFAS2C (ORCPT ); Wed, 1 Jun 2005 14:28:02 -0400 Message-ID: <429DFD90.10802@keyaccess.nl> Date: Wed, 01 Jun 2005 20:25:20 +0200 From: Rene Herman User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a6) Gecko/20050111 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Pavel Machek CC: Bartlomiej Zolnierkiewicz , Linux Kernel , Mark Lord , David Brownell Subject: Re: External USB2 HDD affects speed hda References: <429BA001.2030405@keyaccess.nl> <20050601081810.GA23114@elf.ucw.cz> In-Reply-To: <20050601081810.GA23114@elf.ucw.cz> Content-Type: multipart/mixed; boundary="------------090201080708000406070701" X-AtHome-MailScanner-Information: Neem contact op met support@home.nl voor meer informatie X-AtHome-MailScanner: Found to be clean Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org This is a multi-part message in MIME format. --------------090201080708000406070701 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Pavel Machek wrote: EHCI maintainter (as given by MAINTAINERS) added to CC. > On Út 31-05-05 01:21:37, Rene Herman wrote: [ internal IDE HDD slowdown after switching on external USB2 HDD ] > USB controller generating extra DMA load? Try rmmoding usb to see if > it goes away. I was sceptical about this since the drive is idle (or even switched off again) but I recompiled EHCI modular and rmmodding ehci_hcd does in fact bring back my 50 MB/s: : hdparm -t /dev/hda = 50 MB/s 1. modprobe ehci_hcd : hdparm -t /dev/hda = 50 MB/s 2. switch on USB2 drive : hdparm -t /dev/hda = 42 MB/s 3. switch off USB drive : hdparm -t /dev/hda = 42 MB/s 4. modprobe -r ehci_hcd : hdparm -t /dev/hda = 50 MB/s There would not seem to be any extra DMA load with a drive that's idle or switched off again though? Is the (VIA) USB2 controller playing bus monopolizing tricks or something sinister like that? (the speed doesn't drop immediately after loading ehci_hcd though, only after switching on the USB2 HDD) More detail --- it's a VIA VT6212L EHCI controller, on unshared IRQ3. IDE0 is AMD756 on unshared IRQ14/15. The USB2 HDD does 30 MB/s (after a hdparm -a 1024; with the default 256 it's 25MB/s) which I did think was a very good speed. lspci -vv attached, in case it's useful. Many thanks in advance to anyone for any additional insight... Rene. --------------090201080708000406070701 Content-Type: text/plain; name="LSPCI" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="LSPCI" 00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-751 [Irongate] System Controller (rev 25) Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- Reset- FastB2B- 00:07.0 ISA bridge: Advanced Micro Devices [AMD] AMD-756 [Viper] ISA (rev 01) Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR-