From: Robert Love <rml@tech9.net>
To: Ingo Oeser <ingo.oeser@informatik.tu-chemnitz.de>
Cc: Pavel Machek <pavel@ucw.cz>,
Helge Hafting <helgehaf@aitel.hist.no>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scheduler hints
Date: 12 Jun 2002 12:39:40 -0700 [thread overview]
Message-ID: <1023910780.1476.34.camel@sinai> (raw)
In-Reply-To: <20020612203703.F22429@nightmaster.csn.tu-chemnitz.de>
On Wed, 2002-06-12 at 11:37, Ingo Oeser wrote:
> Good idea!
>
> And I would say SID instead of UID and give up, if no task in the
> same SID is runnable.
>
> One could provide different policies here, which the user can
> choose/combine.
>
> That way we aren't at least unfair to other users on our remote
> machine.
The solution I am working on now is to just take the timeslice away
later. I.e., now it is more beneficial to me than later, so give me
some of my future timeslice now. This is per-process.
It is enforced right now only by a call to sched_hint() with a hint
saying "I am done". The timeslice used is calculated and your timeslice
is adjusted and if applicable you are removed from the active runqueue.
Next I need to add a check to schedule() to check for processes who are
scheduling off and have not explicitly given the "I am done" hint. I am
weary of what to do here as I do not want to adversely affect the
fastpath.
That is what I am playing with now, anyhow... but I have been a bit busy
of late and not put enough cycles into it.
Robert Love
next prev parent reply other threads:[~2002-06-12 19:39 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-04 15:53 [PATCH] scheduler hints Robert Love
2002-06-04 17:38 ` Simon Trimmer
2002-06-04 18:07 ` Robert Love
2002-06-05 8:11 ` Helge Hafting
2002-06-05 10:23 ` Dave Jones
2002-06-05 16:17 ` Robert Love
2002-06-07 11:32 ` Pavel Machek
2002-06-12 18:37 ` Ingo Oeser
2002-06-12 19:39 ` Robert Love [this message]
[not found] <no.id>
2002-06-06 0:46 ` Rick Bressler
2002-06-06 0:53 ` Robert Love
2002-06-06 1:14 ` Rick Bressler
2002-06-06 1:05 ` Gerrit Huizenga
2002-06-06 1:11 ` Robert Love
2002-06-06 1:19 ` Gerrit Huizenga
2002-06-10 21:05 ` Bill Davidsen
2002-06-10 22:27 ` Gerrit Huizenga
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=1023910780.1476.34.camel@sinai \
--to=rml@tech9.net \
--cc=helgehaf@aitel.hist.no \
--cc=ingo.oeser@informatik.tu-chemnitz.de \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/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