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

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值