https://developer.amd.com/wordpress/media/2012/10/building_speccpu.html

Building SPEC CPU2006

This file documents the use of the x86 Open64 Compiler Suite.

2009 Advanced Micro Devices, Inc.

 
 

Building SPEC CPU2006

CPU2006 is SPEC's current-generation processor benchmark suite that stresses a system's processor, memory subsystem and compiler. SPEC designed CPU2006 to provide a comparative measure of compute-intensive performance across the widest practical range of hardware using workloads developed from real user applications. These benchmarks are provided as source code and require the user to be comfortable using compiler commands as well as other commands via a command interpreter using a console or command prompt window in order to generate executable binaries. The current version of the benchmark suite is V1.1, released in June 2008. In order to build and run SPEC CPU2006, you will need to download the benchmark kit, install it, then build and test the component programs. These steps, and any known limitations, are described in the sections below.

The URL for the home page for this benchmark suite is SPEC CPU2006.

Download: In order to download the SPEC CPU2006 benchmarks, a license is required.  An online order form can be found here.  Once SPEC membership has been acquired, the benchmark kit can be downloaded from https://pro.spec.org/private/osg/cpu/cpu2006/src/cpu2006-1.1.tar.bz2.  This site is password protected.

Installing the Kit

By convention, create a local directory on the system where you will build the benchmarks and run them called “CPU2006”.  In that directory, excute the following commands:

>bzcat cpu2006-1.1.tar.bz2 | tar xvf –

>./install.sh

Enter “yes” to the prompt.  Once complete, see the “Docs” subdirectory, which includes html format documentation on the SPEC harness and how to use it.

Building SPEC CPU2006

Building SPEC benchmarks is done using the SPEC harness.  The first command to execute in the CPU2006 directory is:

>. ./shrc

This will set the value of the $SPEC environment variable to the directory CPU2006.  The commands provided by the SPEC harness can be found in $SPEC/bin.  Example configuration files can be found in $SPEC/config.

The configuration file is used to specify the compiler invocation command, libraries to be used, compiler flags for each benchmark, etc.  This “config” file is also updated with MD5 checksums so that flag changes can be detected by the harness and benchmarks rebuilt only as needed.  More information on how the MD5 checksums are used can be found in the SPEC documentation.

The documentation also describes the SPEC run and reporting rules.  A “reportable” SPEC run is one that is suitable for submission to SPEC and eligible to be displayed on their results web pages.  Reportable runs must follow strict requirements for documentation, MD5 checksums, and must run each individual benchmark program three times.  However, it is also possible to do a non-reportable run with much less time and effort.

An example configuration file for building and running the SPEC benchmarks can be found in Example-open64.cfg.  This file assumes the Barcelona microarchitecture and is configured for a single-core target run with no auto-parallelization.  However, it is very similar to actual configuration files used for published SPEC results.  You can issue the following command to build and run all of the SPEC benchmarks using this configuration file:

     >runspec --loose --size=ref --iterations=1 --config=Example-open64 all

See the SPEC documentation for more details on the “runspec” command.  Below is a variation of the above command which limits the building and running to a single named benchmark, and only using the BASE flags.

     >runspec --loose --size=ref --iterations=1 --config=Example-open64 --tune=base perlbench
 
It is also possible to build the SPEC benchmarks without running them. Adding the option “—action=build” will build but not run the specified benchmarks.
It is also possible to “bundle” the resulting benchmark binaries and configuration file so they can be transported to a second system and executed there.
Please see the SPEC documentation for more details on these advanced features.
 

Known Limitations

There are no known limitations.

Building SPEC CPU2006的更多相关文章

  1. SPEC CPU2006的安装和使用

    https://www.spec.org/download.html http://blog.lazzzy.xyz/2017/09/15/SPEC_CPU2006/ BenchMark SPEC CP ...

  2. spec cpu2006 官网

    https://www.spec.org/cpu2006/Docs/install-guide-unix.html

  3. 【转载】]基于RedHatEnterpriseLinux V7(RHEL7)下SPEC CPU 2006环境搭建以及测试流程 介绍、安装准备、安装、config文件以及运行脚本介绍

    https://www.codetd.com/article/1137423 <版权声明:本文为博主原创文章,未经博主允许不得转载> 本次利用SPECCPU2006测试工具来进行Intel ...

  4. 【转载】基于RedHatEnterpriseLinux V7(RHEL7)下SPEC CPU 2006环境搭建以及测试流程(之一)——介绍、安装准备、安装、config文件以及运行脚本介绍

    基于RedHatEnterpriseLinux V7(RHEL7)下SPEC CPU 2006环境搭建以及测试流程(之一)--介绍.安装准备.安装.config文件以及运行脚本介绍 其他 2018-0 ...

  5. kvm 性能调优

    CPU Tuning Cache share tuning 对于物理 CPU,同一个 core 的 threads 共享 L2 Cache,同一个 socket 的 cores 共享 L3 cache ...

  6. 转-4年!我对OpenStack运维架构的总结

    4年!我对OpenStack运维架构的总结 原创: 徐超 云技术之家 今天 前言 应“云技术社区”北极熊之邀,写点东西.思来想去云计算范畴实在广泛,自然就聊点最近话题异常火热,让广大云计算从业者爱之深 ...

  7. 网易OpenStack部署运维实战

    OpenStack自2010年项目成立以来,已经有超过200个公司加入了 OpenStack 项目,目前参与 OpenStack 项目的开发人员有 17,000+,而且这些数字还在增加,作为一个开源的 ...

  8. [转帖]你不曾见过的国产CPU:可能是最全的龙芯系列芯片家谱(下)

    你不曾见过的国产CPU:可能是最全的龙芯系列芯片家谱(下) https://www.ijiwei.com/html/news/newsdetail?source=pc&news_id=7177 ...

  9. [知乎]这可能是最全面的龙芯3A3000处理器评测

    这可能是最全面的龙芯3A3000处理器评测 第一千零一个人   已关注 蓬岸 Dr.Quest . https://zhuanlan.zhihu.com/p/50716952 这里面链接很全. 立党 ...

随机推荐

  1. 3w 字长文爆肝 Java 基础面试题!太顶了!!!

    hey guys ,这不是也到了面试季了么,cxuan 又打算重新写一下 Java 相关的面试题,先从基础的开始吧,这些面试题属于基础系列,不包含多线程相关面试题和 JVM 相关面试题,多线程和 JV ...

  2. 痞子衡嵌入式:从头开始认识i.MXRT启动头FDCB里的lookupTable

    大家好,我是痞子衡,是正经搞技术的痞子.今天痞子衡给大家介绍的是i.MXRT启动头FDCB里的lookupTable. 一个MCU内部通常有很多外设模块,这些外设模块是各MCU厂商做差异化产品的本质, ...

  3. C# WebView2 在你的应用中使用Chromium内核

    什么是WebView2? Win10上对标Edge浏览器 Chromium内核 简单的可视为WebBrowser组件的升级版 如何使用WebView2? 官网下载 WebView2 RunTime V ...

  4. (十)struts2的异常处理机制

    成熟的MVC框架应该提供成熟的异常处理机制.当然可以在方法中手动捕捉异常,当捕捉到特定异常时,返回特定逻辑视图名. 这种方式非常繁琐,需要在方法中写大量try catch块,最大的缺点还是一旦需要改变 ...

  5. 京东效率专家带你快速落地DevOps

    行业内的公司纷纷在招聘DevOps工程师,企业的DevOps转型看起来迫在眉睫,公司内部也要设计和开发DevOps平台,DevOps已经成为了所有IT从业人员应知应会的必备技能. 为你提供一套清晰的D ...

  6. JMeter自定义采样器插件开发

    JMeter自定义采样器插件开发 目录 JMeter自定义采样器插件开发 1. 简介 2. 需求简介 3.成品展示 成功展示 失败展示 4. 准备开发环境 4.1 准备pom文件 4.2 新建Java ...

  7. JDBC_06_处理查询结果集

    JDBC处理查询结果集 * ResultSet resultSet=null 结果集对象 * executeQuery(select) 执行SQL查询语句需要的使用executeQuery方法 * i ...

  8. String a=new String("abc")创建了几个对象

    String str=new String("abc");   紧接着这段代码之后的往往是这个问题,那就是这行代码究竟创建了几个String对象呢? 相信大家对这道题并不陌生,答案 ...

  9. 【全网首发】鸿蒙开源三方组件--跨平台自适应布局yoga组件

    目录: 1.介绍 2.如何使用 3.集成方式 4.附录1:FlexBox科普 5.附录2:相关资料 介绍 yoga是facebook打造的一个跨IOS.Android.Window平台在内的布局引擎, ...

  10. 爬虫简介、requests 基础用法、urlretrieve()

    1. 爬虫简介 2. requests 基础用法 3. urlretrieve() 1. 爬虫简介 爬虫的定义 网络爬虫(又被称为网页蜘蛛.网络机器人),是一种按照一定的规则,自动地抓取万维网信息的程 ...