Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 10D7D21D0DE60 for ; Wed, 19 Jul 2017 08:23:19 -0700 (PDT) Subject: Re: [RFC v2 0/5] surface heterogeneous memory performance information References: <20170706215233.11329-1-ross.zwisler@linux.intel.com> From: Dave Hansen Message-ID: <0e72ed92-75d0-3fe1-0ab7-ffa069d11b46@intel.com> Date: Wed, 19 Jul 2017 08:25:13 -0700 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: Bob Liu , Ross Zwisler , linux-kernel@vger.kernel.org Cc: "Box, David E" , linux-mm@kvack.org, "Zheng, Lv , linux-nvdimm@lists.01.org, Rafael J. Wysocki" , Anaczkowski,, Robert, Lukasz, "Erik , Len Brown" , Jerome Glisse , devel@acpica.org, "Kogut, Jaroslaw" , Greg Kroah-Hartman , "Nachimuthu, Murugasamy , Rafael J. Wysocki" , "Lahtinen, Joonas , Andrew Morton , Tim Chen" List-ID: On 07/19/2017 02:48 AM, Bob Liu wrote: >> Option 2: Provide the user with HMAT performance data directly in >> sysfs, allowing applications to directly access it without the need >> for the library and daemon. >> > Is it possible to do the memory allocation automatically by the > kernel and transparent to users? It sounds like unreasonable that > most users should aware this detail memory topology. It's possible, but I'm not sure this is something we automatically want to see added to the kernel. I look at it like NUMA. We have lots of details available about how things are connected. But, "most users" are totally unaware of this. We give them decent default policies and the ones that need more can do so with the NUMA APIs. These patches provide the framework to help users/apps who *do* care and want to make intelligent, topology-aware decisions. _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm