[lkml]   [2004]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] optional non-interactive mode for cpu scheduler
Ingo Molnar wrote:
> * Con Kolivas <> 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

[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2005-03-22 14:07    [W:0.078 / U:1.664 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site