Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759938AbYBKRZH (ORCPT ); Mon, 11 Feb 2008 12:25:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1759545AbYBKRYy (ORCPT ); Mon, 11 Feb 2008 12:24:54 -0500 Received: from lixom.net ([66.141.50.11]:45417 "EHLO mail.lixom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758010AbYBKRYx (ORCPT ); Mon, 11 Feb 2008 12:24:53 -0500 Date: Mon, 11 Feb 2008 11:26:48 -0600 From: Olof Johansson To: Mike Galbraith Cc: Willy Tarreau , linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar Subject: Re: Scheduler(?) regression from 2.6.22 to 2.6.24 for short-lived threads Message-ID: <20080211172648.GA7962@lixom.net> References: <1202543920.9578.3.camel@homer.simson.net> <20080209080319.GO8953@1wt.eu> <1202554705.10287.12.camel@homer.simson.net> <20080209114009.GP8953@1wt.eu> <1202564259.4035.18.camel@homer.simson.net> <20080209161957.GA3364@1wt.eu> <20080210052941.GA4731@lixom.net> <20080210061558.GC22137@1wt.eu> <20080210070056.GA6401@lixom.net> <1202717755.21339.65.camel@homer.simson.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1202717755.21339.65.camel@homer.simson.net> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1499 Lines: 33 On Mon, Feb 11, 2008 at 09:15:55AM +0100, Mike Galbraith wrote: > Piddling around with your testcase, it still looks to me like things > improved considerably in latest greatest git. Hopefully that means > happiness is in the pipe for the real workload... synthetic load is > definitely happier here as burst is shortened. The real workload doesn't see much of an improvement. The changes I did when tinkering yesterday seem like they're better at modelling just what's going on with that one. I've added the new testcase I'm using for the numbers I posted last night at http://lixom.net/~olof/threadtest/new/, including numbers for the various kernels. I also included the binaries I built. (with "gcc -DLOOPS= testcase.c -lpthread"). I tried graphing the numbers as well, it looks like for larger workloads that 2.6.22 has a fixed benefit over newer kernels. I.e. it seems quicker at rebalancing, but once things balance out they're obviously doing ok independent of kernel version. Graph at http://lixom.net/olof/threadtest/new/schedgraph.pdf. I couldn't figure out how to make the X axis linear, so it obviously looks odd with the current powers-of-two at the end instead of linear, but the differences can still be seen clearly. -Olof -- 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/