Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758068AbZKXPSl (ORCPT ); Tue, 24 Nov 2009 10:18:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756463AbZKXPSl (ORCPT ); Tue, 24 Nov 2009 10:18:41 -0500 Received: from nlpi157.sbcis.sbc.com ([207.115.36.171]:34200 "EHLO nlpi157.prodigy.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756322AbZKXPSk (ORCPT ); Tue, 24 Nov 2009 10:18:40 -0500 Date: Tue, 24 Nov 2009 09:17:40 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@router.home To: "Zhang, Yanmin" cc: KAMEZAWA Hiroyuki , "hugh.dickins@tiscali.co.uk" , linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org, Tejun Heo , Andi Kleen Subject: Re: [MM] Make mm counters per cpu instead of atomic In-Reply-To: <1259049753.29789.49.camel@localhost> Message-ID: References: <1258440521.11321.32.camel@localhost> <1258443101.11321.33.camel@localhost> <1258450465.11321.36.camel@localhost> <1258966270.29789.45.camel@localhost> <1259049753.29789.49.camel@localhost> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 886 Lines: 19 On Tue, 24 Nov 2009, Zhang, Yanmin wrote: > > True.... We need to find some alternative to per cpu data to scale mmap > > sem then. > I ran lots of benchmarks such like specjbb2005/hackbench/tbench/dbench/iozone > /sysbench_oltp(mysql)/aim7 against percpu tree(based on 2.6.32-rc7) on a 4*8*2 logical > cpu machine, and didn't find big result difference between with your patch and without > your patch. This affects loads that heavily use mmap_sem. You wont find too many issues in tests that do not run processes with a large thread count and cause lots of faults or uses of get_user_pages(). The tests you list are not of that nature. -- 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/