Google has introduced patches with an improved implementation of the LRU mechanism for Linux. LRU (Least Recently Used) is a mechanism that allows for the eviction or swapping of unused memory pages. According to Google, the existing implementation of the page eviction mechanism places too much load on the CPU and often makes poor decisions about which pages to evict.
In experiments conducted by the company, the new LRU implementation reduced the number of forced program terminations due to memory shortages (OOM kills) by 18%, while Chrome OS saw a 96% decrease in discarded browser tabs due to low memory, and a 59% reduction in OOM kills on overloaded devices. This is the second version of the patches, where performance regressions and other noted issues during testing have been addressed.
Source: opennet.ru
