From: Con Kolivas <kernel@kolivas.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: linux kernel mailing list <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] optional non-interactive mode for cpu scheduler
Date: Wed, 03 Nov 2004 00:40:23 +1100 [thread overview]
Message-ID: <41878E47.5090805@kolivas.org> (raw)
In-Reply-To: <20041102131105.GA17535@elte.hu>
[-- Attachment #1: Type: text/plain, Size: 1717 bytes --]
Ingo Molnar wrote:
> * Con Kolivas <kernel@kolivas.org> wrote:
>
>
>>However the non-interactive mode addresses a number of different needs
>>that seem to have come up. Specifically:
>>I have had users report great success with such a mode on my own
>>scheduler in multiple X session setups where very choppy behaviour
>>occurs in mainline.
>
>
> since SCHED_CPUBOUND would be inherited across fork(), it should be
> rather easy to start an X session with all tasks as SCHED_CPUBOUND.
>
> but i think the above rather points in the direction of some genuine
> weakness in the interactivity code (i know, for which the fix is
> staircase ;) which would be nice to debug.
Heh I wasnt implying we should move to staircase to fix our problems
(then I'd have nothing special for -ck would I?). I was simply trying to
reproduce that behaviour with a similar mode. As for the choppiness, the
reports were that it would go away if X was run nice+19 which implies no
dynamic priority adjustment was the answer.
>>Many high performance computing people do not wish interactivity code
>>modifying their choice of latency/distribution - admittedly this is a
>>soft one.
>
>
> well, SCHED_CPUBOUND would solve their needs too, right?
Assuming they wanted to run everything SCHED_CPUBOUND, yes.
Your solution has quite some merit to it :)
I'll look into coding it later this week (thanks for suggesting I do it
btw). This ordeal has left me seriously sleep deprived :P
Since we're considering providing a special cpu policy for high latency
high cpu usage, does that mean we can now talk about other policies like
batch, isochronous etc? And in the medium to long term future, gang and
group?
Regards,
Con
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
next prev parent reply other threads:[~2004-11-02 14:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-02 5:31 [PATCH] optional non-interactive mode for cpu scheduler Con Kolivas
2004-11-02 12:52 ` Ingo Molnar
2004-11-02 13:02 ` Con Kolivas
2004-11-02 13:11 ` Ingo Molnar
2004-11-02 13:40 ` Con Kolivas [this message]
2004-11-02 13:52 ` Ingo Molnar
2004-11-02 17:17 ` Kyle Moffett
2004-11-03 9:16 ` Con Kolivas
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=41878E47.5090805@kolivas.org \
--to=kernel@kolivas.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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