lkml.org 
[lkml]   [2008]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC][PATCH] Multimedia scheduling class
    From
    Date
    On Mon, 2008-12-29 at 20:40 +0200, Jussi Laako wrote:
    > Hi,
    >
    > I have created an experimental multimedia scheduling class (SCHED_MM)
    > for use with multithreaded non-hardcore-realtime multimedia
    > applications, such as ones based on gstreamer. These typically don't
    > follow the determinism rules of well behaved SCHED_FIFO applications.
    > However, these usually handle tasks like VoIP call audio processing,
    > where somewhat lower scheduling latency is needed to obtain good user
    > experience. Usually these are not very CPU-heavy and are mostly IO-bound
    > processes. Thus, something between normal SCHED_OTHER and SCHED_FIFO is
    > needed in a way where different threads of execution can set different
    > kinds of scheduling parameters.
    >
    > I have attached an initial version of my experimental patch for comments...

    Sorry, I don't think this is a viable solution for anything.

    This is typically the domain of soft-realtime, and as such would need a
    realtime scheduling class -- using a proportional class like you did
    just doesn't make sense for these tasks.

    Eventually we'd hope to provide an sporadic task EDF based scheduler
    with hard and soft realtime capabilities, but until that time, FIFO and
    RR are the classes to use for anything realtime.

    I'm not sure why you think SCHED_FIFO isn't good enough for your
    applications, could you elaborate on that?



    \
     
     \ /
      Last update: 2008-12-30 08:45    [W:4.255 / U:0.640 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site