[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200703192353.19673.a1426z@gawab.com>
Date: Mon, 19 Mar 2007 23:53:19 +0300
From: Al Boldi <a1426z@...ab.com>
To: Mark Lord <lkml@....ca>
Cc: Mike Galbraith <efault@....de>, Con Kolivas <kernel@...ivas.org>,
ck@....kolivas.org, Serge Belyshev <belyshev@...ni.sinp.msu.ru>,
Ingo Molnar <mingo@...e.hu>, linux-kernel@...r.kernel.org,
Nicholas Miell <nmiell@...cast.net>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: RSDL v0.31
Mark Lord wrote:
> Al Boldi wrote:
> >..
> > Mike, I'm not saying RSDL is perfect, but v0.31 is by far better than
> > mainline. Try this easy test:
> >
> > startx with the vesa driver
> > run reflect from the mesa5.0-demos
> > load 5 cpu-hogs
> > start moving the mouse
> >
> > On my desktop, mainline completely breaks down, and no nicing may
> > rescue.
> >
> > On RSDL, even without nicing, the desktop is at least useable.
>
> I use a simpler, far more common (for lkml participants) workload:
>
> Dell notebook, single P-M-2GHz, ATI X300, open source X.org:
> (1) build a kernel in one window with "make -j$((NUMBER_OF_CPUS + 1))".
> (2) try to read email and/or surf in Firefox/Thunderbird.
>
> Stock scheduler wins easily, no contest.
Try this on RSDL:
--- sched.bak.c 2007-03-16 23:07:23.000000000 +0300
+++ sched.c 2007-03-19 23:49:40.000000000 +0300
@@ -938,7 +938,11 @@ static void activate_task(struct task_st
(now - p->timestamp) >> 20);
}
- p->quota = rr_quota(p);
+ /*
+ * boost factor hardcoded to 5; adjust to your liking
+ * higher means more likely to DoS
+ */
+ p->quota = rr_quota(p) + (((now - p->timestamp) >> 20) * 5);
p->prio = effective_prio(p);
p->timestamp = now;
__activate_task(p, rq);
Thanks!
--
Al
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists