Google releases multilevel LRU patches for Linux

Google has provided patches with an improved implementation of the LRU mechanism for Linux. LRU (Least Recently User) is a mechanism that allows you to discard or swap unused memory pages. According to Google, the current implementation of the page eviction mechanism creates too high a load on the CPU, and also often makes poor decisions about which pages to unload.

In experiments conducted by the company, the new implementation of LRU reduced the number of forced terminations of programs due to lack of memory in the system (OOM kill) by 18%, in Chrome OS the number of discarded browser tabs due to lack of memory decreased by 96% and decreased by 59%. the number of OOM kills in loaded devices. This is the second version of the patches, where the performance regression and other shortcomings noticed during testing have been fixed.

Source: opennet.ru

Add a comment