From owner-freebsd-current@FreeBSD.ORG Wed Jun 8 19:04:41 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 B089016A44B; Wed, 8 Jun 2005 19:04:41 +0000 (GMT) (envelope-from anthony.ginepro@laposte.net) Received: from renaissance.homeip.net (m14.net81-67-132.noos.fr [81.67.132.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B73243D58; Wed, 8 Jun 2005 19:04:40 +0000 (GMT) (envelope-from anthony.ginepro@laposte.net) Received: from renaissance.homeip.net (localhost [127.0.0.1]) by renaissance.homeip.net (Postfix) with ESMTP id 5F72B204E; Wed, 8 Jun 2005 21:04:36 +0200 (CEST) Received: (from rapiere@localhost) by renaissance.homeip.net (8.13.4/8.13.1/Submit) id j58J4HS4006248; Wed, 8 Jun 2005 21:04:17 +0200 (CEST) (envelope-from anthony.ginepro@laposte.net) X-Authentication-Warning: renaissance.homeip.net: rapiere set sender to anthony.ginepro@laposte.net using -f From: Anthony Ginepro To: Jeff Roberson In-Reply-To: <20050608112358.O16943@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> <20050608164727.6a5b76f9.jylefort@FreeBSD.org> <20050608110007.V16943@mail.chesapeake.net> <20050608112358.O16943@mail.chesapeake.net> Content-Type: text/plain; charset=iso8859-15 Content-Transfer-Encoding: quoted-printable Date: Wed, 08 Jun 2005 21:04:13 +0200 Message-Id: <1118257453.1112.1.camel@renaissance.homeip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 FreeBSD GNOME Team Port Cc: Jean-Yves Lefort , lehmann@ans-netz.de, current@freebsd.org, barner@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 19:04:41 -0000 Le Mercredi 08 juin 2005 =E0 11:24 -0400, Jeff Roberson a =E9crit : > On Wed, 8 Jun 2005, Jeff Roberson wrote: >=20 > > On Wed, 8 Jun 2005, Jean-Yves Lefort wrote: > > > > > On Wed, 8 Jun 2005 09:57:15 -0400 (EDT) > > > Jeff Roberson wrote: > > > > > > > On Wed, 8 Jun 2005, Jean-Yves Lefort wrote: > > > > > > > > > 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= problems > > > > > > > people have under heavy io load. Several people sent me trac= es that > > > > > > > showed the buf daemon running for hundreds of milliseconds wi= th Giant > > > > > > > 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 off= set, > > > > > > 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 h= ang > > > > > after a few seconds of heavy disk I/O. > > > > > > > > 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! > > > > Thanks. I'd like to get some more experience with it under extreme loa= d > > conditions, but I do eventually plan to MFC. >=20 > I made one more slight change to the patch which should reduce the number > of times we needlessly scan the list. Can you make sure it does not caus= e > any problems for you? Your latest patch works wonderfully better with both unzipping jdk15 and untarring firefox. Thanks a lot Jeff ! > > > > > > > > PS: if no problems show up, do you intend to MFC this patch? > > > > > > -- > > > Jean-Yves Lefort