Date: Wed, 8 Jun 2005 02:49:38 -0400 (EDT) From: Jeff Roberson <jroberson@chesapeake.net> To: Pyun YongHyeon <yongari@rndsoft.co.kr> Cc: current@freebsd.org Subject: Re: Sound skipping problems Message-ID: <20050608024854.K16943@mail.chesapeake.net> In-Reply-To: <20050608061532.GA5805@rndsoft.co.kr> References: <20050607210453.S16943@mail.chesapeake.net> <20050608061532.GA5805@rndsoft.co.kr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 8 Jun 2005, Pyun YongHyeon wrote: > 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) Well, it helps out on my machine. I need to investigate a little further. At the moment, this seems to have problems after a while under load. I'll put this in my queue of things to look at though. Thanks, Jeff > > 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 > _______________________________________________ > 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050608024854.K16943>