From owner-freebsd-questions@FreeBSD.ORG Sun May 28 05:08:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3220D16AC3C for ; Sun, 28 May 2006 05:02:37 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id B00C643D46 for ; Sun, 28 May 2006 05:02:36 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 8D4E01A4D93 for ; Sat, 27 May 2006 22:02:36 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E9425514C3; Sun, 28 May 2006 01:02:35 -0400 (EDT) Date: Sun, 28 May 2006 01:02:35 -0400 From: Kris Kennaway To: freebsd-questions@freebsd.org Message-ID: <20060528050235.GA19706@xor.obsecurity.org> References: <20060527011413.738aecd3@freeBSD> <20060528001836.GA42222@ibm.maison> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: <20060528001836.GA42222@ibm.maison> User-Agent: Mutt/1.4.2.1i Subject: Re: Strange pauses and cpu usage - FreeBSD 6.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 May 2006 05:08:49 -0000 --PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 28, 2006 at 02:18:36AM +0200, Xavier Chantry wrote: > On Sat, May 27, 2006 at 01:14:13AM +0100, Shawn wrote: > > I'm having a strange problem with cpu usage with my Athlon XP. Every so > > often there seems to be a pause where the system comes under heavy > > load for no apparent reason. If xmms was playing then I get a buzz sound > > and the mouse pointer stops just for a split second, the same with > > mplayer and vlc. Using Opera or firefox also seems to have a strange > > effect where the mouse pointer freezes while pages load, and if there > > is an animated gif on the page the cpu usage goes to 100%. > >=20 > > The jabber client Gajim also makes the cpu get stuck at 100%. When I > > used gnome, nautilus did the same thing until i stopped and started the > > process in the system monitor. I have searched around and found this > > tip from the handbook but it had no effect. > >=20 > > hint.apic.0.disabled=3D"1" in /boot/loader.conf > >=20 > > This happens with the generic kernel and the one i compiled for myself. > > It also lasts for a random amount of time, sometimes it is barely > > noticeable and sometimes it happens for over a second. Running > > neverwinter nights makes the system pause for 10-20 seconds seemingly > > randomly. > >=20 >=20 > My system behaves much better than that, I've no mouse freeze and no > system pauses, but I did have occasonial sound skips using 4bsd on 6.1. > Switching to the ULE scheduler seems to fix this problem, but other > things may behave worse. > One year ago, it was actually the opposite, sound in ULE was really > jerky, and mouse pointer too while eg launching an app. > Did you already try both schedulers ? Check for interrupt sharing with vmstat -i. Shared interrupts cause performance loss especially if it's sharing with a giant-locked driver like USB. Kris --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEeS7rWry0BWjoQKURAnhaAKDM5blYiuWvPgKdDOM19AUeEez3jACg1Bbx +HB6cjzZdAH5npYOa05OS5U= =0z4W -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--