From owner-freebsd-stable@FreeBSD.ORG Sat Dec 1 16:07:58 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10D1F16A417 for ; Sat, 1 Dec 2007 16:07:58 +0000 (UTC) (envelope-from hoschi@etain.frida.mouhaha.de) Received: from etain.frida.mouhaha.de (etain.frida.mouhaha.de [85.236.48.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9595013C457 for ; Sat, 1 Dec 2007 16:07:57 +0000 (UTC) (envelope-from hoschi@etain.frida.mouhaha.de) Received: from localhost (etain.frida.mouhaha.de [85.236.48.54]) by etain.frida.mouhaha.de (Postfix) with ESMTP id B45444BA7A6 for ; Sat, 1 Dec 2007 17:07:55 +0100 (CET) X-Virus-Scanned: amavisd-new at mouhaha.de Received: from etain.frida.mouhaha.de ([85.236.48.54]) by localhost (etain.frida.mouhaha.de [85.236.48.54]) (amavisd-new, port 10024) with ESMTP id 9HvDJ1XWKVlF for ; Sat, 1 Dec 2007 17:07:53 +0100 (CET) Received: by etain.frida.mouhaha.de (Postfix, from userid 1001) id 917194BA7A2; Sat, 1 Dec 2007 17:07:53 +0100 (CET) Date: Sat, 1 Dec 2007 17:07:53 +0100 From: Oliver Peter To: freebsd-stable@freebsd.org Message-ID: <20071201160753.GD2812@nemesis.frida.mouhaha.de> References: <200710171228.39123.mistry.7@osu.edu> <472ED12B.7040200@gmx.de> <200711070953.22154.mistry.7@osu.edu> <200711191254.08134.mistry.7@osu.edu> <20071201113522.GC2812@nemesis.frida.mouhaha.de> <20071201214955.4ead2b23.ariff@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="0IvGJv3f9h+YhkrH" Content-Disposition: inline In-Reply-To: <20071201214955.4ead2b23.ariff@FreeBSD.org> X-Operating-System: FreeBSD 6.2-RELEASE-p8 i386 User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: RELENG_7 jerky mouse and skipping sound (still a problem -BETA3) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Dec 2007 16:07:58 -0000 --0IvGJv3f9h+YhkrH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 01, 2007 at 09:49:55PM +0800, Ariff Abdullah wrote: > On Sat, 1 Dec 2007 12:35:23 +0100 > Oliver Peter wrote: > > On Mon, Nov 19, 2007 at 10:22:33AM -0800, Kip Macy wrote: > > > On Nov 19, 2007 9:53 AM, Anish Mistry wrote: > > > > On Wednesday 07 November 2007, Anish Mistry wrote: > > > > > On Monday 05 November 2007, [LoN]Kamikaze wrote: > > > > > > Marc Fonvieille wrote: > > > > > > > On Thu, Oct 18, 2007 at 05:53:47PM +0200, [LoN]Kamikaze > > > > > > > wrote: > > > > > > >> Anish Mistry wrote: > > > > > > >>> On Thursday 18 October 2007, Marc Fonvieille wrote: > > > > > > >>>> On Wed, Oct 17, 2007 at 12:28:30PM -0400, Anish Mistry > > > > > > >wrote: >>>> I just updated to RELENG_7 from 6.2 and I'm > > > > > > >running into >>>> some really annoying issues with jerky > > > > > > >mouse movement and >>>> skipping sound. This seems to be > > > > > > >similar to: >>>> Re: SCHED_4BSD in RELENG_7 disturbs > > > > > > >workflow >>>> This happens both with 4BSD and ULE. > > > > > > >>>>> > > > > > > >>>>> I seems to happen when I'm compiling ports and a new > > > > > > >>>>> cc/bzip2/sh process fires off (I'm just watching top), > > > > > > >I'll >>>> get the skip/freezeup. > > > > > > >>>> > > > > > > >>>> [...] > > > > > > >>>> > > > > > > >>>> Using ULE and UP kernel (i.e. without SMP etc.) helped > > > > > > >a bit >>> the things but it's still very annoying to use > > > > > > >firefox >>> during ports build. I see this lag/freeze on > > > > > > >all boxes I >>> use with 7.0, but it's true that with a > > > > > > >fast machine people >>> can ignore the problem, it's less > > > > > > >obvious than with a 1GHz >>> box for example. > > > > > > >>> > > > > > > >>> Yeah, I'm still seeing this behavior. Does anyone have > > > > > > >>> suggestions on debugging? > > > > > > >>> > > > > > > >>> Thanks, > > > > > > >> > > > > > > >> I did post the solution in this thread. > > > > > > > > > > > > > > It has nothing to do with the mouse. > > > > > > > > > > > > Does the problem persist for you? It's gone for me, even > > > > > > with moused. > > > > > > > > > > Yes, the problem seems to have been fixed. I'm back to > > > > > kern.hz=3D1000 and removed FULL_PREEMPTION. No skipping. > > > > It looks like I spoke too soon. I've just tried to compile miro > > > > and as it was compiling the boost-python dependency I noticed > > > > the problem again. Switching kern.hz=3D"100" seems to fix the > > > > problem. Can any of the developers in this area reproduce the > > > > issue? It's pretty easy to reproduce on my 1.33Ghz Athlon. > > > > > > > There is an ithread priority inversion bug that might be causing > > > this. The fix for that should be going in shortly. > >=20 > > I have a similar problem under 7.0-BETA3 with SCHED_ULE and snd_ich. > > Sound is skipping with/without load every few seconds. > >=20 > > kern.hz is at 1000 and dev.pcm.0.buffersize: 16384 > >=20 >=20 > Try setting hint.pcm.0.highlatency=3D1 through device.hints Thanks Ariff. A simple reboot fixed the problem... --=20 Oliver PETER, eMail: hoschi@mouhaha.de, ICQ# 113969174 "Worker bees can leave. Even drones can fly away. The Queen is their slave." --0IvGJv3f9h+YhkrH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iEYEARECAAYFAkdRhtkACgkQ6LH/IUVtaI8wNgCcD6oulVlN4VHmPl4aPj2/wU2J YgkAnilNkUMzpM8gHxBT3ruUNhaS8S4M =qT/D -----END PGP SIGNATURE----- --0IvGJv3f9h+YhkrH--