lkml.org 
[lkml]   [1999]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: I: [OT] R: R: How does Linux work?
Marco Ermini wrote:
> > This is false. I'm not an NT fan, but its rt scheduling algorithms
> > are similar to Linux. There is a range of priorities that use an
> > adaptive scheduling algorithm for time-sharing, like linux, and
>
> Try it yourself: open the task manager and
> change the priority of a multimedia player
> to real-time on a Pentium 200. Then wait
> until the player it's over (mouse locked too).

Do you mean everything stops *even if the RT task blocks*?

Otherwise Linux has the same problem. If you set a task to have RT
priority, ordinary tasks stop running until the RT task blocks or
terminates.

I don't know if NT's multimedia player blocks or not, but I'd guess not.
A typical video game would never block so of course would lock out
ordinary tasks if it had RT priority.

RT priority is not to be used lightly. Games shouldn't use it except
for special things: maybe for the sound mixer thread. Then those
threads should take great care not to hog the CPU.

-- Jamie

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

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