From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933251AbXCMU1s (ORCPT ); Tue, 13 Mar 2007 16:27:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S933287AbXCMU1s (ORCPT ); Tue, 13 Mar 2007 16:27:48 -0400 Received: from mail16.syd.optusnet.com.au ([211.29.132.197]:34179 "EHLO mail16.syd.optusnet.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933251AbXCMU1r (ORCPT ); Tue, 13 Mar 2007 16:27:47 -0400 From: Con Kolivas To: ck@vds.kolivas.org Subject: Re: [ck] Re: [PATCH] [RSDL-0.30] sched: rsdl improve latencies with differential nice -1 Date: Wed, 14 Mar 2007 07:27:37 +1100 User-Agent: KMail/1.9.5 Cc: Al Boldi , linux-kernel@vger.kernel.org References: <200703132254.28281.a1426z@gawab.com> In-Reply-To: <200703132254.28281.a1426z@gawab.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200703140727.37486.kernel@kolivas.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 14 March 2007 06:54, Al Boldi wrote: > Con Kolivas wrote: > > On Wednesday 14 March 2007 03:03, Con Kolivas wrote: > > > On Wednesday 14 March 2007 02:31, Con Kolivas wrote: > > > > On Monday 12 March 2007 22:26, Al Boldi wrote: > > > > > I think, it should be possible to spread this max expiration > > > > > latency across the rotation, should it not? > > > > > > > > Can you try the attached patch please Al and Mike? It "dithers" the > > > > priority bitmap which tends to fluctuate the latency a lot more but > > > > in a cyclical fashion. This tends to make the max latency bound to a > > > > smaller value and should make it possible to run -nice tasks without > > > > killing the latency of the non niced tasks. Eg you could possibly run > > > > X nice -10 at a guess like we used to in 2.4 days. It's not essential > > > > of course, but is a workaround for Mike's testcase. > > > > > > Oops, one tiny fix. This is a respin of the patch, sorry. > > > > A few other minor things would need to be updated before this patch is in > > a good enough shape to join the rsdl patches. This one will be good for > > testing though. > > Applied against v0.30 mainline. It only works on prio +16 to +19. I guess the "other minor things" will matter then :) I'll keep working. At least you know what I'm working on now. -- -ck