From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754651Ab3LROSJ (ORCPT ); Wed, 18 Dec 2013 09:18:09 -0500 Received: from zene.cmpxchg.org ([85.214.230.12]:50346 "EHLO zene.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753705Ab3LROSI (ORCPT ); Wed, 18 Dec 2013 09:18:08 -0500 Date: Wed, 18 Dec 2013 09:17:58 -0500 From: Johannes Weiner To: Rik van Riel Cc: Mel Gorman , Andrew Morton , Dave Hansen , Linux-MM , LKML Subject: Re: [RFC PATCH 0/6] Configurable fair allocation zone policy v3 Message-ID: <20131218141758.GL21724@cmpxchg.org> References: <1387298904-8824-1-git-send-email-mgorman@suse.de> <20131217200210.GG21724@cmpxchg.org> <20131218061750.GK21724@cmpxchg.org> <52B1A781.50002@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52B1A781.50002@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 18, 2013 at 08:47:45AM -0500, Rik van Riel wrote: > On 12/18/2013 01:17 AM, Johannes Weiner wrote: > > > Updated version with your tmpfs __GFP_PAGECACHE parts added and > > documentation, changelog updated as necessary. I remain unconvinced > > that tmpfs pages should be round-robined, but I agree with you that it > > is the conservative change to do for 3.12 and 3.12 and we can figure > > out the rest later. I sure hope that this doesn't drive most people > > on NUMA to disable pagecache interleaving right away as I expect most > > tmpfs workloads to see little to no reclaim and prefer locality... :/ > > Actually, I suspect most tmpfs heavy workloads will be things like > databases with shared memory segments. Those tend to benefit from > having all of the system's memory bandwidth available. The worker > threads/processes tend to live all over the system, too... Shared memory segments are explicitely excluded from the interleaving, though. The distinction is between the internal tmpfs mount that sysv shmem uses (mempolicy) and tmpfs mounts that use the actual filesystem interface (pagecache interleave).