Stories
Slash Boxes
Comments

SoylentNews is people

posted by hubie on Friday September 16 2022, @01:19AM   Printer-friendly

https://www.phoronix.com/news/MGLRU-LPC-2022

Hopefully being mainlined next cycle with Linux 6.1 is the Multi-Gen LRU, or better known as MGLRU, as a superior alternative to the kernel's existing page reclamation code. Assuming it lands for Linux 6.1 as the last complete kernel cycle of 2022, this would make it one of the most exciting innovations to make it into the kernel this year.

MGLRU benchmarks continue to look very promising across a wide variety of workloads and a diverse spectrum of hardware. From Chrome OS and Android up through desktops/workstations and even servers, MGLRU is able to often deliver better performance due to being less taxing than the existing page reclamation code that has also been acknowledged as often making poor eviction choices.

Jesse Barnes‎ and Rom Lemarchand, both of Google, presented yesterday at Linux Plumbers Conference 2022 (LPC2022) on the latest MGLRU happenings. They reiterated the expectation that MGLRU should make it to mainline with Linux 6.1, there are numerous kernel downstreams and backports already using the code in production, and benchmarks continue to look promising.

[...] As for the MGLRU prospects for Linux 6.1, Andrew Morton commented that he'd like to move the MGLRU patches to his "mm-stable" branch later this week. Though he has expressed some concern over the level of code review and that code commenting could be improved upon. He's hoping though that things will get pushed along. We'll see when the Linux 6.1 merge window opens up in October if MGLRU is ready for mainline.


Original Submission

This discussion was created by hubie (1068) for logged-in users only, but now has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1)
  • (Score: -1, Spam) by SeriousBlack on Friday September 16 2022, @06:56AM

    by SeriousBlack (18334) on Friday September 16 2022, @06:56AM (#1271935)

    I have a bad feeling about this.

  • (Score: 4, Insightful) by hendrikboom on Friday September 16 2022, @11:48PM (2 children)

    by hendrikboom (1125) on Friday September 16 2022, @11:48PM (#1272034) Homepage Journal

    So what *is* MGLRU? And how does it differ from what's there now?

    • (Score: 1, Offtopic) by acid andy on Saturday September 17 2022, @01:16AM

      by acid andy (1683) Subscriber Badge on Saturday September 17 2022, @01:16AM (#1272049) Homepage Journal

      I don't suppose what's there now was developed by people working for an organization that makes most of its money out of people's data.

      --
      Master of the science of the art of the science of art.
    • (Score: 2, Informative) by Anonymous Coward on Saturday September 17 2022, @03:28AM

      by Anonymous Coward on Saturday September 17 2022, @03:28AM (#1272062)

      During memory management the system uses the LRU algorithm to decide what to page and what to scrap (or reclaim). The current LRU uses two lists to decide what memory pages it can free up: active and inactive pages. The MGLRU is the multi-generational LRU because it adds a few more lists with different ages (or "generations").

      If you want a much better description [lwn.net].

(1)