From: Eric St-Laurent <ericstl34@sympatico.ca>
To: Nick Piggin <piggin@cyberone.com.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: scheduler interactivity: timeslice calculation seem wrong
Date: Tue, 19 Aug 2003 02:54:03 -0400 [thread overview]
Message-ID: <1061276043.6974.33.camel@orbiter> (raw)
In-Reply-To: <3F41B43D.6000706@cyberone.com.au>
> So, if you give low priority processes bigger timeslices than high prio
> ones, the low priority processes will be allowed to consume more CPU than
> high. Obviously not the intended result. I agree with your intended result,
Thanks for the crystal clear explanation.
that 'switched-arrays timeslice distribution' is good for fairness but
maybe it add unwanted scheduling latency to a high priority task that
sit with it's timeslice expired...
i know it's more a real-time os thing, but i always liked the concept of
pure priority scheduling with priority boost (calculated from aging) to
prevent starvation. in a multi-level feedback queue scheduler, a
processor share percentile could be assigned to each priority level.
anyway i'm sure there is some proven fair-share scheduling algos out
there that's better than this old stuff.
> I don't think you need that much grainularity. Might be a benefit though.
personally, i not a fan of the jiffies/tick concept; conversions, lost
ticks problems, drifts, sub-tick high-res-posix-timers etc. everything
should use the highest resolution timer/counter in the system (TSC, ACPI
PM counter, ...) directly. it's a major cleanup and many old PCs don't
have the newer timers.
> >- lastly, it may be usefull to better encapsulate the scheduler to ease
> >adding alternative scheduler, much like the i/o schedulers work...
Well, i was looking at TimeSys scheduler, trying something like that in
2.6 requires modifications to many files and it's a PITA to maintain a
diff with frequents kernel releases. having a structure in place to
plug-in other schedulers sure helps.
Eric St-Laurent
next prev parent reply other threads:[~2003-08-19 6:54 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-19 2:54 scheduler interactivity: timeslice calculation seem wrong Eric St-Laurent
2003-08-19 3:06 ` Nick Piggin
2003-08-19 4:07 ` Eric St-Laurent
2003-08-19 5:23 ` Nick Piggin
2003-08-19 6:54 ` Eric St-Laurent [this message]
2003-08-19 19:18 ` bill davidsen
2003-08-19 23:48 ` Eric St-Laurent
2003-08-19 23:54 ` Eric St-Laurent
2003-08-19 19:01 ` bill davidsen
2003-08-20 0:15 ` Eric St-Laurent
2003-08-20 0:32 ` David Lang
2003-08-20 0:48 ` William Lee Irwin III
2003-08-20 4:11 ` Bill Davidsen
2003-08-20 4:36 ` William Lee Irwin III
2003-08-20 13:59 ` Andrew Theurer
2003-08-20 16:18 ` Bill Davidsen
2003-08-20 2:52 ` Nick Piggin
2003-08-19 19:02 ` Mike Fedyk
2003-08-19 17:51 ` Mike Fedyk
2003-08-20 2:41 ` Nick Piggin
2003-08-20 18:45 ` Mike Fedyk
2003-08-19 4:13 ` Con Kolivas
2003-08-19 4:23 ` Eric St-Laurent
2003-08-19 4:29 ` Con Kolivas
2003-08-19 5:06 ` Eric St-Laurent
2003-08-19 6:18 ` William Lee Irwin III
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1061276043.6974.33.camel@orbiter \
--to=ericstl34@sympatico.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=piggin@cyberone.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox