CPU性能评估标准
来源:互联网 发布:encode数据库使用 编辑:程序博客网 时间:2024/06/04 18:50
Dhrystone vs Whetstone
The Dhrystone benchmark contains no floating point operations, thus the name is a pun on the then-popular Whetstone benchmark for floating point operations. The output from the benchmark is the number of Dhrystones per second (the number of iterations of the main code loop per second).
Both Whetstone and Dhrystone are synthetic benchmarks, meaning that they are simple programs that are carefully designed to statistically mimic some common set of programs. Whetstone, developed in 1972, originally strove to mimic typical Algol 60 programs based on measurements from 1970, but eventually became most popular in its Fortran version. Whetstone thus reflected the highly numerical orientation of computing in the 1960s.
Issues addressed by Dhrystone
Dhrystone's eventual importance as an indicator of general-purpose ("integer") performance of new computers made it a target for commercial compiler writers. Various modern compiler techniques (such as dead code elimination) make the use and design of synthetic benchmarks more difficult. Version 2.0 of the benchmark, released by Weicker and Richardson in March of 1988, had a number of changes intended to foil a range of compiler techniques. Yet it was carefully crafted so as not to change the underlying benchmark. This effort to foil compilers was only partly successful. Dhrystone 2.1, released in May of the same year, had some minor changes and remains the current definition of Dhrystone.
Other than issues related to compiler optimization, various other issues have been cited with the Dhrystone. Most of these were understood at the time of its publication in 1984 - including the small code size and small data set size. More subtle is the slight over-representation of string operations, which is largely language related: both Ada and Pascal have strings as first class citizens in the language, whereas C does not, so what was simple variable assignments in reference benchmarks became buffer copy operations in the C library.
Dhrystone remains remarkably resilient as a simple benchmark. It is easy to use, well documented, is fully self-contained, is well understood, and can be made to work on almost any system. In particular, it has remained in broad use in the embedded computing world, though the recently developed EEMBC benchmark suite as well as HINT, Stream, and even Bytemark are widely quoted and used, as well as more specific benchmarks for memory subsystem (Cachebench), TCP/IP (TTCP), and many others. Still, 20 years of continued use is quite a testament to Weicker's careful design and foresight.
Results
Dhrystone tries to represent the result more meaningfully than MIPS (million instructions per second), because MIPS cannot be used across different instruction sets (e.g. RISC vs. CISC) for the same computation requirement from users. Thus, the main score is just Dhrystone loops per second. Another common representation of the Dhrystone benchmark is the DMIPS - Dhrystone MIPS - obtained when the Dhrystone score is divided by 1,757 (the number of Dhrystones per second obtained on the VAX 11/780, nominally a 1 MIPS machine).
摘自wiki
另外自己也补充一点
Whetstones
Whetstone is a benchmark test which attempts to measure the speed and efficiency at which a computer performs floating-point operations. The result of the test is given in units called kilo-whetstones-per-second or KWIPS.
The Whetstone is a synthetic benchmark designed to measure the behavior of scientific programs. It contains several modules that are meant to represent a mix of operations typically performed in scientific applications. A wide variety of C functions including sin, cos, sqrt, exp, and log are used as well as integer and floating-point math operations, array accesses, conditional branches, and procedure calls. The primary aim of this benchmark is to measure the performance of both integer and floating-point arithmetic.
Dhrystones
Dhrystone is a general-performance benchmark test originally developed by Reinhold Weicker in 1984. This benchmark is used to measure and compare the performance of different computers or, in this case, the efficiency of the code generated for the same computer by different compilers. The test reports general performance in Dhrystone per second.
Like most benchmark programs, Dhrystone consists of standard code and concentrates on string handling. It uses no floating-point operations. It is heavily influenced by hardware and software design, compiler and linker options, code optimizing, cache memory, wait states, and integer data types.
from http://www.keil.com/benchmarks/
- CPU性能评估标准
- CPU性能评估标准
- CPU性能评估标准
- 性能评估 之 CPU
- Linux下CPU性能评估
- AIX 5.3主机性能评估-CPU性能评估
- 探索评估cpu性能的方法
- 【学习笔记】Linux下CPU性能评估
- CPU性能判断标准:CPU性能=IPC×频率
- 服务器性能评估(cpu,内存,磁盘IO)
- 服务器性能评估(cpu,内存,磁盘IO)
- 服务器性能评估(cpu,内存,磁盘IO)
- 性能评估
- 性能评估
- 性能评估
- 评估LED的标准
- 数据质量评估标准
- 评估图像质量评价算法性能的几个常用的标准
- 今天看简历的一点感想
- 陈皓专栏,不错的博客
- Highlight with TMemo Impossible
- 疯狂的程序员
- 汇编(一)——微处理器结构
- CPU性能评估标准
- 2003 DNS DHCP 备份 与 恢复
- 汇编(二)——存储器组织与段寄存器
- 利用RAR实现文件压缩解压缩
- 汇编(三)——8086的寻址方式
- 解决:访问网站时要输入密码
- 汇编(四)——指令系统
- 网页制作真的那么简单?
- 2007年12月全球十大搜索引擎