{"id":227753,"date":"2026-03-26T06:10:00","date_gmt":"2026-03-26T10:10:00","guid":{"rendered":"https:\/\/news-you-need.com\/index.php\/2026\/03\/26\/an-enticing-optimization-for-linux-memory-reclaim-on-todays-multi-core-platforms\/"},"modified":"2026-03-26T07:25:08","modified_gmt":"2026-03-26T11:25:08","slug":"an-enticing-optimization-for-linux-memory-reclaim-on-todays-multi-core-platforms","status":"publish","type":"post","link":"https:\/\/news-you-need.com\/index.php\/2026\/03\/26\/an-enticing-optimization-for-linux-memory-reclaim-on-todays-multi-core-platforms\/","title":{"rendered":"An Enticing Optimization For Linux Memory Reclaim On Today&#8217;s Multi-Core Platforms"},"content":{"rendered":"<p><a href=\"https:\/\/www.phoronix.com\/news\/Linux-Better-Reclaim-Multi-Core\">An Enticing Optimization For Linux Memory Reclaim On Today&#8217;s Multi-Core Platforms<\/a><\/p>\n<p><a href=\"https:\/\/www.phoronix.com\/news\/Linux-Better-Reclaim-Multi-Core\">https:\/\/www.phoronix.com\/news\/Linux-Better-Reclaim-Multi-Core<\/a><\/p>\n<p>Publish Date: <a href=\"publish_date]\">2026-03-26 06:10:00<\/a><\/p>\n<p>Source Domain: <a href=\"www.phoronix.com\">www.phoronix.com<\/a><\/p>\n<p>A new set of Linux kernel patches for batch TLB flushing for dirty folios within the kernel&#8217;s vmscan path were recently floated on the Linux kernel mailing list. This batch TLB flushing optimization for dirty folios during memory reclaim can be a significant performance win with today&#8217;s multi-core hardware.<\/p>\n<p>Tencent engineer Zhang Peng sent out the set of patches to improve the Linux kernel&#8217;s behavior when performing page-out in memory reclamation. Currently the function to flush dirty pages from the Translation Lookaside Buffer (TLB) is called for each individual dirty folio, but that can lead to excessive Inter-Processor Interrupts (IPIs) that impact performance of the system.<br \/>\n<\/p>\n<p align=\"center\"><img decoding=\"async\" src=\"https:\/\/www.phoronix.net\/image.php?id=threadripper-5965wx-ram&#038;image=threadripper_8channeL_2_med\" alt=\"Threadripper CPU and lots of RAM\"\/><\/p>\n<p>With the proposed code, dirty folios are queued into batches and then performed a single TLB flush for each of the batches rather than on an individual folio basis.<\/p>\n<p>Using stress-ng to benchmark the kernel behavior was a 26.9% throughput improvement with the five proposed patches.<br \/>\n<\/p>\n<p align=\"center\"><img decoding=\"async\" src=\"https:\/\/www.phoronix.net\/image.php?id=2026&#038;image=batch_folio_flush\" alt=\"benchmark result\"\/><\/p>\n<p>The patch series was originally proposed earlier in March while today brought the v2 patch series in aiming to reduce IPI overhead on multi-core systems.<br \/>\n<br \/><a href=\"https:\/\/www.phoronix.com\/news\/Linux-Better-Reclaim-Multi-Core\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>An Enticing Optimization For Linux Memory Reclaim On Today&#8217;s Multi-Core Platforms https:\/\/www.phoronix.com\/news\/Linux-Better-Reclaim-Multi-Core Publish Date: 2026-03-26&#8230;<\/p>\n","protected":false},"author":1,"featured_media":227754,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.phoronix.net\/image.php?id=threadripper-5965wx-ram&image=threadripper_8channeL_2","fifu_image_alt":"","footnotes":""},"categories":[48],"tags":[71],"class_list":["post-227753","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-linux"],"_links":{"self":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/227753"}],"collection":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/comments?post=227753"}],"version-history":[{"count":1,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/227753\/revisions"}],"predecessor-version":[{"id":227755,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/227753\/revisions\/227755"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media\/227754"}],"wp:attachment":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media?parent=227753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/categories?post=227753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/tags?post=227753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}