Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 11 Oct 2002 11:36:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 11 Oct 2002 11:36:58 -0400 Received: from franka.aracnet.com ([216.99.193.44]:11203 "EHLO franka.aracnet.com") by vger.kernel.org with ESMTP id ; Fri, 11 Oct 2002 11:36:57 -0400 Date: Fri, 11 Oct 2002 08:34:17 -0700 From: "Martin J. Bligh" Reply-To: "Martin J. Bligh" To: Erich Focht , Andrew Theurer , Michael Hohnbaum cc: Ingo Molnar , linux-kernel Subject: Re: [PATCH] pooling NUMA scheduler with initial load balancing Message-ID: <1713823758.1034325255@[10.10.2.3]> In-Reply-To: <200210111729.45129.efocht@ess.nec.de> References: <200210111729.45129.efocht@ess.nec.de> X-Mailer: Mulberry/2.1.2 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1394 Lines: 36 > arch/i386/kernel/smpboot.c:smp_tune_scheduling() says: > > if (!cpu_khz) { > /* > * this basically disables processor-affinity > * scheduling on SMP without a TSC. > */ > cacheflush_time = 0; > return; > > If you boot with notsc, you won't have cache affinity on your machine. > Which means that the load_balancer eventually selects cache hot tasks > for stealing. The O(1) scheduler doesn't do that under normal conditions! OK, that makes more sense ... I'll go stare at the code some more and see what can be done. > Of course I'll add something to my patch such that it doesn't crash > if cache_decay_ticks is unset. But you might be measuring wrong things > right now if you leave cache_decay_ticks=0 as then the cache-affinity > on NUMAQ is switched off with the vanilla O(1) and with Michael's patch. > I want to say: you cannot evaluate the impact of Michael's patches if > you don't fix that. This issue is independent of my patches. OK, I'll make sure to make the tests uniform somehow to get a fair comparison. Thanks! M. - 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/