From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753923AbZBAJ5i (ORCPT ); Sun, 1 Feb 2009 04:57:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753446AbZBAJ50 (ORCPT ); Sun, 1 Feb 2009 04:57:26 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:48645 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753413AbZBAJ5Y (ORCPT ); Sun, 1 Feb 2009 04:57:24 -0500 Subject: Re: hackbench [pthread mode] regression with 2.6.29-rc3 From: Peter Zijlstra To: Lin Ming Cc: "Zhang, Yanmin" , linux-kernel In-Reply-To: <1233479836.4787.63.camel@laptop> References: <1233473426.2604.13.camel@ymzhang> <1233476961.13659.12.camel@minggr.sh.intel.com> <1233479836.4787.63.camel@laptop> Content-Type: text/plain Date: Sun, 01 Feb 2009 10:57:19 +0100 Message-Id: <1233482239.4787.65.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2009-02-01 at 10:17 +0100, Peter Zijlstra wrote: > On Sun, 2009-02-01 at 16:29 +0800, Lin Ming wrote: > > > Bisect located below patch. > > > commit 490dea45d00f01847ebebd007685d564aaf2cd98 > > > Author: Peter Zijlstra > > > Date: Mon Nov 24 17:06:57 2008 +0100 > > > > > > itimers: remove the per-cpu-ish-ness > > > > > > Either we bounce once cacheline per cpu per tick, yielding n^2 bounces > > > or we just bounce a single.. > > > > > > Also, using per-cpu allocations for the thread-groups complicates the > > > per-cpu allocator in that its currently aimed to be a fixed sized > > > allocator and the only possible extention to that would be vmap based, > > > which is seriously constrained on 32 bit archs. > > > > > > > > > After above patch is reverted, hackbench result is restored. > > > > oltp has ~3% regression with 2.6.29-rc3 on 4core*2p stokley machine. > > After above patch reverted, the regression disappeared. > > *sigh*, did they gain anything with introduction of the per-cpu crap? No it wouldn't have, I just missed something obvious,.. :-( I wish we never merged that crap...