Re: CFS review

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arjan van de Ven
Date: Tuesday, August 28, 2007 - 9:44 am

On Tue, 28 Aug 2007 09:34:03 -0700 (PDT)
Linus Torvalds <torvalds@linux-foundation.org> wrote:


one thing that happens if you remove __update_curr is the following
pattern (since no apps will get preempted involuntarily)

app 1 submits a full frame worth of 3D stuff to X 
app 1 then sleeps/waits for that to complete
X gets to run, has 1 full frame to render, does this
X now waits for more input
app 2 now gets to run and submits a full frame
app 2 then sleeps again
X gets to run again to process and complete
X goes to sleep
app 3 gets to run and submits a full frame
app 3 then sleeps
X runs
X sleeps
app 1 gets to submit a frame

etc etc

so without preemption happening, you can get "perfect" behavior, just
because everything is perfectly doing 1 thing at a time cooperatively.
once you start doing timeslices and enforcing limits on them, this
"perfect pattern" will break down (remember this is all software
rendering in the problem being described), and whatever you get won't
be as perfect as this.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: CFS review, Al Boldi, (Sat Aug 11, 3:44 am)
Re: CFS review, Ingo Molnar, (Sat Aug 11, 9:17 pm)
Re: CFS review, Al Boldi, (Sun Aug 12, 8:27 am)
Re: CFS review, Ingo Molnar, (Sun Aug 12, 8:52 am)
Re: CFS review, Al Boldi, (Sun Aug 12, 12:43 pm)
Re: CFS review, Ingo Molnar, (Tue Aug 21, 3:58 am)
Re: CFS review, Al Boldi, (Tue Aug 21, 3:27 pm)
Re: CFS review, Ingo Molnar, (Fri Aug 24, 6:45 am)
Re: CFS review, Al Boldi, (Sat Aug 25, 3:27 pm)
Re: CFS review, Ingo Molnar, (Sat Aug 25, 4:15 pm)
Re: CFS review, Al Boldi, (Sun Aug 26, 9:27 am)
Re: CFS review, Ingo Molnar, (Sun Aug 26, 9:39 am)
Re: CFS review, Al Boldi, (Sun Aug 26, 9:06 pm)
Re: CFS review, Ingo Molnar, (Mon Aug 27, 3:53 am)
Re: CFS review, Al Boldi, (Mon Aug 27, 7:46 am)
Re: CFS review, Ingo Molnar, (Mon Aug 27, 1:41 pm)
Re: CFS review, Al Boldi, (Mon Aug 27, 9:37 pm)
Re: CFS review, Linus Torvalds, (Mon Aug 27, 10:05 pm)
Re: CFS review, Al Boldi, (Mon Aug 27, 10:23 pm)
Re: CFS review, Mike Galbraith, (Tue Aug 28, 12:28 am)
Re: CFS review, Ingo Molnar, (Tue Aug 28, 12:36 am)
Re: CFS review, Xavier Bestel, (Tue Aug 28, 12:43 am)
Re: CFS review, Ingo Molnar, (Tue Aug 28, 1:02 am)
Re: CFS review, Linus Torvalds, (Tue Aug 28, 9:34 am)
Re: CFS review, Arjan van de Ven, (Tue Aug 28, 9:44 am)
Re: CFS review, Ingo Molnar, (Tue Aug 28, 9:45 am)
Re: CFS review, Willy Tarreau, (Tue Aug 28, 12:19 pm)
Re: CFS review, Ingo Molnar, (Tue Aug 28, 12:55 pm)
Re: CFS review, Valdis.Kletnieks, (Tue Aug 28, 1:46 pm)
Re: CFS review, Bill Davidsen, (Tue Aug 28, 8:37 pm)
Re: CFS review, Bill Davidsen, (Tue Aug 28, 8:42 pm)
Re: CFS review, Ingo Molnar, (Tue Aug 28, 8:45 pm)
Re: CFS review, Ingo Molnar, (Tue Aug 28, 9:18 pm)
Re: CFS review, Al Boldi, (Tue Aug 28, 9:19 pm)
Re: CFS review, Keith Packard, (Tue Aug 28, 9:29 pm)
Re: CFS review, Mike Galbraith, (Tue Aug 28, 9:40 pm)
Re: CFS review, Ingo Molnar, (Tue Aug 28, 9:46 pm)
Re: CFS review, Ingo Molnar, (Tue Aug 28, 9:53 pm)
Re: CFS review, Al Boldi, (Tue Aug 28, 10:58 pm)
Re: CFS review, Ingo Molnar, (Tue Aug 28, 11:43 pm)
Re: CFS review, Keith Packard, (Wed Aug 29, 12:57 am)
Re: CFS review, Ingo Molnar, (Wed Aug 29, 1:04 am)
Re: CFS review, Al Boldi, (Wed Aug 29, 1:53 am)
Re: CFS review, Bill Davidsen, (Wed Aug 29, 6:11 am)
Re: CFS review, Keith Packard, (Wed Aug 29, 8:57 am)
Re: CFS review, Rene Herman, (Wed Aug 29, 12:56 pm)
Re: CFS review, Rene Herman, (Thu Aug 30, 12:05 am)
Re: CFS review, Ingo Molnar, (Thu Aug 30, 12:20 am)
Re: CFS review, Chuck Ebbert, (Thu Aug 30, 9:06 am)
Re: CFS review, Rene Herman, (Thu Aug 30, 9:48 am)
Re: CFS review, Tilman Sauerbeck, (Thu Aug 30, 11:46 pm)
DRM and/or X trouble (was Re: CFS review), Rene Herman, (Fri Aug 31, 3:44 am)
Re: DRM and/or X trouble, Satyam Sharma, (Fri Aug 31, 7:55 am)