From owner-freebsd-stable@FreeBSD.ORG Sun Nov 6 13:04:54 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE1C816A41F for ; Sun, 6 Nov 2005 13:04:54 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from tomoyo.MyBSD.org.my (tomoyo.mybsd.org.my [202.157.186.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 368C843D45 for ; Sun, 6 Nov 2005 13:04:53 +0000 (GMT) (envelope-from skywizard@MyBSD.org.my) Received: from localhost (localhost [127.0.0.1]) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id 8F6116CC23; Sun, 6 Nov 2005 21:06:58 +0800 (MYT) Received: from tomoyo.MyBSD.org.my ([127.0.0.1]) by localhost (TOMOYO.MYBSD.ORG.MY [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 60311-05; Sun, 6 Nov 2005 21:06:56 +0800 (MYT) Received: from kasumi.MyBSD.org.my (kasumi.MyBSD.org.my [IPv6:2001:328:2002:aa2::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tomoyo.MyBSD.org.my (Postfix) with ESMTP id BBB736CC22; Sun, 6 Nov 2005 21:06:55 +0800 (MYT) Date: Sun, 6 Nov 2005 21:04:47 +0800 From: Ariff Abdullah To: Sebastiaan van Erk Message-Id: <20051106210447.2145e551.skywizard@MyBSD.org.my> In-Reply-To: <436DEB56.4050505@sebster.com> References: <436DEB56.4050505@sebster.com> Organization: MyBSD X-Mailer: /usr/local/lib/ruby/1.8/net/smtp.rb Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by Amavisd AntiVirus & AntiSpam Scanner running on FreeBSD mailserver at TOMOYO.MYBSD.ORG.MY Cc: freebsd-stable@freebsd.org Subject: Re: Sound skipping problems 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: Sun, 06 Nov 2005 13:04:55 -0000 On Sun, 06 Nov 2005 12:39:02 +0100 Sebastiaan van Erk wrote: > Hi, > > I have major sound skipping problems on FreeBSD 6.0. I checked the > mailing list archives and found a related thread: > > http://lists.freebsd.org/pipermail/freebsd-current/2005-June/051103.html > > To quote Jeff Roberson: > > > I have a patch that should greatly improve the sound skipping > > problems people have under heavy io load. Several people sent me > > traces that showed the buf daemon running for hundreds of > > milliseconds with Giant held, which can hold up the pcm code. > > The patch is available at: > > > > http://www.chesapeake.net/~jroberson/flushbuf.diff > > The problems are definately correlated to io load, however I can't > say that I have HEAVY io loads. A simple: # sync;sync;sync; will > already cause the sound to skip. > > I have DMA enabled on all drives, and it seems the above patch is > already merged into FreeBSD 6.0-STABLE. This leaves me at a loss, > and I don't know what else to try... > > Does anybody have any ideas of what I could do to solve this > problem? > > Recompile your kernel with "options PREEMPTION", and apply this patch: http://people.freebsd.org/~ariff/snd_RELENG_6_0_20051030_058.diff -- Ariff Abdullah MyBSD http://www.MyBSD.org.my (IPv6/IPv4) http://staff.MyBSD.org.my (IPv6/IPv4) http://tomoyo.MyBSD.org.my (IPv6/IPv4)