Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753360AbXJKWxk (ORCPT ); Thu, 11 Oct 2007 18:53:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751901AbXJKWxb (ORCPT ); Thu, 11 Oct 2007 18:53:31 -0400 Received: from nf-out-0910.google.com ([64.233.182.189]:57457 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751860AbXJKWx3 (ORCPT ); Thu, 11 Oct 2007 18:53:29 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:message-id; b=BXK/99OEGUXfqxjQniHF1yhtKeIiBIlf1W46d5Fj0wTm+fiCP4DprzTLz/eNVp0dBJ0Bh8j+qfMfiLeTwGXQEUVoA4YDa2V4++ldLO5o5yyKHwPh0BoDK6iVfBBzGtDENaLi5NUeSY3Mk4EAI+BSbxNb0/ssEtx+2TtrE+pFIJ4= From: poison To: Helmut Toplizer Subject: Re: linux-2.6.23 - acting funny Date: Fri, 12 Oct 2007 00:53:19 +0200 User-Agent: KMail/1.9.7 Cc: linux-kernel@vger.kernel.org, Ingo Molnar References: <200710111409.13854.bgrpt@toplitzer.net> In-Reply-To: <200710111409.13854.bgrpt@toplitzer.net> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_glqDHwlfweucDQA" Message-Id: <200710120053.20202.rc.poison@gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 21245 Lines: 422 --Boundary-00=_glqDHwlfweucDQA Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi =) On Thursday 11 October 2007, Helmut Toplizer wrote: > Hi! > > I had similar behavior in the kernel releases since I can think of. It doesn't happen before 2.6.23. > (You may find some reports about at > http://marc.info/?a=113508574400006&r=1&w=2) > > Maybe your problem is similar. > > Here's what have been found out: > Plugin of ehci devices causes some strange DMA thing > which causes delays because of the CPU HLT instruction. > (DMA are handled with delays on HLT) > > Possible fixes: > 1) Kernel parameter: idle=poll > Disables HLT and causes heat up and noise from the cpu $ cat /proc/cmdline root=/dev/sdb1 ro vga=794 idle=poll Same story. If I start: $ while true; do echo test > /dev/null; done ... the transfer rate goes up. > > 2) Don't insert EHCI-USB devices Still reproducable with all USB devices except keyboard+mouse removed, ehci deselcted in kernel config and booting with idle=poll. > > 3) Patch: attached, try out at your own risk. > you need to add a kernel-boot parameter "disableviahlt" > (You've got a via-chipset, right?) > > Please report back to me if 1/2 works or to linux-ide if the patch works. No VIA chip in sight. Mainboard is an Intel 975XBX2 and hard disks are connected to the ICH7 SATA Controller, so I don't think the patch will help me ^^ lspci attached. Also the transfer rate didn't degrade too much for copying directly from reiserfs to reiserfs and not using encfs: dd if=/mnt/.backup/2CpGkrxvz6wgA0b0xloz8PavzMLrMymOgi9 of=/mnt/.tdata/test 1033+0 records in 1033+0 records out 1083179008 bytes (1.1 GB) copied, 16.9303 s, 64.0 MB/s Plus the transfer rate doesn't increase if I start a CPU hog while copying between reiserfs. So it looks more to me like theres a bad interaction between the new scheduler, fuse and encfs ... > Thanks > > Helmut Thanks for your reply ^^ --Boundary-00=_glqDHwlfweucDQA Content-Type: text/plain; charset="iso-8859-6"; name="lspci" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="lspci" 00:00.0 Host bridge: Intel Corporation 82975X Memory Controller Hub Subsystem: Intel Corporation Unknown device 5842 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B- Capabilities: [88] Subsystem: Intel Corporation Unknown device 5842 Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- Capabilities: [90] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+ Address: fee0300c Data: 41b9 Capabilities: [a0] Express Root Port (Slot+) IRQ 0 Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag- Device: Latency L0s <64ns, L1 <1us Device: Errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+ Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- Device: MaxPayload 128 bytes, MaxReadReq 128 bytes Link: Supported Speed 2.5Gb/s, Width x16, ASPM L0s, Port 2 Link: Latency L0s <256ns, L1 <4us Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch- Link: Speed 2.5Gb/s, Width x16 Slot: AtnBtn- PwrCtrl- MRL- AtnInd- PwrInd- HotPlug- Surpise- Slot: Number 0, PowerLimit 75.000000 Slot: Enabled AtnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- Slot: AttnInd Off, PwrInd On, Power- Root: Correctable- Non-Fatal- Fatal- PME- 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) Subsystem: Intel Corporation Unknown device 0419 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- SERR- TAbort- Reset- FastB2B- Capabilities: [40] Express Root Port (Slot+) IRQ 0 Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag- Device: Latency L0s unlimited, L1 unlimited Device: Errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+ Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- Device: MaxPayload 128 bytes, MaxReadReq 128 bytes Link: Supported Speed 2.5Gb/s, Width x4, ASPM L0s L1, Port 1 Link: Latency L0s <1us, L1 <4us Link: ASPM Disabled RCB 64 bytes CommClk- ExtSynch- Link: Speed 2.5Gb/s, Width x0 Slot: AtnBtn- PwrCtrl- MRL- AtnInd- PwrInd- HotPlug+ Surpise+ Slot: Number 1, PowerLimit 25.000000 Slot: Enabled AtnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- Slot: AttnInd Unknown, PwrInd Unknown, Power- Root: Correctable- Non-Fatal- Fatal- PME- Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+ Address: fee0300c Data: 41c1 Capabilities: [90] Subsystem: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 Capabilities: [a0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 01) (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort- Reset- FastB2B- Capabilities: [40] Express Root Port (Slot+) IRQ 0 Device: Supported: MaxPayload 128 bytes, PhantFunc 0, ExtTag- Device: Latency L0s unlimited, L1 unlimited Device: Errors: Correctable+ Non-Fatal+ Fatal+ Unsupported+ Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- Device: MaxPayload 128 bytes, MaxReadReq 128 bytes Link: Supported Speed 2.5Gb/s, Width x1, ASPM L0s L1, Port 6 Link: Latency L0s <256ns, L1 <4us Link: ASPM Disabled RCB 64 bytes CommClk+ ExtSynch- Link: Speed 2.5Gb/s, Width x1 Slot: AtnBtn- PwrCtrl- MRL- AtnInd- PwrInd- HotPlug+ Surpise+ Slot: Number 6, PowerLimit 10.000000 Slot: Enabled AtnBtn- PwrFlt- MRL- PresDet- CmdCplt- HPIrq- Slot: AttnInd Unknown, PwrInd Unknown, Power- Root: Correctable- Non-Fatal- Fatal- PME- Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable+ Address: fee0300c Data: 41c9 Capabilities: [90] Subsystem: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 Capabilities: [a0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) (prog-if 00 [UHCI]) Subsystem: Intel Corporation Unknown device 5842 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- Reset- FastB2B- Capabilities: [50] Subsystem: Intel Corporation Unknown device 5842 00:1f.0 ISA bridge: Intel Corporation 82801GH (ICH7DH) LPC Interface Bridge (rev 01) Subsystem: Intel Corporation Unknown device 5842 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- TAbort- SERR-