From: Matthew Wilcox <willy@infradead.org>
To: Hillf Danton <hdanton@sina.com>
Cc: Yu Zhao <yuzhao@google.com>,
lsf-pc@lists.linux-foundation.org, Linux-MM <linux-mm@kvack.org>,
Yang Shi <shy828301@gmail.com>,
"Yin, Fengwei" <fengwei.yin@intel.com>,
Hugh Dickins <hughd@google.com>,
"Kirill A . Shutemov" <kirill@shutemov.name>
Subject: Re: [LSF/MM/BPF TOPIC] Flexible orders for anonymous folios
Date: Sun, 26 Feb 2023 02:34:05 +0000 [thread overview]
Message-ID: <Y/rFHaM+0uUNmEQM@casper.infradead.org> (raw)
In-Reply-To: <20230226013031.3356-1-hdanton@sina.com>
On Sun, Feb 26, 2023 at 09:30:31AM +0800, Hillf Danton wrote:
> On Wed, Feb 22, 2023 at 04:55:20PM -0700, Yu Zhao wrote:
> > Currently anonymous folios only support two orders: 0 and the PMD
> > order. Flexible orders for anonymous folios can resist both internal
> > or external fragmentations when the PMD order is too underutilized or
> > costly to allocate. Flexible orders can also leverage the TLB
> > coalescing feature, .e.g., order 3 for AMD and order 4 for ARM CPUs.
> >
> > Discussion points:
> > 1. The page fault path: determining the best order and the fallback policy.
> > 2. The reclaim path: detecting the utilization and the splitting policy.
> > 3. The refcount and the mapcount models, e.g., reuse the PMD-mapped
> > THP model or not.
> > 4. The splitting, and the collapsing if needed.
> > 5. Other paths: COW, GUP, madvise(), mprotect(), page migration, etc.
>
> 6. Given the number of TLB is farrr less than the number of pages,
> what workload prefers MADV_ORDER6 over MADV_HUGEPAGE for instance?
Many. https://lore.kernel.org/linux-mm/Y%2FWRlX+MkmxelNbg@casper.infradead.org/
next prev parent reply other threads:[~2023-02-26 2:34 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-22 23:55 [LSF/MM/BPF TOPIC] Flexible orders for anonymous folios Yu Zhao
2023-02-23 0:16 ` Suren Baghdasaryan
2023-02-23 4:01 ` Matthew Wilcox
2023-02-23 4:45 ` Yin, Fengwei
2023-02-23 18:07 ` Yang Shi
2023-03-01 10:35 ` Ryan Roberts
2023-03-06 20:57 ` Zi Yan
2023-02-24 20:34 ` Jason Gunthorpe
2023-02-26 1:30 ` Hillf Danton
2023-02-26 2:34 ` Matthew Wilcox [this message]
2023-02-26 4:12 ` Hillf Danton
2023-02-27 0:58 ` Hillf Danton
2023-03-01 23:29 ` Chris Li
2023-03-02 4:05 ` Yu Zhao
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=Y/rFHaM+0uUNmEQM@casper.infradead.org \
--to=willy@infradead.org \
--cc=fengwei.yin@intel.com \
--cc=hdanton@sina.com \
--cc=hughd@google.com \
--cc=kirill@shutemov.name \
--cc=linux-mm@kvack.org \
--cc=lsf-pc@lists.linux-foundation.org \
--cc=shy828301@gmail.com \
--cc=yuzhao@google.com \
/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;
as well as URLs for NNTP newsgroup(s).