Skip to content

arche8/LRU-K

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

LRU-K algorithm

Theoretical information

LRU-K evicts the page whose K-th most recent access is furthest in the past. For example, LRU-1 is simply LRU whereas LRU-2 evicts pages according to the time of their penultimate access. LRU-K improves greatly on LRU with regards to locality in time.
More information: Wiki, Scientific Article.

Work example(LRU-1)

The access sequence for the below example is A B C D E D F.
Screen

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 91.7%
  • Python 7.4%
  • Makefile 0.9%