Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265256AbTF1Rs0 (ORCPT ); Sat, 28 Jun 2003 13:48:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265323AbTF1Rs0 (ORCPT ); Sat, 28 Jun 2003 13:48:26 -0400 Received: from 153.Red-213-4-13.pooles.rima-tde.net ([213.4.13.153]:53262 "EHLO small.felipe-alfaro.com") by vger.kernel.org with ESMTP id S265256AbTF1RsZ (ORCPT ); Sat, 28 Jun 2003 13:48:25 -0400 Subject: Re: patch-O1int-0306281420 for 2.5.73 interactivity From: Felipe Alfaro Solana To: Con Kolivas Cc: linux kernel mailing list , Mike Galbraith , Zwane Mwaikambo , Martin Schlemmer , Roberto Orenstein In-Reply-To: <200306281516.12975.kernel@kolivas.org> References: <200306281516.12975.kernel@kolivas.org> Content-Type: text/plain Message-Id: <1056823357.597.2.camel@teapot.felipe-alfaro.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.0 Date: 28 Jun 2003 20:02:37 +0200 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1370 Lines: 29 On Sat, 2003-06-28 at 07:16, Con Kolivas wrote: > The interactivity for tasks is based on the sleep avg accumulated divided by > the running time of the task. However since the accumulated time is not > linear with time it now works on the premise that running time is an > exponential function entirely. Pat Erley was the genius who implemented this > simple exponential function in surprisingly low overhead integer maths. > > Also added was some jiffy wrap logic (as if anyone would still be running my > patch in 50 days :P). > > Long sleepers were reclassified as idle according to the new exponential > logic. > > If you test, please note this works better at 1000Hz. Currently testing on 2.5.73-mm2, with both patches (patch-O1int and patch-granularity) plus HZ=1000. The result is quite impressive. Under load, X still suffer a little lag and behaves a little worse than the combo patch from Mike Galbraith + Ingo, but now XMMS doesn't skip even when clicking a link inside Evolution. Please, let me more time to work with this new patched kernel a little bit more to see if I can find any strange issues. - 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/