Re: [PATCH] mm: yield during swap prefetching

Lee Revell
2006-03-09T04:54:55Z

On Thu, 2006-03-09 at 15:08 +1100, Con Kolivas wrote:
> > Games do have real-time requirements.
> > The OS guessing about real-time priorities will sometimes get it wrong.
> > Guessing task priority is worse than being told and knowing for sure.
> > Games should, in an ideal world, be using real-time OS scheduling.
> > Games would work better using real-time OS scheduling.
>
> At the risk of being repetitive to the point of tiresome, my point is that
> there are no real time requirements in games. You're assuming that
> everything will be better if we assume that there are rt requirements and
> that we're simulating pseudo real time conditions currently. That's just not
> the case and never has been. That's why it has worked fine for so long.

I think you are talking past each other, and are both right - Con is
saying games don't need realtime scheduling (SCHED_FIFO, low nice value,
whatever) to function correctly (true), while Zan is saying that games
have RT constraints in that they must react as fast as possible to user
input (also true).

Anyway, this is getting OT, I wish I had not raised this issue in this
thread.

Lee