A processor which takes on the average 1.2 clock cycles. What would be the MIPS value?

Computer Organization and Software Systems

Consider a processor which takes on the average 1.2 clock cycles to execute an instruction. What would be the MIPS (Million Instructions Per Second) value of the CPU if it is driven by a 480 MHz clock?

Answer:

MIPS = f/CPI*10^6

MIPS = 480 x 10^6/ 1.2* 10^6

MIPS = 400

Explanation

MIPS refers to the millions of instructions per second executed by a computer’s processor.
For calculation you need to know
1. Processor’s number of instructions per second
2. Execution time
3. CPU processor speed (cycles per second)
4. CPI (average clock cycles per instruction)

Example 1
Computer completed 2 million instructions
Time taken to complete : 0.10 seconds
Therefore :
2 million/0.10 = 20 million.
No of MISP = 20 million/1 million
No of MISP = 20

Example 2
Computer CPU = 400 megahertz
CPI = 2
Therefore : 400/2=200
No of MISP = 200/1 million
No of MISP = 0.0002

Author: user

Leave a Reply