lru - how to determine a page(or file) is least used.how to determine calculate method,which is about Least Recently Used -


I know about the LRU algorithm, but determining how to calculate is a critical point. If the space is not enough, then I want to find the weight of some files which are below, then remove them and put them in the weight of some files which are high loads. Has this ever happened?

Here are some implementations:

1)

2)

3)

Comments

Popular posts from this blog

php - how to change mysql_result($res, 0, "url"); to mysqli -

Delphi: missing interface declarations for UI Automation methods -

android - How to attach an image from an app to gmail -