Re: Sound skipping problems

From: Jeff Roberson (jroberson_at_chesapeake.net)
Date: 06/08/05

  • Next message: Jeff Roberson: "Re: suspend/resume on T41p broken (again)"
    Date: Wed, 8 Jun 2005 09:57:46 -0400 (EDT)
    To: Pyun YongHyeon <yongari@rndsoft.co.kr>
    
    

    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)
    >
    > 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.

    I added an extra yield to the buf daemon. Try the new patch and see if it
    makes a difference.

    > --
    > 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"


  • Next message: Jeff Roberson: "Re: suspend/resume on T41p broken (again)"

    Relevant Pages

    • Re: Sound skipping problems
      ... > I have a patch that should greatly improve the sound skipping problems ... The patch is available at: ... > This changes flushbufqueues to flush multiple buffers instead of one ...
      (freebsd-current)
    • Re: Sound skipping problems
      ... On Wed, 8 Jun 2005, Pyun YongHyeon wrote: ... >> I have a patch that should greatly improve the sound skipping problems ... >> This changes flushbufqueues to flush multiple buffers instead of one ...
      (freebsd-current)
    • Re: Problems with em interfaces on FreeBSD 6.1
      ... I'd like to know whether my patch help or not. ... remove giant locks in every places on FreeBSD. ... On Thu, 17 Aug 2006, Pyun YongHyeon wrote: ... Intel PRO/1000 MT Dual Port Server Adapter ...
      (freebsd-net)
    • Sound skipping problems
      ... I have a patch that should greatly improve the sound skipping problems ... This changes flushbufqueues to flush multiple buffers instead of one ... user feedback we can do a little more to reduce the time spent processing ...
      (freebsd-current)
    • Re: kern/125024: vr(4) does not see incoming multicast packets in non-promiscuous mode (broadcas
      ... Pyun YongHyeon wrote: ... multicasting filter. ... Back out previous patch and try again. ... I was accessing CAM mask register as 8bit register which ...
      (freebsd-net)