git: dec7526dc3 - main - Status/2023Q2/compaction.adoc: Add report
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jul 2023 15:49:16 UTC
The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/doc/commit/?id=dec7526dc36ae1a262d67aefe412b9ae97f2d2f1 commit dec7526dc36ae1a262d67aefe412b9ae97f2d2f1 Author: Bojan Novković <bnovkov@FreeBSD.org> AuthorDate: 2023-07-04 10:52:09 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2023-07-04 15:48:18 +0000 Status/2023Q2/compaction.adoc: Add report Approved by: dbaio (mentor, implicit), carlavilla (mentor, implicit) --- .../status/report-2023-04-2023-06/compaction.adoc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/website/content/en/status/report-2023-04-2023-06/compaction.adoc b/website/content/en/status/report-2023-04-2023-06/compaction.adoc new file mode 100644 index 0000000000..b3577d51bf --- /dev/null +++ b/website/content/en/status/report-2023-04-2023-06/compaction.adoc @@ -0,0 +1,21 @@ +=== Physical memory compaction for the FreeBSD kernel + +Links: + +link:https://wiki.freebsd.org/SummerOfCode2023Projects/PhysicalMemoryAntiFragmentationMechanisms[GSoC project wiki page] URL: link:https://wiki.freebsd.org/SummerOfCode2023Projects/PhysicalMemoryAntiFragmentationMechanisms[] + +link:https://reviews.freebsd.org/D40575[Differential revision 40575] URL: link:https://reviews.freebsd.org/D40575[] +link:https://reviews.freebsd.org/D40772[Differential revision 407725] URL: link:https://reviews.freebsd.org/D407724[] + +Contact: Bojan Novković <bnovkov@FreeBSD.org> + +Most modern CPU architectures offer performance boosts by supporting pages that are larger than the standard page size. +Unfortunately, allocating such pages can fail due to a high degree of physical memory fragmentation. +This work implements physical memory compaction as a means of actively reducing fragmentation in running systems. +This work is part of an ongoing Google Summer of Code project whose goal is to add various physical memory anti-fragmentation measures to the virtual memory subsystem. + +Differential link:https://reviews.freebsd.org/D40575[D40575] implements a well-known metric used for quantifying the degree of physical memory fragmentation. +Differential link:https://reviews.freebsd.org/D40772[D40772] implements physical memory compaction and adds a daemon that monitors the system and performs compaction when needed. + +Planned future work includes designing an appropriate benchmarking suite, running tests, and tweaking the code using feedback from reviews and test results. +This is still a work in progress, so any testing, reviews, and feedback would be greatly appreciated. + +Sponsor: The Google Summer of Code '23 program