euleros inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8T1MB?from=project-issue CVE: NA
-------------------------------------------------
This patch proposes the etmem feature.
etmem aims at solving the DRAM shortage issue that we are facing with the emergence of memory intensive workloads.
With etmem, we can replace DRAM with less costly tiers of memory, for example, AEP, without significant performance loss. etmem tracks page hotness and migrate them between tiers of memory, so that, ideally, we can exploit fast memory tier for high performance and slower memory tier for large capacity.
etmem has two kernel space components: etmem scan and etmem swap, the former for page hotness tracking and the latter for migration.
Signed-off-by: Yuchen Tang tangyuchen5@huawei.com --- mm/Kconfig | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/mm/Kconfig b/mm/Kconfig index c277bb069ab7..7493fe4ce8da 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -1348,6 +1348,18 @@ config CLEAR_FREELIST_PAGE To enable this feature, kernel parameter "clear_freelist" also needs to be added.
+config ETMEM + bool "Enable etmem feature" + depends on MMU + depends on X86 || ARM64 + default n + help + etmem is a tiered memory extension technology that uses DRAM and memory + compression/high-performance storage media to form tiered memory storage. + Memory data is tiered, and cold data is migrated from memory media to + high-performance storage media to release memory space and reduce + memory costs. + source "mm/damon/Kconfig"
endmenu