Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756364Ab3HHDtp (ORCPT ); Wed, 7 Aug 2013 23:49:45 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:64827 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754307Ab3HHDto (ORCPT ); Wed, 7 Aug 2013 23:49:44 -0400 Date: Wed, 7 Aug 2013 20:49:41 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Alex Thorlton cc: Andrew Morton , linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Mel Gorman , "Kirill A. Shutemov" , Rik van Riel , Johannes Weiner , "Eric W. Biederman" , Sedat Dilek , Frederic Weisbecker , Dave Jones , Michael Kerrisk , "Paul E. McKenney" , David Howells , Thomas Gleixner , Al Viro , Oleg Nesterov , Srikar Dronamraju , Kees Cook , Robin Holt Subject: Re: [PATCHv2] Add per-process flag to control thp In-Reply-To: <20130806150807.GA2456@sgi.com> Message-ID: References: <20130802205735.GS26476@sgi.com> <20130805160306.a620c88ba9098b98a0f93665@linux-foundation.org> <20130806150807.GA2456@sgi.com> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) 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: 1119 Lines: 21 On Tue, 6 Aug 2013, Alex Thorlton wrote: > I've gotten my hands on some of the benchmarks/code that were used to > originally uncover the performance issues we're seeing. I'm currently > trying to separate out the performance issues that are being caused by > the kernel code from issues involving hardware - the cost of remote > memory accesses is a bit higher on our systems with node controllers vs. > glueless QPI/Hypertransport-based systems. > We've seen some issues where accessing remote hugepages causes performance degradations over accessing local pages that affects some workloads, but that seems like a mempolicy issue rather than madvise. You probably want local hugepages but not fallback to remote hugepages before allocating local pages? It would be interesting to see /proc/pid/numa_maps and /proc/pid/smaps for workloads that don't like thp. -- 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/