錯誤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都可以正常運行了。