Skip to content

RFC mm: slowtier page promotion based on PTE A bit

Raghavendra K T linux-mm lkml llvm oe-kbuild-all 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 RFC Latest posting 2/20 of 17 patches 0 repliesNew
  2. v3 RFC posting 1/217 patches 14 repliesSuperseded
  3. v2 RFC13 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC13 patches16 repliesSuperseded

Patches in v3 posting 2/2 No applies recorded yet

None of the 17 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [RFC PATCH V3 00/17] mm: slowtier page promotion based on PTE A bit
Quoted 17 lines · Raghavendra K T

The current series has additional enhancements and comments' incorporation on top of RFC V2.

This is an additional source of hot page generator to NUMAB, IBS [4], KMGLRUD [5].

Introduction:
=============
In the current hot page promotion, all the activities including the process address space scanning, NUMA hint fault handling and page migration is performed in the process context. i.e., scanning overhead is borne by applications.

This RFC V2 patch series does slow-tier page promotion by using PTE Accessed bit scanning. Scanning is done by a global kernel thread which routinely scans all the processes' address spaces and checks for accesses by reading the PTE A bit.

Quoted 6 lines

A separate migration thread migrates/promotes the pages to the top-tier node based on a simple heuristic that uses top-tier scan/access information of the mm.

Additionally based on the feedback, a prctl knob with a scalar value is provided to control per task scanning.

Patches are also available in the branch:

https://github.com/AMDESE/linux-mm/tree/rkt/kscand_rfc_v3

[...]

Quoted 3 lines

base-commit: 038d61fd642278bab63ee8ef722c50d10ab01e8f