Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267591AbUJBXAZ (ORCPT ); Sat, 2 Oct 2004 19:00:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267595AbUJBXAZ (ORCPT ); Sat, 2 Oct 2004 19:00:25 -0400 Received: from 1-1-4-20a.ras.sth.bostream.se ([82.182.72.90]:5586 "EHLO garbo.kenjo.org") by vger.kernel.org with ESMTP id S267591AbUJBXAO (ORCPT ); Sat, 2 Oct 2004 19:00:14 -0400 Subject: Re: Sluggishness in 2.6.7 caused by IDE stack From: Kenneth Johansson To: Scott A Crosby Cc: linux-kernel@vger.kernel.org In-Reply-To: <1096121485.2760.5.camel@tiger> References: <1096121485.2760.5.camel@tiger> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-JfgFrPNUM+73cSr9nO9h" Date: Sun, 03 Oct 2004 01:00:06 +0200 Message-Id: <1096758006.3287.7.camel@tiger> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2610 Lines: 72 --=-JfgFrPNUM+73cSr9nO9h Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2004-09-25 at 16:11 +0200, Kenneth Johansson wrote: > On Sat, 2004-09-25 at 07:26 -0500, Scott A Crosby wrote: > > Much of the CPU time was spent in system mode. I setup a quick > > oprofile, which blamed the function task_no_data_intr, but an > > opannotate reports confusing results, possibly from interrupts? dmesg > > reported nothing interesting. > >=20 > >=20 > > Scott > >=20 > >=20 > > *** vmstat output *** > >=20 > > procs -----------memory---------- ---swap-- -----io---- --system-- ----= cpu---- > > 1 1 410496 8520 14224 1253716 0 0 2180 16 409 633 10 = 43 0 48 > > 7 1 410496 6920 14236 1255380 0 0 1668 20 589 832 9 = 18 0 73 > > 3 0 410496 8264 14232 1253988 0 0 2436 80 334 438 18 = 82 0 0 > > 0 1 410496 8384 14244 1253860 0 0 1932 0 464 706 13 = 35 0 52 > > 5 1 410496 8056 14264 1253872 328 0 2280 0 717 965 14 = 20 0 65 > > 8 1 410496 7352 14268 1254640 0 0 2692 0 351 485 17 = 83 0 0 > > 2 2 410496 6968 14264 1255036 32 0 2336 0 332 522 17 = 83 0 0 > > 5 0 410496 8568 14276 1253384 0 0 2192 12 464 794 19 = 33 0 48 >=20 > I think you have the same problem as me. The interrupt rate drops under > 1000 during use of the DVD and that is strange as the HZ is 1000 and > that should be the lowest possible value unless I misunderstood > something. =20 I did some more testing and it turns out that I was not using the via IDE driver but some generic code. I had the IDE driver as a module and it was loaded but it did only drive the two unused ports the generic driver had control over the DVD drive. I removed CONFIG_IDE_GENERIC and compiled the via driver into the kernel and everything work OK now.=20 I wonder why the generic code blocks interrupts but now I'm not that interested in this problem anymore :)=20 --=-JfgFrPNUM+73cSr9nO9h Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBXzL0mDGOmJIy9x8RAjdaAJ97iGctO+ZabZNz7Xl3gOrTA4cfGgCeNxNy MzMU69juOgBgzVpWJuqIac4= =1zYf -----END PGP SIGNATURE----- --=-JfgFrPNUM+73cSr9nO9h-- - 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/