lkml.org 
[lkml]   [2007]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Question about fair schedulers
On Sat, 23 Jun 2007 15:56:36 +0200
Alberto Gonzalez <info@gnebu.es> wrote:

> > And yes, programs/distributions should set good defaults for you... and
> > if they don't, just complain to them :)
>
> I'm sure they'll do once a fair scheduler goes into mainline :)

Some already does... for example the current version of:
http://www.exit1.org/dvdrip/

it sets transcode nice to "+19" by default :)

>
> I guess what I was missing from the beginning is that "fair" means that the
> scheduler will be fair among tasks that have the same priority, but if a task
> has a higher priority, it _will_ get more CPU. So we'll just have to mark
> applications like video players, audio players or games with a high priority,
> others like encoders or compilers with low priority, and leave the rest
> (browsers, word processors, email readers, etc...) as normal priority. This
> way a fair scheduler would be able to give each task right amount of CPU.

Yes. I think that the more important thing is to nice background tasks
(like encoders etc..), then games / video players can run without
problems even without renicing (usually normal programs don't eat much
CPU).

--
Paolo Ornati
Linux 2.6.22-rc5-g0864a4e2 on x86_64
-
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: 2007-06-23 16:33    [W:0.063 / U:1.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site