Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1587003

Re: [PATCH v6] sparc64: Multi-page size support

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v6] sparc64: Multi-page size support
Date Thu, 23 Feb 2017 17:40:01 +0100
Message-ID <te4AV-3Pf-5@gated-at.bofh.it> (permalink)
References <t6di1-4Nn-1@gated-at.bofh.it>
X-Mailer Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
MIME-Version 1.0
Content-Type Text/Plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Greylist Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 23 Feb 2017 07:33:27 -0800 (PST)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 27
Organization linux.* mail to news gateway
X-Original-Cc mike.kravetz@oracle.com, akpm@linux-foundation.org, julian.calaby@gmail.com, hughd@google.com, adam.buchbinder@gmail.com, kirill.shutemov@linux.intel.com, sfr@canb.auug.org.au, paul.gortmaker@windriver.com, thomas.tai@oracle.com, chris.hyser@oracle.com, khalid.aziz@oracle.com, atish.patra@oracle.com, mhocko@suse.com, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org
X-Original-Date Thu, 23 Feb 2017 11:32:18 -0500 (EST)
X-Original-Message-ID <20170223.113218.2219144071313988229.davem@davemloft.net>
X-Original-References <1485994656-115830-1-git-send-email-nitin.m.gupta@oracle.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1587003

Show key headers only | View raw


From: Nitin Gupta <nitin.m.gupta@oracle.com>
Date: Wed,  1 Feb 2017 16:16:36 -0800

> Add support for using multiple hugepage sizes simultaneously
> on mainline. Currently, support for 256M has been added which
> can be used along with 8M pages.
> 
> Page tables are set like this (e.g. for 256M page):
>     VA + (8M * x) -> PA + (8M * x) (sz bit = 256M) where x in [0, 31]
> 
> and TSB is set similarly:
>     VA + (4M * x) -> PA + (4M * x) (sz bit = 256M) where x in [0, 63]
> 
> - Testing
> 
> Tested on Sonoma (which supports 256M pages) by running stream
> benchmark instances in parallel: one instance uses 8M pages and
> another uses 256M pages, consuming 48G each.
> 
> Boot params used:
> 
> default_hugepagesz=256M hugepagesz=256M hugepages=300 hugepagesz=8M
> hugepages=10000
> 
> Signed-off-by: Nitin Gupta <nitin.m.gupta@oracle.com>

Applied, thanks.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v6] sparc64: Multi-page size support David Miller <davem@davemloft.net> - 2017-02-23 17:40 +0100

csiph-web