gem5运行spec2006出现的fatal的解决方案

错误1:

fatal: Out of memory, please increase size of physical memory.

解决方案:

是默认的内存设置太小了,可以通过在configure的se.py脚本中进行修改,自定义内存大小,具体设置如下:

np = options.num_cpus
memsize = options.mem_size # sff modify the memory size
memsize = "4096MB"
system = System(cpu = [CPUClass(cpu_id=i) for i in xrange(np)],
                mem_mode = test_mem_mode,
                mem_ranges = [AddrRange(memsize)],
                cache_line_size = options.cacheline_size)

错误2

是使用最新版的gem5运行403 450 450等时出现以下错误:
fatal: FuncPageTable::allocate: addr already mapped

解决方案

https://github.com/gem5/gem5/releases
下载安装稳定版stable_2015_09_03 ,则这些benchmark都可以正常运行了。

你可能感兴趣的:(GEM5)