Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965325AbWHXBaP (ORCPT ); Wed, 23 Aug 2006 21:30:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965327AbWHXBaO (ORCPT ); Wed, 23 Aug 2006 21:30:14 -0400 Received: from omta04ps.mx.bigpond.com ([144.140.83.156]:63231 "EHLO omta04ps.mx.bigpond.com") by vger.kernel.org with ESMTP id S965325AbWHXBaN (ORCPT ); Wed, 23 Aug 2006 21:30:13 -0400 Message-ID: <44ED0121.5080702@bigpond.net.au> Date: Thu, 24 Aug 2006 11:30:09 +1000 From: Peter Williams User-Agent: Thunderbird 1.5.0.5 (X11/20060808) MIME-Version: 1.0 To: Rich Paredes CC: Jan Engelhardt , linux-kernel@vger.kernel.org Subject: Re: SMP Affinity and nice References: <38798.127.0.0.1.1156346673.squirrel@forexproject.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH PLAIN at omta04ps.mx.bigpond.com from [147.10.128.202] using ID pwil3058@bigpond.net.au at Thu, 24 Aug 2006 01:30:10 +0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1121 Lines: 31 Jan Engelhardt wrote: >> Subject: SMP Affinity and nice >> >> I am trying to come to an understanding as to why 1 process is getting >> less cpu time than identical processes with a higher "nice" value. >> Server has 2 physical processors with hyperthreading (cpu 0,1,2,3) >> >> I am starting 5 processes that perform a square root loop to max out a >> cpu. They use the exact same code but are renamed for identification: >> cpumax1, cpumax2, cpumax3, cpumax4, cpumax5 > [...] > > What you describe should be addressed in the -ck patchset (smpnice-...diff) > Not sure if it is in mainline already, though. It's coming in 2.6.18. Rich, What kernel version are you using when you see this phenomenon? Peter -- Peter Williams pwil3058@bigpond.net.au "Learning, n. The kind of ignorance distinguishing the studious." -- Ambrose Bierce - 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/