From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753312AbXCSUwx (ORCPT ); Mon, 19 Mar 2007 16:52:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753318AbXCSUwx (ORCPT ); Mon, 19 Mar 2007 16:52:53 -0400 Received: from [212.12.190.22] ([212.12.190.22]:32943 "EHLO raad.intranet" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1753312AbXCSUww (ORCPT ); Mon, 19 Mar 2007 16:52:52 -0400 From: Al Boldi To: Mark Lord Subject: Re: RSDL v0.31 Date: Mon, 19 Mar 2007 23:53:19 +0300 User-Agent: KMail/1.5 Cc: Mike Galbraith , Con Kolivas , ck@vds.kolivas.org, Serge Belyshev , Ingo Molnar , linux-kernel@vger.kernel.org, Nicholas Miell , Linus Torvalds , Andrew Morton References: <200703042335.26785.a1426z@gawab.com> <200703172355.30989.a1426z@gawab.com> <45FEB54A.3040602@rtr.ca> In-Reply-To: <45FEB54A.3040602@rtr.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703192353.19673.a1426z@gawab.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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