From owner-freebsd-current@FreeBSD.ORG Tue Mar 23 03:11:34 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 B95BA16A4CE for ; Tue, 23 Mar 2004 03:11:34 -0800 (PST) Received: from uni-pfi-dns-01.unicore.no (punctilious.unicore.no [213.225.74.100]) by mx1.FreeBSD.org (Postfix) with SMTP id E6E7243D54 for ; Tue, 23 Mar 2004 03:11:33 -0800 (PST) (envelope-from ltning@anduin.net) Received: (qmail 98286 invoked by uid 1004); 23 Mar 2004 11:00:40 -0000 Received: from ltning@anduin.net by UNI-PFI-DNS-01 by uid 82 with qmail-scanner-1.20 (clamuko: 0.65. spamassassin: 2.61. Clear:RC:1(10.0.16.10):. Processed in 0.009574 secs); 23 Mar 2004 11:00:40 -0000 Received: from haugsnes.no (HELO anduin.net) (10.0.16.10) by dns1.haugsnes.no with SMTP; 23 Mar 2004 11:00:40 -0000 Message-ID: <40601BDF.8040708@anduin.net> Date: Tue, 23 Mar 2004 12:13:35 +0100 From: Eirik Oeverby User-Agent: Mozilla Thunderbird 0.5 (X11/20040308) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pav@FreeBSD.org References: <20040309070524.40ad96f5.ryan@slipgate.org> <20040312232251.48c0c57d.ryan@slipgate.org> <405FED9B.3050106@anduin.net> <405FF4B9.30905@DeepCore.dk> <1080034989.10553.12.camel@pav.hide.vol.cz> In-Reply-To: <1080034989.10553.12.camel@pav.hide.vol.cz> Content-Type: text/plain; charset=ISO-8859-4; format=flowed Content-Transfer-Encoding: 8bit cc: freebsd-current@FreeBSD.org cc: =?ISO-8859-4?Q?S=F8ren_Schmidt?= cc: Eirik Oeverby Subject: Re: sound issues in -CURRENT 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: Tue, 23 Mar 2004 11:11:34 -0000 Hoi, I have all debugging and witness stuff disabled, though I am using SCHED_ULE. Apart from that, the problem seems to be somewhat less evident when playing from the network (no playback-related disk i/o), but it only reduces the problem - it does not eliminate it. As I have stated earlier, the problem gets worse over time. After a clean reboot (even though all the apps I use are started and running), the problem shows up once every few minutes. Now, after a couple of days uptime, it happens a few times per minute - enough to annoy me ever so slightly when trying to tap the rhytm with my foot ;) My HDD is running in ATA-100 mode (no PIO) and is reasonably fast. FreeBSD 4.9 works perfectly on the same machine, with all the same software. /Eirik Pav Lucistnik wrote: > V út, 23. 03. 2004 v 09:26, Sřren Schmidt píše: > > >>>Heavy disk I/O seems to be a trigger for the problem. I always hear the >>>screwups, but i.e. when building mozilla or openoffice (during the >>>extract phase with heavy I/O), sound almost slows down to a complete >>>stop, stutters and hicks and cracks all the time - to a point where the >>>music is almost impossible to even identify anymore. > > >>I think you are suffering from the high interrupt latency in -current, >>this combined with a soundcard with a small buffer would easily lead to >>your problems. A slow disk or PIO mode could also be troublesome in some >>cases. You do have witness etc turned off right ? > > > I hear this too, on both my cards (Soundblaster 128 and onboard AC97 > codec). I have all possible debugging turned off. Heavy disc activity > like untarring triggers the symptoms, which sounds like buffer underruns > on the soundcard. Almost sounds like a new ATA stack is really effective > (leaving little CPU cycles for feeding data to soundcard). >