The multi-generational LRU
The multi-generational LRU
Posted Apr 3, 2021 11:27 UTC (Sat) by linusw (subscriber, #40300)Parent article: The multi-generational LRU
My first thought is that as engineers we are good at looking at one thing in isolation and optimize it, as the economists say "ceteris paribus" (all other things being equal).
What I'm asking myself is how other parts of the memory hierarchy affect and play with the LRU mechanism.
Especially the block layer. How does the previous code and this code perform depending on whether we use none, deadline, BFQ or kyber as block scheduler?
Posted Apr 3, 2021 11:39 UTC (Sat)
by Sesse (subscriber, #53779)
[Link] (1 responses)
Posted Apr 3, 2021 11:59 UTC (Sat)
by matthias (subscriber, #94967)
[Link]
At the end these are all heuristics and it is impossible to test all possible combinations. Optimizing one system on its own is hard enough. The more systems you bring in to that equation, the more combinations you will get. And the combinatoric explosion will prohibit to test all possible combinations. This is why it is important that such patches are tested on real life workloads and real life configurations. This way, at least the most important combinations of configuration of subsystems are covered.
The multi-generational LRU
The multi-generational LRU