Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263233AbUCTEOx (ORCPT ); Fri, 19 Mar 2004 23:14:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263234AbUCTEOx (ORCPT ); Fri, 19 Mar 2004 23:14:53 -0500 Received: from fw.osdl.org ([65.172.181.6]:35528 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S263233AbUCTEOv (ORCPT ); Fri, 19 Mar 2004 23:14:51 -0500 Date: Fri, 19 Mar 2004 20:14:50 -0800 From: Andrew Morton To: Nick Piggin Cc: markw@osdl.org, axboe@suse.de, linux-kernel@vger.kernel.org Subject: Re: 2.6.4-mm2 Message-Id: <20040319201450.5da6847a.akpm@osdl.org> In-Reply-To: <405BC003.6080507@cyberone.com.au> References: <20040314172809.31bd72f7.akpm@osdl.org> <200403181737.i2IHbCE09261@mail.osdl.org> <20040318100615.7f2943ea.akpm@osdl.org> <20040318192707.GV22234@suse.de> <20040318191530.34e04cb2.akpm@osdl.org> <20040318194150.4de65049.akpm@osdl.org> <20040319183906.I8594@osdlab.pdx.osdl.net> <20040319185026.56db3bf7.akpm@osdl.org> <20040319185345.A4610@osdlab.pdx.osdl.net> <405BC003.6080507@cyberone.com.au> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1731 Lines: 45 Nick Piggin wrote: > > >>> > >>Thanks, so it's the CPU scheduler changes. Is that machine hyperthreaded? > >>And do you have CONFIG_X86_HT enabled? > >> > > > >Yes and CONFIG_X86_HT is enabled but I have hyperthreading disabled with > >'acpi=off noht' (whichever one does it.) > > > > > The oprofile for the 01 kernel says > CPU: P4 / Xeon, speed 1497.76 MHz (estimated) > while the 02 kernel says > CPU: P4 / Xeon with 2 hyper-threads, speed 1497.57 MHz (estimated) > What's going on there? Does the sched-domains patch break `acpi=off' or `noht'? > Other than that, nothing in the kernel profile jumps out at me: > schedule, __copy_from_user_ll and __copy_to_user_ll are all > significantly lower *after* the CPU scheduler changes, which > is an indicator that cache behaviour is better. No, it indicates that the kernel is getting less work done. > Sar says average context switches/second were 9064 and 6567 before > and after. > > The only thing I can see is the CPU utilisation averages show the > scheduler patches have more of a tendancy to load up one CPU more > before moving to another. This actually should be good behaviour, > generally but I wonder if it is hurting at all. I would be really > surprised if it was that significant. This machine is I/O-bound, the CPUs are mostly idle. It would appear to be some interaction between the I/O system and the CPU scheduler. Haven't we seen that with reaim also? - 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/