Iron Law Of Processor Performance
   HOME

TheInfoList



OR:

In computer architecture, the iron law of processor performance (or simply iron law of performance) describes the performance trade-off between complexity and the number of primitive instructions that processors use to perform calculations. This formulation of the trade-off spurred the development of Reduced Instruction Set Computers (RISC) whose instruction set architectures (ISAs) leverage a smaller set of core instructions to improve performance. The term was coined by Douglas Clark based on research performed by Clark and
Joel Emer Joel S. Emer (born March 2, 1954) is a pioneer in computer performance analysis techniques and a microprocessor architect. He is currently a researcher at Nvidia, and a Professor of the Practice at MIT, and was formerly an Intel Fellow. He was th ...
in the 1980s.


Explanation

The performance of a processor is the time it takes to execute a program: \tfrac. This can be further broken down into three factors: \mathrmSelection of an
instruction set architecture In computer science, an instruction set architecture (ISA), also called computer architecture, is an abstract model of a computer. A device that executes instructions described by that ISA, such as a central processing unit (CPU), is called an ' ...
affects \mathrm, whereas \mathrm is largely determined by the manufacturing technology. Classic Complex Instruction Set Computer (CISC) ISAs optimized \mathrm by providing a larger set of more complex CPU instructions. Generally speaking, however, complex instructions inflate the number of clock cycles per instruction \mathrm because they must be decoded into simpler ''micro-operations'' actually performed by the hardware. After converting X86 binary to the micro-operations used internally, the total number of operations is close to what is produced for a comparable RISC ISA. The iron law of processor performance makes this trade-off explicit and pushes for optimization of \mathrmas a whole, not just a single component. While the iron law is credited for sparking the development of RISC architectures, it does not imply that a simpler ISA is always faster. If that were the case, the fastest ISA would consist of simple binary logic. A single CISC instruction ''can'' be faster than the equivalent set of RISC instructions when it enables multiple micro-operations to be performed in a single clock cycle. In practice, however, the regularity of RISC instructions allowed a pipelined implementation where the total execution time of an instruction was (typically) ~5 clock cycles, but each instruction followed the previous instruction ~1 clock cycle later . CISC processors can ''also'' achieve higher performance using techniques such as modular extensions, predictive logic,
compressed instructions A compressed instruction set, or simply compressed instructions, are a variation on a microprocessor's instruction set architecture (ISA) that allows instructions to be represented in a more compact format. In most real-world examples, compressed ...
, and macro-operation fusion.


See also

*
Reduced instruction set computer In computer engineering, a reduced instruction set computer (RISC) is a computer designed to simplify the individual instructions given to the computer to accomplish tasks. Compared to the instructions given to a complex instruction set comput ...
* Classic RISC pipeline


References

Computer architecture statements Rules of thumb {{compu-eng-stub