If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
Google Proposes Multi-Generational LRU For Linux To Yield Much Better Performance
Google is one of the largest contributors to the Linux kernel, and Google engineers aren't necessarily as evil as the company they work for. Same for Facebook.
I'm running 5.12-rc2 with the LRU patches right now and nothing is obviously broken. What PTS tests should I run to best view performance improvements? I have an rc2 without the patches I want to compare side by side.
I'm thinking some kind of random rw tests on a bigger than ram tmpfs.
Google is one of the largest contributors to the Linux kernel, and Google engineers aren't necessarily as evil as the company they work for. Same for Facebook.
And Microsoft, and Oracle. While one might not agree with any particular corporate policy, the resources (i.e. money) they put into Linux should be welcomed.
I'm running 5.12-rc2 with the LRU patches right now and nothing is obviously broken. What PTS tests should I run to best view performance improvements? I have an rc2 without the patches I want to compare side by side.
I'm not sure which tests you can run but if you use a low RAM machine with a modest CPU and give it a really slow swap medium (HDD / SD Card), the performance differences between old and new swapping methods will likely be very obvious.
It would be nice if someone could post backports of this patch sets for previous kernels. So we can try them on sbc's which tend to be tight on ram.
Well, it depends on your SBC, but maybe your kernel should be newer, instead of backporting performance improvements (though that's not to say you couldn't do it).
Very cool. Always room in my heart for better algorithms that are simpler to implement than inferior ones; and I will have to look at this paper for work now, since one of the problems we have is very similar to this problem.
Hi, I'm one of the Google engineers who work on the multigenerational LRU. We'd be happy to work with you, if you are interested.
Comment