Benchmark (computing)

Benchmark (computing)
This article is about the use of benchmarks in computing, for other uses see benchmark.

In computing, a benchmark is the act of running a computer program, a set of programs, or other operations, in order to assess the relative performance of an object, normally by running a number of standard tests and trials against it. The term 'benchmark' is also mostly utilized for the purposes of elaborately-designed benchmarking programs themselves.

Benchmarking is usually associated with assessing performance characteristics of computer hardware, for example, the floating point operation performance of a CPU, but there are circumstances when the technique is also applicable to software. Software benchmarks are, for example, run against compilers or database management systems.

Another type of test program, namely test suites or validation suites, are intended to assess the correctness of software.

Benchmarks provide a method of comparing the performance of various subsystems across different chip/system architectures.

Contents

Purpose

As computer architecture advanced, it became more difficult to compare the performance of various computer systems simply by looking at their specifications. Therefore, tests were developed that allowed comparison of different architectures. For example, Pentium 4 processors generally operate at a higher clock frequency than Athlon XP processors, which does not necessarily translate to more computational power. A slower processor, with regard to clock frequency, can perform as well as a processor operating at a higher frequency. See BogoMips and the megahertz myth.

Benchmarks are designed to mimic a particular type of workload on a component or system. Synthetic benchmarks do this by specially created programs that impose the workload on the component. Application benchmarks run real-world programs on the system. Whilst application benchmarks usually give a much better measure of real-world performance on a given system, synthetic benchmarks are useful for testing individual components, like a hard disk or networking device.

Benchmarks are particularly important in CPU design, giving processor architects the ability to measure and make tradeoffs in microarchitectural decisions. For example, if a benchmark extracts the key algorithms of an application, it will contain the performance-sensitive aspects of that application. Running this much smaller snippet on a cycle-accurate simulator can give clues on how to improve performance.

Prior to 2000, computer and microprocessor architects used SPEC to do this, although SPEC's Unix-based benchmarks were quite lengthy and thus unwieldy to use intact.

Computer manufacturers are known to configure their systems to give unrealistically high performance on benchmark tests that are not replicated in real usage. For instance, during the 1980s some compilers could detect a specific mathematical operation used in a well-known floating-point benchmark and replace the operation with a faster mathematically-equivalent operation. However, such a transformation was rarely useful outside the benchmark until the mid-1990s, when RISC and VLIW architectures emphasized the importance of compiler technology as it related to performance. Benchmarks are now regularly used by compiler companies to improve not only their own benchmark scores, but real application performance.

CPUs that have many execution units — such as a superscalar CPU, a VLIW CPU, or a reconfigurable computing CPU — typically have slower clock rates than a sequential CPU with one or two execution units when built from transistors that are just as fast. Nevertheless, CPUs with many execution units often complete real-world and benchmark tasks in less time than the supposedly faster high-clock-rate CPU.

Given the large number of benchmarks available, a manufacturer can usually find at least one benchmark that shows its system will outperform another system; the other systems can be shown to excel with a different benchmark.

Manufacturers commonly report only those benchmarks (or aspects of benchmarks) that show their products in the best light. They also have been known to mis-represent the significance of benchmarks, again to show their products in the best possible light. Taken together, these practices are called bench-marketing.

Ideally benchmarks should only substitute for real applications if the application is unavailable, or too difficult or costly to port to a specific processor or computer system. If performance is critical, the only benchmark that matters is the target environment's application suite.

Challenges

Benchmarking is not easy and often involves several iterative rounds in order to arrive at predictable, useful conclusions. Interpretation of benchmarking data is also extraordinarily difficult. Here is a partial list of common challenges:

  • Vendors tend to tune their products specifically for industry-standard benchmarks. Norton SysInfo (SI) is particularly easy to tune for, since it mainly biased toward the speed of multiple operations. Use extreme caution in interpreting such results.
  • Some vendors have been accused of "cheating" at benchmarks — doing things that give much higher benchmark numbers, but make things worse on the actual likely workload.[1]
  • Many benchmarks focus entirely on the speed of computational performance, neglecting other important features of a computer system, such as:
    • Qualities of service, aside from raw performance. Examples of unmeasured qualities of service include security, availability, reliability, execution integrity, serviceability, scalability (especially the ability to quickly and nondisruptively add or reallocate capacity), etc. There are often real trade-offs between and among these qualities of service, and all are important in business computing. Transaction Processing Performance Council Benchmark specifications partially address these concerns by specifying ACID property tests, database scalability rules, and service level requirements.
    • In general, benchmarks do not measure Total cost of ownership. Transaction Processing Performance Council Benchmark specifications partially address this concern by specifying that a price/performance metric must be reported in addition to a raw performance metric, using a simplified TCO formula. However, the costs are necessarily only partial, and vendors have been known to price specifically (and only) for the benchmark, designing a highly specific "benchmark special" configuration with an artificially low price. Even a tiny deviation from the benchmark package results in a much higher price in real world experience.
    • Facilities burden (space, power, and cooling). When more power is used, a portable system will have a shorter battery life and require recharging more often. A server that consumes more power and/or space may not be able to fit within existing data center resource constraints, including cooling limitations. There are real trade-offs as most semiconductors require more power to switch faster. See also performance per watt.
    • In some embedded systems, where memory is a significant cost, better code density can significantly reduce costs.
  • Vendor benchmarks tend to ignore requirements for development, test, and disaster recovery computing capacity. Vendors only like to report what might be narrowly required for production capacity in order to make their initial acquisition price seem as low as possible.
  • Benchmarks are having trouble adapting to widely distributed servers, particularly those with extra sensitivity to network topologies. The emergence of grid computing, in particular, complicates benchmarking since some workloads are "grid friendly", while others are not.
  • Users can have very different perceptions of performance than benchmarks may suggest. In particular, users appreciate predictability — servers that always meet or exceed service level agreements. Benchmarks tend to emphasize mean scores (IT perspective), rather than maximum worst-case response times (real-time computing perspective), or low standard deviations (user perspective).
  • Many server architectures degrade dramatically at high (near 100%) levels of usage — "fall off a cliff" — and benchmarks should (but often do not) take that factor into account. Vendors, in particular, tend to publish server benchmarks at continuous at about 80% usage — an unrealistic situation — and do not document what happens to the overall system when demand spikes beyond that level.
  • Many benchmarks focus on one application, or even one application tier, to the exclusion of other applications. Most data centers are now implementing virtualization extensively for a variety of reasons, and benchmarking is still catching up to that reality where multiple applications and application tiers are concurrently running on consolidated servers.
  • There are few (if any) high quality benchmarks that help measure the performance of batch computing, especially high volume concurrent batch and online computing. Batch computing tends to be much more focused on the predictability of completing long-running tasks correctly before deadlines, such as end of month or end of fiscal year. Many important core business processes are batch-oriented and probably always will be, such as billing.
  • Benchmarking institutions often disregard or do not follow basic scientific method. This includes, but is not limited to: small sample size, lack of variable control, and the limited repeatability of results.[2]

Types of benchmarks

  1. Real program
    • word processing software
    • tool software of CDA
    • user's application software (MIS)
  2. Microbenchmark
    • Designed to measure the performance of a very small and specific piece of code.
  3. Kernel
    • contains key codes
    • normally abstracted from actual program
    • popular kernel: Livermore loop
    • linpack benchmark (contains basic linear algebra subroutine written in FORTRAN language)
    • results are represented in MFLOPS
  4. Component Benchmark/ micro-benchmark
    • programs designed to measure performance of a computer's basic components [3]
    • automatic detection of computer's hardware parameters like number of registers, cache size, memory latency
  5. Synthetic Benchmark
    • Procedure for programming synthetic benchmark:
      • take statistics of all types of operations from many application programs
      • get proportion of each operation
      • write program based on the proportion above
    • Types of Synthetic Benchmark are:
    • These were the first general purpose industry standard computer benchmarks. They do not necessarily obtain high scores on modern pipelined computers.
  6. I/O benchmarks
  7. Database benchmarks: to measure the throughput and response times of database management systems (DBMS')
  8. Parallel benchmarks: used on machines with multiple processors or systems consisting of multiple machines

Common benchmarks

Industry standard (audited and verifiable)

Open source benchmarks

  • DEISA Benchmark Suite: scientific HPC applications benchmark
  • Dhrystone: integer arithmetic performance
  • Fhourstones: an integer benchmark
  • HINT: It ranks a computer system as a whole.
  • Iometer: I/O subsystem measurement and characterization tool for single and clustered systems.
  • Linpack, traditionally used to measure FLOPS
  • LAPACK[citation needed]
  • Livermore loops
  • NAS parallel benchmarks
  • NBench: synthetic benchmark suite measuring performance of integer arithmetic, memory operations, and floating-point arithmetic
  • PAL: a benchmark for realtime physics engines
  • Phoronix Test Suite: open-source cross-platform benchmarking suite for Linux,OpenSolaris, FreeBSD, OSX and Windows. It includes a number of other benchmarks included on this page to simplify execution.
  • POV-Ray: 3D render
  • Tak (function): a simple benchmark used to test recursion performance
  • TATP Benchmark: Telecommunication Application Transaction Processing Benchmark
  • TPoX: An XML transaction processing benchmark for XML databases
  • Whetstone: floating-point arithmetic performance

Microsoft Windows benchmarks

Others

  • BRL-CAD
  • Khornerstone
  • iCOMP, the Intel comparative microprocessor performance, published by Intel
  • Performance Rating, modeling scheme used by AMD and Cyrix to reflect the relative performance usually compared to competing products.
  • VMmark, a virtualization benchmark suite.[4]
  • Sunspider, a Browser speed test
  • BreakingPoint Systems, modeling and simulation of network application traffic for benchmarking servers and network equipment
  • Glaesemann, K. R.; van Dam, H. J. J.; Carr, J. F. (2011). "MSC Benchmark 1.0". Pacific Northwest National Lab. http://www.emsl.pnl.gov/capabilities/computing/msc/msc_benchmark/. , a benchmark for testing massively parallel computer systems under simultaneously heavy network, memory, and CPU loads.

See also

References

  1. ^ Krazit, Tom (2003). "NVidia's Benchmark Tactics Reassessed". IDG News. http://www.pcworld.com/article/111012/nvidias_benchmark_tactics_reassessed.html. 
  2. ^ Castor, Kevin (2006). "Hardware Testing and Benchmarking Methodology". http://donutey.com/hardwaretesting.php. Retrieved 2008-02-24. 
  3. ^ Ehliar, Andreas; Liu, Dake (PDF). Benchmarking network processors. http://www.da.isy.liu.se/pubs/ehliar/ehliar-ssocc2004.pdf. 
  4. ^ "VMmark Rules 1.1.1" (PDF). VMWare. 2008. http://www.vmware.com.mx/pdf/VMmark_Rules_1.1.1_20080611-1.pdf. 

Further reading

  • Gray, Jim, ed (1993). The Benchmark Handbook for Database and Transaction Systems. Morgan Kaufmann Series in Data Management Systems (2nd ed.). Morgan Kaufmann Publishers, Inc. ISBN 1-55860-292-5. 
  • Scalzo, Bert; Kline, Kevin; Fernandez, Claudia; Burleson, Donald K.; Ault, Mike (2007). Database Benchmarking Practical Methods for Oracle & SQL Server. ISBN 0-9776715-3-4. 
  • Nambiar, Raghunath; Poess, Meikel, eds (2009). Performance Evaluation and Benchmarking. Springer. ISBN 978-3-642-10423-7. 

External links


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Benchmark — may refer to: *Benchmark (surveying), a point of reference for a measurement *Benchmark (crude oil), a reference for and discussion of cost and/or pricing of petroleum, such as Brent Crude and West Texas Intermediate in terms of benchmarks based… …   Wikipedia

  • Benchmark Capital — Infobox Company company name = Benchmark Capital company company type = Limited liability company foundation = 1995 key people = location = industry = Venture Capital products = Investments assets = homepage = [http://www.benchmark.com/… …   Wikipedia

  • High-performance computing — (HPC) uses supercomputers and computer clusters to solve advanced computing problems. Today, computer systems approaching the teraflops region are counted as HPC computers.OverviewThe term is most commonly associated with computing used for… …   Wikipedia

  • Whetstone (benchmark) — The Whetstone benchmark is a synthetic benchmark for evaluating the performance of computers. [Curnow, H.J. and Wichman, B.A. [http://freespace.virgin.net/roy.longbottom/whetstone.pdf A Synthetic Benchmark] Computer Journal , Volume 19, Issue 1,… …   Wikipedia

  • Kannada in computing — The language of Kannada has come a long way in the computing field starting from initial software related to desktop publishing to portals and internet applications in the current age. Kannada is the official language of the state of Karnataka in …   Wikipedia

  • Trustworthy Computing — The term Trustworthy Computing (TwC) has been applied to computing systems that are inherently secure, available and reliable. The Committee on Information Systems Trustworthiness’ publication, Trust in Cyberspace, defines such a system as one… …   Wikipedia

  • Cluster (computing) — A computer cluster is a group of linked computers, working together closely so that in many respects they form a single computer. The components of a cluster are commonly, but not always, connected to each other through fast local area networks.… …   Wikipedia

  • HPC Challenge benchmark — Тип пакет тестов Разработчик Innovative Computing Laboratory, University of Tennessee Написана на Си Первый выпуск 2003 Аппаратная платформа Кросс платформенный Последняя версия …   Википедия

  • HPC Challenge Benchmark — Тип пакет тестов Разработчик Innovative Computing Laboratory, University of Tennessee Написана на Си Первый выпуск 2003 Аппаратная платформа Кросс платформенный Последняя версия 1.4.1 (2010 06 01) …   Википедия

  • Flash mob computing — A flash mob computing (also flash mob computer) is a temporary ad hoc computer cluster running specific software to coordinate the individual computers into one single supercomputer. A flash mob computer is distinct from other types of computer… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”