Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt

kernel_at_kolivas.org
Date: 07/15/05

  • Next message: Joel Becker: "Re: 2.6.13-rc3-mm1"
    Date:	Sat, 16 Jul 2005 00:51:55 +1000
    To: Lee Revell <rlrevell@joe-job.com>
    
    

    Quoting Lee Revell <rlrevell@joe-job.com>:

    > On Thu, 2005-07-14 at 22:54 -0600, Zwane Mwaikambo wrote:
    > > On Fri, 15 Jul 2005, Lee Revell wrote:
    > >
    > > > On Fri, 2005-07-15 at 14:08 +1000, Con Kolivas wrote:
    > > > > Audio did show slightly larger max latencies but nothing that would be
    > of
    > > > > significance.
    > > > >
    > > > > On video, maximum latencies are only slightly larger at HZ 250, all the
    >
    > > > > desired cpu was achieved, but the average latency and number of missed
    >
    > > > > deadlines was significantly higher.
    > > >
    > > > Because audio timing is driven by the soundcard interrupt while video,
    > > > like MIDI, relies heavily on timers.
    > >
    > > In interbench it's not driven by a soundcard interrupt.
    > >
    > >
    >
    > OK. Con, any idea why video is so much more affected than audio?

    In the emulation, video vs audio is 40% cpu vs 5% cpu, 16.7ms frames instead of
    50ms frames. When your cpu requirements are higher and your frames are shorter
    the likelihood of dropping a frame, especially under load, will skyrocket as
    your timing granularity decreases. Clearly 250HZ is not as good as 1000HZ for
    this, and I assume your midi example.

    Cheers,
    Con

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Joel Becker: "Re: 2.6.13-rc3-mm1"

    Relevant Pages

    • Re: How to bypass ASF writer compression
      ... problem is that i am not able to see all frames clear while playing the file. ... I am sending Compressed data both for Audio and Video to ASF Writer. ... "Alessandro Angeli" wrote: ...
      (microsoft.public.windowsmedia.sdk)
    • Re: resyncing audio
      ... Do I unlink the sound track and cut or add video ... > |> move the sound track by a few frames? ... > | closing with a bang, unlink the audio and then move that by the ...
      (uk.rec.video.digital)
    • Re: [RFC][PATCH] Multimedia scheduling class
      ... Media players have time stamps on the displayed frames. ... sync video to audio. ...
      (Linux-Kernel)
    • Re: [RFC][PATCH] Multimedia scheduling class
      ... Media players have time stamps on the displayed frames. ... sync video to audio. ...
      (Linux-Kernel)
    • Audio/video synchronization
      ... Im working on writing an application that can send out video and audio ... to a Black magic output card. ... We have a stack of frames and a stack of frames and a stack of audio ...
      (microsoft.public.win32.programmer.directx.video)