搜索资源列表
cache
- 实现cache替换算法,思路是改进的LRU和LFU算法,在一定程度上提高了原来的LRU算法的命中率。-Achieve cache replacement algorithm, idea is to improve the LRU and LFU algorithms, to a certain extent, the original LRU algorithm to improve the hit rate.
Online_RandMarkingAlgorithm
- 本程序解决的是:模拟类似计算机主、缓存的存储结构,当用户请求某个页面时,若某个页面已在缓存中,则直接从缓存中去取,不会产生失误(即未在缓存中命中),否则,就到主存中去取,代价变大。 本程序采用随机标记算法,即在在线标记算法的基础上,对于替换页面时,采用随机从未标记的缓存项中选出一项进行替换。 代码、文档详尽-Addressed in this program are: analog computer-like main, cache storage structure, wh
cache
- cache 模拟器:支持LRU和random两种替换策略-cache simulator: support LRU and random replacement strategies
