From owner-freebsd-current@FreeBSD.ORG Thu Sep 9 06:48:04 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC95D16A4CE for ; Thu, 9 Sep 2004 06:48:04 +0000 (GMT) Received: from server1.astraldream.net (astraldream.net [69.20.5.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60E3F43D3F for ; Thu, 9 Sep 2004 06:48:04 +0000 (GMT) (envelope-from ssouhlal@FreeBSD.org) Received: from [192.168.1.12] (63-170-138-118.cst-sg.blacksburg.ntc-com.net [63.170.138.118]) (authenticated (0 bits)) by server1.astraldream.net (8.11.6/8.11.6) with ESMTP id i896lwX04825 (using TLSv1/SSLv3 with cipher RC4-SHA (128 bits) verified NO); Thu, 9 Sep 2004 02:48:03 -0400 In-Reply-To: <20040905124526.F15143@midi.ihme.net> References: <20040905124526.F15143@midi.ihme.net> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: <24D02CEA-022C-11D9-870B-000A95C4D7BC@FreeBSD.org> Content-Transfer-Encoding: quoted-printable From: Suleiman Souhlal Date: Thu, 9 Sep 2004 02:47:40 -0400 To: =?ISO-8859-1?Q?Markus_H=E4stbacka?= X-Mailer: Apple Mail (2.619) cc: freebsd-current@FreeBSD.org Subject: Re: Sound performance problems in FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 06:48:04 -0000 Hello, On Sep 5, 2004, at 5:56 AM, Markus H=E4stbacka wrote: > Hello list, I've experienced sound performance issues from the very=20 > first day I tested 5.x. The problem was that sound skipped whatever I=20= > did. Now I've reduced the problem a bit with changing my kernel config=20= > (No, any debug option isn't on or haven't ever been on when I've=20 > tested sound performance). After I recompiled the new kernel the sound=20= > didn't skip anymore, but now after 10 hour uptime and 5 hours of mp3=20= > playing the skipping is back. The skipping is like every second=20 > there's a weird noise if I listen to something, like the track would=20= > go slower for 2/10 seconds of every second, you can imagine how=20 > annoying this can be. FYI, after a few IRC discussions with Markus, we've discovered that=20= turning off the memory part of Gnome's System Monitor applet, would get=20= rid of the skips. I believe the problem is that both sysctl and the=20 sound drivers are Giant-locked, and so there is some contention. An=20 easy way to reproduce these skips is to run `while true; do sysctl=20 vm.vmtotal; done`, while playing an mp3. So, it would be nice to have giant-free sysctl and/or sound drivers..=20= :) Bye -- Suleiman Souhlal | ssouhlal@vt.edu The FreeBSD Project | ssouhlal@FreeBSD.org