Implementation and evaluation of LRU-K buffer management algorithm