lkml.org 
[lkml]   [2003]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] SCHED_SOFTRR linux scheduler policy ...
    Davide Libenzi wrote:
    > > Cool. What happens if you run two SCHED_SOFTRR tasks and they both
    > > use 50% of the CPU - will that starve all the other tasks? Or is the
    > > CPU usage of all SOFTRR tasks bounded collectively?
    >
    > Nope :) They will run their timeslice entirely and then they will try to
    > get some more. Looking at their last recharge timestamp, Dad scheduler
    > will put them in bed and will give other tasks a chance to run.

    Nice, but answer to wrong question, possibly :)

    I'm wondering what happens if the tasks are both good, early to bed
    without a fuss. Neither runs their entire timeslice.

    Or to illustrate: say xine uses 10% of my CPU. What happens when I
    open 11 xine windows?

    -- Jamie
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:46    [W:2.506 / U:0.164 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site