SPEC2000 测试

来源:互联网 发布:棉花数据 编辑:程序博客网 时间:2024/05/22 01:17

一、下载的文件(没有提到的不需要下载)
1. 测试包spec2000-new-pure.tar.bz2
2. 测试配置文件gcc447.O3.mips3.cfg或gcc447.O3.mips64.cfg(适用于今年(2014)9月份的CentOS6.4版本)

二、使用步骤
1. 解压spec2000-new-pure.tar.bz2 到/home目录下
2. cp gcc447.O3.mips3.cfg   /home/spec2000-new-pure/config
3. vim /home/spec2000-new-pure/bin/runspec 
前两行语句修改为:
#!/home/spec2000-new-pure/bin/specperl
#!/home/spec2000-new-pure/bin/specperl -d

4. vim /home/spec2000-new-pure/bin/specdiff
前两行语句修改为:
#!/home/spec2000-new-pure/bin/specperl
#!/home/spec2000-new-pure/bin/specperl -d

5. 执行测试
(1)多核多线
. shrc
runspec -c gcc447.O3.mips3.cfg -i ref -n 3 -r -u 8 all -i     (-u 后面的数字代表 cpu的核数)
(2)单线绑核
. shrc
runspec -c gcc447.O3.mips3.cfg -i ref -n 3 all -i

0 0
原创粉丝点击