Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1060214imm; Thu, 6 Sep 2018 14:46:47 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbWQYPKN6x0agm9yP/yqTaQATjJdnrE7qWNboo7ckykmVV/Gxj2GjF+s/n9QwvGpqu1Uz9V X-Received: by 2002:a17:902:e00b:: with SMTP id ca11-v6mr4777582plb.224.1536270407033; Thu, 06 Sep 2018 14:46:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536270406; cv=none; d=google.com; s=arc-20160816; b=sN20zi7Cq/xItYGXsOZWGy5sv4vhMijkX0DxhaNdtyQeHFbOhMRwDxKZgSpMjR6YdO zwK3OsVB1ifAfFR/FvOwtCPnZhMwxfHv5LtfNcGkFDEqhqHJhsmx2L7k5/EJqAMvVGKm mQBe3qdOxvdPFO8NJ9RzBNTWJaE+o3m+LAMW2wwz0Etzx4GYG7WYOgwwTKfxaUWR4QJV ZFu8jrXtxfGJIKPni54VBjMWKsbNX3aH4ApPjdxhTGrNIRq1c+wSwWWwC9Y+5Bil1vqU DdTk6WvbjHGoQzSv1FQCO57IN0Dp7JY4zgZNq+dDZ244RTWJrxPk4EAT0KA2fIBr+f9x hb7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Och9rxEGmTEvoV4ajxvU5ranLDtkUFEtfNtIQhSVlQs=; b=aJ1/x73xQc/nOXYVJyEYuzPa+jHB/y6ucu0Hn6a1vy9pjA4tQxhJmRhuplrP4h9+W0 SdGWK0EIqIv5y6UGcCyZQ8fbiWuASViw1tJ+hcoW31/C1118OnObPeMGOxTMIwpN1xR7 fAPrrA+f3qjxCO54olkGoEh3lpkrl+CMO2D+33n0lLDXYykgbo/Qj5+hfIE7IwQfX2Dp 5/qdyS54feNZBMBJhkPoBURTYyHPRfD5Il9q3NhcgfQ08EQbBw0qvIiAUNpcVbrVcEhx b55DQvG1pR92j3xvcmtcaLejms/gy6zVGhFnRcjrIHg1f2cf5McrrEYbWqvKNvkDwzuy bwlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=feOt0DAj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b27-v6si6472015pgm.582.2018.09.06.14.46.31; Thu, 06 Sep 2018 14:46:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2018-07-02 header.b=feOt0DAj; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728277AbeIGCOr (ORCPT + 99 others); Thu, 6 Sep 2018 22:14:47 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:33750 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727093AbeIGCOr (ORCPT ); Thu, 6 Sep 2018 22:14:47 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w86LXu4O076812; Thu, 6 Sep 2018 21:36:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=Och9rxEGmTEvoV4ajxvU5ranLDtkUFEtfNtIQhSVlQs=; b=feOt0DAj/7/E570KZ5bGVR4MMwBJk1qsY+RJ+9z5rxQyCyauZjqPq+kiuaZ+aEyKkD5P SXai5DnzdyDwHNLqhDeYqwsXCFSg83sHyYuoolQjGGuv/68HHCH8mlWNxtXRZ3H4q+kS SloeVpiAYW7i5DcZ9xsnBJu3XJH51B9JZ/rISfFTG9f0BpQz+0rl+tezn+uL6ZmWRTbO maAHh3hafbJ3GjdwmGv7BZspTAjUzPKPQXQJ6th5YJhhihlW56y5EZzrxa+2OoyJb4bj hilm1lm+t9Gyzx8CupFG40p6uJEiTNPgSAjH3339YzJuIcY/Orz7aCpPuXvBMUoAiTyG Pg== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2m7kdqxfve-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 06 Sep 2018 21:36:47 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w86LajCt027688 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 6 Sep 2018 21:36:45 GMT Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w86Laf8H003298; Thu, 6 Sep 2018 21:36:42 GMT Received: from [192.168.1.164] (/50.38.38.67) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 06 Sep 2018 14:36:41 -0700 Subject: Re: Plumbers 2018 - Performance and Scalability Microconference To: "Huang, Ying" , Christopher Lameter Cc: Daniel Jordan , linux-kernel@vger.kernel.org, "linux-mm@kvack.org" , Aaron Lu , alex.kogan@oracle.com, akpm@linux-foundation.org, boqun.feng@gmail.com, brouer@redhat.com, dave@stgolabs.net, dave.dice@oracle.com, Dhaval Giani , ktkhai@virtuozzo.com, ldufour@linux.vnet.ibm.com, Pavel.Tatashin@microsoft.com, paulmck@linux.vnet.ibm.com, shady.issa@oracle.com, tariqt@mellanox.com, tglx@linutronix.de, tim.c.chen@intel.com, vbabka@suse.cz, longman@redhat.com, yang.shi@linux.alibaba.com, shy828301@gmail.com, subhra.mazumdar@oracle.com, Steven Sistare , jwadams@google.com, ashwinch@google.com, sqazi@google.com, Shakeel Butt , walken@google.com, rientjes@google.com, junaids@google.com, Neha Agarwal , Hugh Dickins References: <1dc80ff6-f53f-ae89-be29-3408bf7d69cc@oracle.com> <01000165aa490dc9-64abf872-afd1-4a81-a46d-a50d0131de93-000000@email.amazonses.com> <877ejzqtdy.fsf@yhuang-dev.intel.com> From: Mike Kravetz Message-ID: Date: Thu, 6 Sep 2018 14:36:38 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <877ejzqtdy.fsf@yhuang-dev.intel.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9008 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=666 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809060209 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/05/2018 06:58 PM, Huang, Ying wrote: > Hi, Christopher, > > Christopher Lameter writes: > >> On Tue, 4 Sep 2018, Daniel Jordan wrote: >> >>> - Promoting huge page usage: With memory sizes becoming ever larger, huge >>> pages are becoming more and more important to reduce TLB misses and the >>> overhead of memory management itself--that is, to make the system scalable >>> with the memory size. But there are still some remaining gaps that prevent >>> huge pages from being deployed in some situations, such as huge page >>> allocation latency and memory fragmentation. >> >> You forgot the major issue that huge pages in the page cache are not >> supported and thus we have performance issues with fast NVME drives that >> are now able to do 3Gbytes per sec that are only possible to reach with >> directio and huge pages. > > Yes. That is an important gap for huge page. Although we have huge > page cache support for tmpfs, we lacks that for normal file systems. > >> IMHO the huge page issue is just the reflection of a certain hardware >> manufacturer inflicting pain for over a decade on its poor users by not >> supporting larger base page sizes than 4k. No such workarounds needed on >> platforms that support large sizes. Things just zoom along without >> contortions necessary to deal with huge pages etc. >> >> Can we come up with a 2M base page VM or something? We have possible >> memory sizes of a couple TB now. That should give us a million or so 2M >> pages to work with. > > That sounds a good idea. Don't know whether someone has tried this. IIRC, Hugh Dickins and some others at Google tried going down this path. There was a brief discussion at LSF/MM. It is something I too would like to explore in my spare time. -- Mike Kravetz