lkml.org 
[lkml]   [1999]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectGuaranteeing processing speed...
Hi!

Suppose you have a process that needs a certain amount of CPU power.
Think of
an MPEG player showing a movie. If you start other processes absorbing a
lot of
CPU power you may run into a problem with your MPEG player. Common
solutions
like

- killing the other processes
- use a faster computer
- playing around with process priorities

are not very satisfying. An interesting thing would be to have an
optional
parameter when fork()ing to request a certain CPU power (given in units
of
BogoMIPS or whatever). When the OS isn't able anymore to grant the
requested
amount of processing speed to the process, it could inform it by sending
a
signal. Then the process could decide upon what to do. The MPEG player,
e.g.,
could skip every second frame.

Is this out-of-realm for Linux? Is it a typical problem for an RT-OS?

Any thoughts about these problems?

Thomas.

PS: Please CC me when replying...

-
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:54    [W:0.039 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site