From owner-freebsd-current@FreeBSD.ORG Wed Jun 8 06:15:44 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 B987C16A41C for ; Wed, 8 Jun 2005 06:15:44 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: from rndsoft.co.kr (michelle.rndsoft.co.kr [211.32.202.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0179B43D49 for ; Wed, 8 Jun 2005 06:15:43 +0000 (GMT) (envelope-from yongari@rndsoft.co.kr) Received: by simscan 1.1.0 ppid: 68049, pid: 68050, t: 0.9456s scanners:none Received: from unknown (HELO michelle.rndsoft.co.kr) (192.168.5.90) by 0 with SMTP; 8 Jun 2005 06:12:35 +0900 Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j586FYa9007022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Jun 2005 15:15:34 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j586FW52007021; Wed, 8 Jun 2005 15:15:32 +0900 (KST) (envelope-from yongari@rndsoft.co.kr) Date: Wed, 8 Jun 2005 15:15:32 +0900 From: Pyun YongHyeon To: Jeff Roberson Message-ID: <20050608061532.GA5805@rndsoft.co.kr> References: <20050607210453.S16943@mail.chesapeake.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050607210453.S16943@mail.chesapeake.net> User-Agent: Mutt/1.4.2.1i X-Spam-Checker-Version: SpamDetector 1.00 (2004-01-11) on Cc: current@freebsd.org Subject: Re: Sound skipping problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yongari@rndsoft.co.kr 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 06:15:44 -0000 On Tue, Jun 07, 2005 at 11:32:12PM -0400, 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 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 > > This changes flushbufqueues to flush multiple buffers instead of one > buffer at a time. It also places buffers we failed to flush at the end of > the list, and uses a sentinal to track our progress through the list. > This almost entirely solved the skipping problem for me. Depending on > user feedback we can do a little more to reduce the time spent processing > here. > Unfortunatly, it seems that it doesn't show much difference. HW: Gateway Solo 5300(UP, P3 700MHz, maestro3 driver) As soon as I started to extract mozilla source the sound playing stopped and the system seems to be freezed. (No response from keyboard input except showing ^C.) It seems that there is no difference with/without witness. -- Regards, Pyun YongHyeon http://www.kr.freebsd.org/~yongari | yongari@freebsd.org