Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262498AbTFBPkh (ORCPT ); Mon, 2 Jun 2003 11:40:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262499AbTFBPkh (ORCPT ); Mon, 2 Jun 2003 11:40:37 -0400 Received: from holomorphy.com ([66.224.33.161]:58527 "EHLO holomorphy") by vger.kernel.org with ESMTP id S262498AbTFBPkf (ORCPT ); Mon, 2 Jun 2003 11:40:35 -0400 Date: Mon, 2 Jun 2003 08:53:45 -0700 From: William Lee Irwin III To: Tom Sightler Cc: Ingo Molnar , Mike Galbraith , Andrew Morton , LKML Subject: Re: Strange load issues with 2.5.69/70 in both -mm and -bk trees. Message-ID: <20030602155345.GR8978@holomorphy.com> Mail-Followup-To: William Lee Irwin III , Tom Sightler , Ingo Molnar , Mike Galbraith , Andrew Morton , LKML References: <1054564236.4190.15.camel@iso-8590-lx.zeusinc.com> <1054567498.3545.18.camel@iso-8590-lx.zeusinc.com> <1054568875.3545.34.camel@iso-8590-lx.zeusinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1054568875.3545.34.camel@iso-8590-lx.zeusinc.com> Organization: The Domain of Holomorphy User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1159 Lines: 23 On Mon, Jun 02, 2003 at 11:47:56AM -0400, Tom Sightler wrote: > In trying to figure out why this might be worse under 2.5 I took some > simple vmstat numbers under 2.4 and 2.5, this biggest difference is the > number of context switches. Under 2.4, with the page loaded, but > otherwise idle, the system averages around 700/sec, and when I mouse > around the page I get 2000-3000/sec. > However, under 2.5, as I reported previously, I get 2000/sec all the > time, and 3000-4000 as I mouse around the page. > Would this be expected behavior? Does 2.5 do something that would cause > more context switches that 2.4? I have no idea if this would have any > impact at all, but it was the only difference I could observe in my > fairly simple testing of the two kernels. A quick patch to register profile hit counts for codepaths calling schedule() and/or yield() appears to be in order for such occasions. -- wli - 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/