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


Groups > linux.kernel > #1587003 > unrolled thread

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

Started byDavid Miller <davem@davemloft.net>
First post2017-02-23 17:40 +0100
Last post2017-02-23 17:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

FromDavid Miller <davem@davemloft.net>
Date2017-02-23 17:40 +0100
SubjectRe: [PATCH v6] sparc64: Multi-page size support
Message-ID<te4AV-3Pf-5@gated-at.bofh.it>
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.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web