LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Artur Skawina <art_k@o2.pl>
To: Con Kolivas <kernel@kolivas.org>
Cc: linux list <linux-kernel@vger.kernel.org>,
	ck list <ck@vds.kolivas.org>, Ingo Molnar <mingo@elte.hu>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] sched: rsdl improvements
Date: Thu, 22 Mar 2007 00:27:01 +0100	[thread overview]
Message-ID: <4601BF45.7070708@o2.pl> (raw)
In-Reply-To: <200703220429.45311.kernel@kolivas.org>

Con Kolivas wrote:
> Note no interactive boost idea here.
> 
> Patch is for 2.6.21-rc4-mm1. I have not spent the time trying to bring other
> bases in sync.

I've tried RSDLv.31+this on 2.6.20.3 as i'm not tracking -mm.

> Further improve the deterministic nature of the RSDL cpu scheduler and make
> the rr_interval tunable.
> 
> By only giving out priority slots to tasks at the current runqueue's
> prio_level or below we can make the cpu allocation not altered by accounting
> issues across major_rotation periods. This makes the cpu allocation and
> latencies more deterministic, and decreases maximum latencies substantially.
> This change removes the possibility that tasks can get bursts of cpu activity
> which can favour towards interactive tasks but also favour towards cpu bound
> tasks which happen to wait on other activity (such as I/O) and is a net
> gain.

I'm not sure this is going in the right direction... I'm writing
this while compiling a kernel w/ "nice -20 make -j2" and X is almost
unusable -- even the x pointer jumps instead of moving smoothly like
it always did; I had to stop the build to be able to quickly finish
this as the latency is making it hard to properly position the cursor...
Hmm, this is weird; I've tried various nice values for the build and
19 is the only one triggering this, w/ 18 and less the cursor moves
smoothly, but there are short sub-second stalls. nice=0 isn't much
different.
RSDL 0.31 was behaving properly, and only exhibited problems when
the box was overloaded w/ non-niced tasks; Right now even a properly
niced background job kills interactivity completely.

artur

  reply	other threads:[~2007-03-21 23:38 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-21 17:29 Con Kolivas
2007-03-21 23:27 ` Artur Skawina [this message]
2007-03-21 23:48   ` Jeffrey Hundstad
2007-03-22  0:15     ` Artur Skawina
2007-03-22  0:24     ` Con Kolivas
2007-03-22  0:52       ` Con Kolivas
2007-03-22  2:04         ` [PATCH] sched: rsdl check for niced tasks lowering prio level Con Kolivas
2007-03-22 13:34           ` Artur Skawina
2007-03-21 23:36 ` [PATCH] sched: rsdl improvements Andrew Morton
2007-03-22  5:03   ` Con Kolivas
2007-03-22 14:46 ` Christian

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=4601BF45.7070708@o2.pl \
    --to=art_k@o2.pl \
    --cc=akpm@linux-foundation.org \
    --cc=ck@vds.kolivas.org \
    --cc=kernel@kolivas.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --subject='Re: [PATCH] sched: rsdl improvements' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).