Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261886AbVEKCzT (ORCPT ); Tue, 10 May 2005 22:55:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261888AbVEKCzT (ORCPT ); Tue, 10 May 2005 22:55:19 -0400 Received: from mail15.syd.optusnet.com.au ([211.29.132.196]:7896 "EHLO mail15.syd.optusnet.com.au") by vger.kernel.org with ESMTP id S261886AbVEKCyi (ORCPT ); Tue, 10 May 2005 22:54:38 -0400 From: Con Kolivas To: Carlos Carvalho Subject: Re: [ck] Re: [PATCH] implement nice support across physical cpus on SMP Date: Wed, 11 May 2005 12:56:15 +1000 User-Agent: KMail/1.8 Cc: ck@vds.kolivas.org, Ingo Molnar , Markus =?iso-8859-1?q?T=F6rnqvist?= , linux-kernel@vger.kernel.org, AndrewMorton References: <20050509112446.GZ1399@nysv.org> <200505092147.06384.kernel@kolivas.org> <17023.63512.319555.552924@fisica.ufpr.br> In-Reply-To: <17023.63512.319555.552924@fisica.ufpr.br> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505111256.15498.kernel@kolivas.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1110 Lines: 28 On Tue, 10 May 2005 09:54 am, Carlos Carvalho wrote: > Con Kolivas (kernel@kolivas.org) wrote on 9 May 2005 21:47: > >Perhaps if I make the prio_bias multiplied instead of added to the cpu > > load it will be less affected by SCHED_LOAD_SCALE. The attached patch > > was confirmed during testing to also provide smp distribution according > > to nice on 4x. > > It seems to work. I've tested it for a few hours on the same machine > and the 2 nice 0 processes take the bulk of the cpu time, while that > cpu bound program running at nice 19 takes only about 7%. > > Maybe it's a bit early to say it's fine, but it does semm much better > than before, so I think it should go into the tree. > > Thanks a lot! My pleasure. Thanks for testing. I'll roll up these patches for rc4 and make smp nice balancing a config option for ultimate flexibility. Cheers, Con - 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/