From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by kanga.kvack.org (Postfix) with ESMTP id 6DDDA6B0035 for ; Thu, 13 Feb 2014 03:05:36 -0500 (EST) Received: by mail-pd0-f179.google.com with SMTP id fp1so9841466pdb.10 for ; Thu, 13 Feb 2014 00:05:36 -0800 (PST) Received: from mail-pb0-x229.google.com (mail-pb0-x229.google.com [2607:f8b0:400e:c01::229]) by mx.google.com with ESMTPS id gj4si1188368pac.60.2014.02.13.00.05.34 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Feb 2014 00:05:35 -0800 (PST) Received: by mail-pb0-f41.google.com with SMTP id up15so10518475pbc.0 for ; Thu, 13 Feb 2014 00:05:33 -0800 (PST) Date: Thu, 13 Feb 2014 00:05:31 -0800 (PST) From: David Rientjes Subject: Re: [RFC PATCH V5] mm readahead: Fix readahead fail for no local memory and limit readahead pages In-Reply-To: <52FC6F2A.30905@linux.vnet.ibm.com> Message-ID: References: <1390388025-1418-1-git-send-email-raghavendra.kt@linux.vnet.ibm.com> <20140206145105.27dec37b16f24e4ac5fd90ce@linux-foundation.org> <20140206152219.45c2039e5092c8ea1c31fd38@linux-foundation.org> <52F4B8A4.70405@linux.vnet.ibm.com> <52F88C16.70204@linux.vnet.ibm.com> <52F8C556.6090006@linux.vnet.ibm.com> <52FC6F2A.30905@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Raghavendra K T Cc: Andrew Morton , Fengguang Wu , David Cohen , Al Viro , Damien Ramonda , Jan Kara , Linus Torvalds , Nishanth Aravamudan , linux-mm@kvack.org, linux-kernel@vger.kernel.org On Thu, 13 Feb 2014, Raghavendra K T wrote: > I was able to test (1) implementation on the system where readahead problem > occurred. Unfortunately it did not help. > > Reason seem to be that CONFIG_HAVE_MEMORYLESS_NODES dependency of > numa_mem_id(). The PPC machine I am facing problem has topology like > this: > > numactl -H > --------- > available: 2 nodes (0-1) > node 0 cpus: 0 1 2 3 4 5 6 7 12 13 14 15 16 17 18 19 20 21 22 23 24 25 > ... > node 0 size: 0 MB > node 0 free: 0 MB > node 1 cpus: 8 9 10 11 32 33 34 35 ... > node 1 size: 8071 MB > node 1 free: 2479 MB > node distances: > node 0 1 > 0: 10 20 > 1: 20 10 > > So it seems numa_mem_id() does not help for all the configs.. > Am I missing something ? > You need the patch from http://marc.info/?l=linux-mm&m=139093411119013 first. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org