From owner-freebsd-current@FreeBSD.ORG Tue Mar 23 17:14:02 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 9773916A4CE; Tue, 23 Mar 2004 17:14:02 -0800 (PST) Received: from ms-smtp-03-eri0.southeast.rr.com (ms-smtp-03-lbl.southeast.rr.com [24.25.9.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CEBB43D4C; Tue, 23 Mar 2004 17:14:02 -0800 (PST) (envelope-from jason@ec.rr.com) Received: from ec.rr.com (cpe-024-211-231-149.ec.rr.com [24.211.231.149]) i2O1DUs1028001; Tue, 23 Mar 2004 20:13:30 -0500 (EST) Message-ID: <4060E12D.7070402@ec.rr.com> Date: Tue, 23 Mar 2004 20:15:25 -0500 From: jason User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040210 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eirik Oeverby 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> <40601BDF.8040708@anduin.net> In-Reply-To: <40601BDF.8040708@anduin.net> Content-Type: text/plain; charset=ISO-8859-4; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: Eirik Oeverby cc: pav@freebsd.org cc: =?ISO-8859-4?Q?S=F8re?= =?ISO-8859-4?Q?n_Schmidt?= cc: freebsd-current@freebsd.org 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: Wed, 24 Mar 2004 01:14:02 -0000 Eirik Oeverby wrote: > 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). >> > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to > "freebsd-current-unsubscribe@freebsd.org" > I have had this problem before myself. It would happen to me under load, but not that often. Usaully I'd be cvsuping, streaming or playing music, and I do a lot of compiling because I like to keep things up to date. I think I may have first noticied it on current before 5.2.1 with the switch to sched_ule. I have since added the patch to ule that had been cirrculating on the current mailing list before it was commited. It may have speed some things up, but I have yet to notice any skipping or sound problems in xmms. I will but some load on the system while streaming, but a week or less without problems is too soon to tell. At least I think it might be. Jason