From owner-freebsd-current@FreeBSD.ORG Wed Jun 8 14:47:31 2005 Return-Path: X-Original-To: current@freebsd.org 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 3477516A41F; Wed, 8 Jun 2005 14:47:31 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from 212.68.244.102.brutele.be (212.68.244.102.brutele.be [212.68.244.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 579F143D49; Wed, 8 Jun 2005 14:47:30 +0000 (GMT) (envelope-from jylefort@FreeBSD.org) Received: from jsite.lefort.net (jsite.lefort.net [192.168.1.2]) by gateway.lefort.net (Postfix) with ESMTP id 5727A54D2; Wed, 8 Jun 2005 16:47:28 +0200 (CEST) Received: from jsite.lefort.net (localhost [127.0.0.1]) by jsite.lefort.net (Postfix) with SMTP id 02D55C0DB; Wed, 8 Jun 2005 16:47:27 +0200 (CEST) Date: Wed, 8 Jun 2005 16:47:27 +0200 From: Jean-Yves Lefort To: Jeff Roberson Message-Id: <20050608164727.6a5b76f9.jylefort@FreeBSD.org> In-Reply-To: <20050608095624.J16943@mail.chesapeake.net> References: <20050607210453.S16943@mail.chesapeake.net> <20050608104844.GA24060@zi025.glhnet.mhn.de> <20050608131659.2f05a1d9.jylefort@FreeBSD.org> <20050608095624.J16943@mail.chesapeake.net> X-Mailer: Sylpheed running on FreeBSD Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Wed__8_Jun_2005_16_47_27_+0200_Dc/YwKe/OiGPvVVY" Cc: barner@freebsd.org, current@freebsd.org Subject: Re: Sound skipping problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 08 Jun 2005 14:47:31 -0000 --Signature=_Wed__8_Jun_2005_16_47_27_+0200_Dc/YwKe/OiGPvVVY Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 8 Jun 2005 09:57:15 -0400 (EDT) Jeff Roberson wrote: > On Wed, 8 Jun 2005, Jean-Yves Lefort wrote: >=20 > > On Wed, 8 Jun 2005 12:48:44 +0200 > > Simon Barner wrote: > > > > > Jeff Roberson wrote: > > > > I have a patch that should greatly improve the sound skipping probl= ems > > > > people have under heavy io load. Several people sent me traces that > > > > showed the buf daemon running for hundreds of milliseconds with Gia= nt > > > > held, which can hold up the pcm code. The patch is available at: > > > > > > > > http://www.chesapeake.net/~jroberson/flushbuf.diff > > > > > > [...] > > > > > > Can I use the patch on 5.4-STABLE? It applies cleanly (with offset, > > > though), but I prefer to ask before doing useless tests. > > > > I've just tested it on 5.4-RELEASE, and it causes the system to hang > > after a few seconds of heavy disk I/O. >=20 > I have updated the patch to partially revert some earlier behavior. The > hang didn't happen on my machine because I have more memory, but I'm > confident of the cause. I updated it in place, feel free to try it on > current or 5.x. This one works, and completely removes the sound jitter that used to appear under heavy disk I/O (eg. untarring a 50 megs tarball). Congratulations! PS: if no problems show up, do you intend to MFC this patch? --=20 Jean-Yves Lefort jylefort@FreeBSD.org http://lefort.be.eu.org/ --Signature=_Wed__8_Jun_2005_16_47_27_+0200_Dc/YwKe/OiGPvVVY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCpwT/yzD7UaO4AGoRAj33AJ4uvtEG28aO95/QTCUzl1PxYWwnRQCfQnVQ Kz1Z9j8L8UnumtggdL08Y7I= =nWfh -----END PGP SIGNATURE----- --Signature=_Wed__8_Jun_2005_16_47_27_+0200_Dc/YwKe/OiGPvVVY--