linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: "Albert, Des" <des.albert@hpe.com>
To: Matthew Wilcox <willy@infradead.org>
Cc: Mike Kravetz <mike.kravetz@oracle.com>,
	"songmuchun@bytedance.com" <songmuchun@bytedance.com>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: RE: Additional Huge Pages
Date: Wed, 27 Jul 2022 22:48:03 +0000	[thread overview]
Message-ID: <MW5PR84MB164157B1EA305186D4A07E1B98979@MW5PR84MB1641.NAMPRD84.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <Ytr81X0g0CfYVU8i@casper.infradead.org>

Hi Matt

I have discussed this topic in more detail with the primary maintainer of this kernel code. He confirmed that the additional huge pages are currently of most value to those who develop software that supports the HPE Slingshot High Speed Network. It is therefore of considerable benefit where networks access large areas of memory with PGAS (Partitioned Global Address Space ) or Symmetrical Hierarchical Memory ( SHMEM )  Because these programming concepts are relatively specific to HPC, it seems likely that it will remain a niche topic.  
I suspect that there is an assumption that offering code to kernel.org will, in some way, reduce the HPE resources required to maintain the code. I doubt that would be possible. In the opinion of the developer, the primary benefit of contributing code to kernel.org comes from ensuring that other changes to the Linux kernel do not adversely affect the kernel code that HPE has contributed and will continue to maintain.  

At this time, the primary maintainer is dedicated to other projects and is therefore not available for more detailed discussions. My primary goal has been to establish contact with the appropriate maintainers at kernel.org and seek responses to the suggestion of offering the code.

Des 

-----Original Message-----
From: Matthew Wilcox <willy@infradead.org> 
Sent: Friday, July 22, 2022 12:39 PM
To: Albert, Des <des.albert@hpe.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>; songmuchun@bytedance.com; linux-mm@kvack.org
Subject: Re: Additional Huge Pages

On Fri, Jul 22, 2022 at 07:20:51PM +0000, Albert, Des wrote:
> This is the first time I have heard of the folio abstraction as the future for memory management. When you mention that future hugetbls work will be based on that concept, it seems unlikely that there would be interest in code that is not consistent with those developments. I also doubt that there would be a justification to 'update' the code to be consistent with future kernel developments.
> 
> I am therefore forming the impression that this idea may not be of interest to the Linux kernel community, however, I do not the detailed technical depth of the development team.
> 
> Do you have some more information about this folio abstraction plan ?

Hi Des!  I'm the lead on the folio abstraction plan, so hopefully I can be of some help.

Folios, like your Cray Hugepages, broaden the supported page sizes.
They were originally conceived for relatively small page sizes (eg
16kB-256kB) and have been implemented so far only for the XFS filesystem.
Other filesystems are in progress.

This is the first hint we've had that people are interested in folio sizes above 2MB.  I think the folio work should make supporting this Cray requirement much easier.  It's certainly good to know that this is interesting before we do too much work on converting the existing hugetlb code over to folios.  Are you able to direct any developers to help us with this?  We can definitely work together on this project; we've had a similar collaboration running for a few years now on the Transparent Huge Page side of things.



  parent reply	other threads:[~2022-07-27 22:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-22 17:20 Albert, Des
2022-07-22 18:12 ` Mike Kravetz
2022-07-22 19:20   ` Albert, Des
2022-07-22 19:39     ` Matthew Wilcox
2022-07-22 19:53       ` Albert, Des
2022-07-27 22:48       ` Albert, Des [this message]
2022-12-21 23:43         ` Albert, Des
2022-07-25 15:28 ` Rongwei Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=MW5PR84MB164157B1EA305186D4A07E1B98979@MW5PR84MB1641.NAMPRD84.PROD.OUTLOOK.COM \
    --to=des.albert@hpe.com \
    --cc=linux-mm@kvack.org \
    --cc=mike.kravetz@oracle.com \
    --cc=songmuchun@bytedance.com \
    --cc=willy@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox