portworx / lcfs

LCFS Graph driver for Docker
Apache License 2.0
300 stars 27 forks source link

Global LRU for block cache #27

Closed jjobi closed 7 years ago

jjobi commented 7 years ago

There is no global LRU maintained for block cache and that could turn out to be a problem for certain workloads. Pages are purged from block cache when usage is above limit, based on count tracking number of hits on it, but that does not account recently inserted pages. Figure out a better scheme possibly without adding more global locking.