From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758470Ab1LOBPX (ORCPT ); Wed, 14 Dec 2011 20:15:23 -0500 Received: from mga01.intel.com ([192.55.52.88]:20750 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754667Ab1LOBPT (ORCPT ); Wed, 14 Dec 2011 20:15:19 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="102349369" Subject: Re: [patch v3]numa: add a sysctl to control interleave allocation granularity from each node to improve I/O performance From: Shaohua Li To: Andi Kleen Cc: Christoph Lameter , lkml , linux-mm , Andrew Morton , Jens Axboe , "lee.schermerhorn@hp.com" , David Rientjes In-Reply-To: <20111214175302.GA2600@alboin.jf.intel.com> References: <1323655125.22361.376.camel@sli10-conroe> <20111213190632.GA5830@tassilo.jf.intel.com> <20111213203856.GA6312@tassilo.jf.intel.com> <1323830027.22361.401.camel@sli10-conroe> <20111214175302.GA2600@alboin.jf.intel.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 15 Dec 2011 09:27:51 +0800 Message-ID: <1323912471.22361.431.camel@sli10-conroe> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2011-12-15 at 01:53 +0800, Andi Kleen wrote: > > That's what I want to avoid letting each apps to explicitly do it, it's > > a lot of burden. > > Usually apps that set NUMA policy can change it. Most don't anyways. > If it's just a script with numactl it's easily changed. Hmm, why should apps set different granularity? the granularity change is to speed up I/O, which should have the same value for all apps. > > That's true only workload with heavy I/O wants this. but I don't expect > > it will harm other workloads. > > How do you know? I can't imagine how it could harm. Some arches can use big pages, big granularity should already been tested for years. Thanks, Shaohua