3 ms·
TinyLFU+FIFO is in the simulator (https://github.com/ben-manes/caffeine/wiki/Simulator https://github.com/ben-manes/caffeine/wiki/Simulator). However, you'd pro
by NovaX 11y ago
TinyLFU+FIFO is in the simulator (https://github.com/ben-manes/caffeine/wiki/Simulator https://github.com/ben-manes/caffeine/wiki/Simulator). However, you'd probably also want the window cache to correct the deficiency outlined in the updated paper (http://arxiv.org/pdf/1512.00727.pdf http://arxiv.org/pdf/1512.00727.pdf). A FIFO version with that isn't in the simulator, but would be easy to add.
mutli1 trace
- W-TinyLFU: 55.6%
- TinyLFU+Random: 53.8%
- TinyLFU+FIFO: 48.6%
- TinyLFU+LRU: 54.8%
- FIFO: 41.0%
- LRU: 46.7%
FIFO's poor choice of a victim has a big impact, so it doesn't seem promising. A random policy looks like an attractive fit, though.