Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751428AbWCBK1R (ORCPT ); Thu, 2 Mar 2006 05:27:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751431AbWCBK1R (ORCPT ); Thu, 2 Mar 2006 05:27:17 -0500 Received: from omta04ps.mx.bigpond.com ([144.140.83.156]:40095 "EHLO omta04ps.mx.bigpond.com") by vger.kernel.org with ESMTP id S1751428AbWCBK1Q (ORCPT ); Thu, 2 Mar 2006 05:27:16 -0500 Message-ID: <4406C881.3060400@bigpond.net.au> Date: Thu, 02 Mar 2006 21:27:13 +1100 From: Peter Williams User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Morton CC: linux-kernel@vger.kernel.org, Con Kolivas , "Chen, Kenneth W" , John Hawkes , Ingo Molnar , npiggin@suse.de, "Siddha, Suresh B" Subject: Re: 2.6.16-rc5-mm1 -- strange load balancing problems References: <20060228042439.43e6ef41.akpm@osdl.org> In-Reply-To: <20060228042439.43e6ef41.akpm@osdl.org> 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.133.38] using ID pwil3058@bigpond.net.au at Thu, 2 Mar 2006 10:27:13 +0000 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1731 Lines: 34 I'm seeing some strange load balancing problems with this kernel. I don't think that they're due to the smpnice patches as I've applied them on a standard 2.6.15-rc5 kernel and the problem doesn't happen there. The problem is (as I say) quite strange and (for me) very reproducible. I have two programs (aspin and gsmiley) which I use to produce CPU hard spinners for testing purposes. What I'm finding is that when I start several copies of aspin load balancing goes as expected but when I launch several copies of gsmiley they all go to the one CPU and stick there like glue. (The most obvious difference between the two programs is that aspin is just a command line tool while gsmiley is an X windows program that spins a simley face and reports its own assessment of the percentage of CPU it's getting.) The machine that I've seen this problem is a hyper threading Pentium 4 and I suspect that it may be due to the SCHED_MC changes which overlap SCHED_SMT a bit. I'm trying to test this on a non hyper threading machine but the machine has crashed (different kernel) while doing the build. I'll resume this effort tomorrow but I thought that I should report the problem so that others could comment. Peter PS SCHED_MC was configured in but I'll try it without tomorrow and report the results. -- 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/