Sniper中cache相关的文件
- config文件夹
- gainestown.cfg包含L3 cache的配置情况。嵌套包含了nehalem.cfg文件
- nehalem.cfg包含L2 cache和L1 cache的配置情况。
- sniper默认参数为gainestown.cfg文件
[perf_model/l1_icache]
perfect = false
cache_size = 32
associativity = 4
address_hash = mask
replacement_policy = lru
data_access_time = 4
tags_access_time = 1
perf_model_type = parallel
writethrough = 0
shared_cores = 1
[perf_model/l1_dcache]
perfect = false
cache_size = 32
associativity = 8
address_hash = mask
replacement_policy = lru
data_access_time = 4
tags_access_time = 1
perf_model_type = parallel
writethrough = 0
shared_cores = 1
[perf_model/l2_cache]
perfect = false
cache_size = 256
associativity = 8
address_hash = mask
replacement_policy = lru
data_access_time = 8
tags_access_time = 3
writeback_time = 50
perf_model_type = parallel
writethrough = 0
shared_cores = 1
[perf_model/l2_cache/srrip]
bits[] = 3,3,3,3,3
[perf_model/l3_cache]
perfect = false
cache_block_size = 64
cache_size = 8192
associativity = 16
address_hash = mask
replacement_policy =lru
data_access_time = 30
tags_access_time = 10
perf_model_type = parallel
wri