caching:缓存模拟 LRU 与 ARC

时间:2021-06-10 01:49:44
【文件属性】:
文件名称:caching:缓存模拟 LRU 与 ARC
文件大小:48.95MB
文件格式:ZIP
更新时间:2021-06-10 01:49:44
C 缓存 一个模拟最近最少使用(lru)和自适应替换缓存(acr)等不同缓存替换策略的项目。 模拟是在真实的应用程序缓存跟踪上完成的。 建造 要构建项目,请执行以下操作: make 测试 要运行所有测试,请执行以下操作: make test 如果测试运行时间太长,并且您想并行运行它们,请执行以下操作: make test -j 在general.asu.edu上,测试在大约 4 分钟内完成。 输入 示例输入位于trace目录中。 格式为: 起始块:缓存请求的起始块。 块数:从起始块开始的块数。 这模拟了局部性的概念。 忽略 请求编号:请求编号; 想想线计数器。 这些字段反映在main.c中的trace_line结构中。 typedef struct { int starting_block; int number_of_blocks; int ignore;
【文件预览】:
caching-master
----.gitignore(21B)
----main.c(3KB)
----README.md(3KB)
----traces()
--------P4.lis(18.1MB)
--------P5.lis(21.19MB)
--------P7.lis(14.15MB)
--------P3.lis(4.38MB)
--------DS1.lis(36.6MB)
--------P1.lis(34.67MB)
--------P12.lis(10.43MB)
--------P6.lis(10.23MB)
--------P2.lis(12.63MB)
--------OLTP.lis(10.24MB)
----analysis.ods(48KB)
----cache.c(5KB)
----map.h(549B)
----output.txt(16KB)
----plot-arc.png(44KB)
----list.c(1KB)
----map.c(2KB)
----list.h(466B)
----cache.h(622B)
----Makefile(804B)
----plot-vs.png(48KB)
----debug(37B)
----report.pdf(168KB)
----pdfs()
--------paper.pdf(366KB)
--------description.pdf(852KB)
--------presentation.pdf(484KB)
----plot-lru.png(45KB)

网友评论