{"id":280908,"date":"2026-06-24T17:19:00","date_gmt":"2026-06-24T21:19:00","guid":{"rendered":"https:\/\/news-you-need.com\/index.php\/2026\/06\/24\/mglru-improvement-yielding-nice-gains-on-linux-7-2-mongodb-30100-higher-throughput\/"},"modified":"2026-06-24T18:00:10","modified_gmt":"2026-06-24T22:00:10","slug":"mglru-improvement-yielding-nice-gains-on-linux-7-2-mongodb-30100-higher-throughput","status":"publish","type":"post","link":"https:\/\/news-you-need.com\/index.php\/2026\/06\/24\/mglru-improvement-yielding-nice-gains-on-linux-7-2-mongodb-30100-higher-throughput\/","title":{"rendered":"MGLRU Improvement Yielding Nice Gains On Linux 7.2: MongoDB 30~100% Higher Throughput"},"content":{"rendered":"<p><a href=\"https:\/\/www.phoronix.com\/news\/Linux-7.2-MM\">MGLRU Improvement Yielding Nice Gains On Linux 7.2: MongoDB 30~100% Higher Throughput<\/a><\/p>\n<p><a href=\"https:\/\/www.phoronix.com\/news\/Linux-7.2-MM\">https:\/\/www.phoronix.com\/news\/Linux-7.2-MM<\/a><\/p>\n<p>Publish Date: <a href=\"publish_date]\">2026-06-24 17:19:00<\/a><\/p>\n<p>Source Domain: <a href=\"www.phoronix.com\">www.phoronix.com<\/a><\/p>\n<p>The many memory management &#8220;MM&#8221; related improvements were recently merged to Git for the Linux 7.2 kernel. As typical most kernel cycles, some of the low-level improvements can yield nice efficiency wins and better performance in different areas.<\/p>\n<p>The items I found most interesting with the MM feature changes for the Linux 7.2 kernel included:\n<\/p>\n<p>&#8211; Improving MGLRU&#8217;s reclaim loop and dirty writeback handling. The patch series yields up to  a 30% increase in some workloads such as MongoDB with YCSB. With slow I\/O, some benchmarks like MongoDB may be as much as a 100% gain where as the 30% increase was with NVMe storage. The benchmark results from the patch series for improving MGLRU&#8217;s reclaim loop and dirty folio handling are pretty wild. It will be interesting to see what other workloads may benefit from this improvement.<br \/>\n<\/p>\n<p align=\"center\"><img decoding=\"async\" src=\"https:\/\/www.phoronix.net\/image.php?id=2026&#038;image=linux_72_mglru\" alt=\"Linux 7.2 MGLRU MongoDB benchmark\"\/><\/p>\n<p>&#8211; Faster freeing of 0-order pages by doing it more efficiently by freeing a contiguous set of order-0 pages as a batch. In turn this addresses some performance regressions noted last year in vmalloc performance. This mainly benefits vfree() and releasing of frozen pages.<\/p>\n<p>&#8211; Support for pausing and resuming DAMON without losing its current state.\n<\/p>\n<p>&#8211; Extending DAMON for monitoring general data attributes other than just accesses.\n<\/p>\n<p>&#8211; Speeding up of the Kernel Address Sanitizer (KASAN) by removing its ineffective tagging of stacks and page tables.\n<\/p>\n<p>&#8211; Tightening of the mmap_miss hit accounting that yields a significant reduction in synchronous mmap readahead I\/O and cuts down execution time and gigabytes read for sparse random and strided memory access workloads. This is showing some nice improvements.\n<\/p>\n<p>&#8211; Unifying the allocation and charging of anon and shared memory swap in folios to provide better synchronization and enhanced performance.\n<\/p>\n<p>More details on the many MM changes for Linux 7.2 via the main MM pull request  that is already merged to Git.<\/p>\n<p><a href=\"https:\/\/www.phoronix.com\/news\/Linux-7.2-MM\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>MGLRU Improvement Yielding Nice Gains On Linux 7.2: MongoDB 30~100% Higher Throughput https:\/\/www.phoronix.com\/news\/Linux-7.2-MM Publish Date:&#8230;<\/p>\n","protected":false},"author":1,"featured_media":280912,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"https:\/\/www.phoronix.net\/image.php?id=2026&image=linux_72_mglru","fifu_image_alt":"","footnotes":""},"categories":[48],"tags":[71],"class_list":["post-280908","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\/280908"}],"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=280908"}],"version-history":[{"count":1,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/280908\/revisions"}],"predecessor-version":[{"id":280915,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/posts\/280908\/revisions\/280915"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media\/280912"}],"wp:attachment":[{"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/media?parent=280908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/categories?post=280908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/news-you-need.com\/index.php\/wp-json\/wp\/v2\/tags?post=280908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}