Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265359AbTFSQ14 (ORCPT ); Thu, 19 Jun 2003 12:27:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265437AbTFSQ1z (ORCPT ); Thu, 19 Jun 2003 12:27:55 -0400 Received: from adsl-157-201-192.dab.bellsouth.net ([66.157.201.192]:23174 "EHLO midgaard.us") by vger.kernel.org with ESMTP id S265359AbTFSQ1q (ORCPT ); Thu, 19 Jun 2003 12:27:46 -0400 Subject: Re: [PATCH] sleep_decay for interactivity 2.5.72 - testers needed From: Andreas Boman To: Con Kolivas Cc: Mike Galbraith , linux kernel mailing list In-Reply-To: <200306200206.00548.kernel@kolivas.org> References: <5.2.0.9.2.20030619171843.02299e00@pop.gmx.net> <200306200202.37745.kernel@kolivas.org> <200306200206.00548.kernel@kolivas.org> Content-Type: text/plain Message-Id: <1056040950.702.10.camel@asgaard.midgaard.us> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.92 (Preview Release) Date: 19 Jun 2003 12:42:30 -0400 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1379 Lines: 34 On Thu, 2003-06-19 at 12:06, Con Kolivas wrote: > On Fri, 20 Jun 2003 02:02, Con Kolivas wrote: > > On Fri, 20 Jun 2003 01:47, Mike Galbraith wrote: > > > At 12:05 AM 6/20/2003 +1000, Con Kolivas wrote: > > > >Testers required. A version for -ck will be created soon. > > > > > > That idea definitely needs some refinement. > > > > Actually no it needs a bugfix even more than a refinement! > > > > The best_sleep_decay should be 60, NOT 60*Hz > > Here's a fixed patch. Ok, that doesnt really seem to change behavior much (from just a little testing). I can still easily starve xmms by moving a window around over mozilla or evolution (I suspect for thoose that use nautilus to draw the desktop that would happen on an 'empty' desktop too..). With 2.5.72-mm1, HZ 1000 and MAX_SLEEP_AVG 2 that does *not* happen, even with a cpu hog running (mpeg2enc) or during make -j20. However with this kernel, after having moved a window around madly for a while the mouse pointer is very laggy/jerky for atleast 30 sec after i release the window (not so with your patch). I'm not hitting swap at all, so thats not a factor here. Andreas - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/