[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070623162837.47f31bf8@localhost>
Date: Sat, 23 Jun 2007 16:28:37 +0200
From: Paolo Ornati <ornati@...twebnet.it>
To: Alberto Gonzalez <info@...bu.es>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Question about fair schedulers
On Sat, 23 Jun 2007 15:56:36 +0200
Alberto Gonzalez <info@...bu.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists