Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. (2 marks) A particular program has an execution time of 12 seconds on a particular system that has a clock rate of 2.5

 

1. (2 marks) A particular program has an execution time of 12 seconds on a particular system that has a clock rate of 2.5 GHz. 8 billion (i.e., 8 x 10%) machine language instructions are executed. What is the CPI? 2. (10 marks) Suppose that the following clock cycles per instruction, and frequencies of usage by a particular program, have been determined for the four instruction types of a particular system with a clock cycle time of 0.5 nanoseconds. Instruction type Clock cycles per instruction Frequency A B C D 3 1 2 4 10% 50% 20% 20% (a) What MIPS rating is achieved for this program on this system? (b) Suppose that the CPU execution time is 0.5 seconds. What must be the number of instructions executed? (c) Suppose that through use of a compiler optimization, it is possible to halve the number of executed type B instructions, with the numbers of all other types of instructions remaining the same. (i) (ii) Would the MIPS rating increase, or would it decrease, when using this optimization? By what percentage would the MIPS rating change? (iii) By what percentage would the CPU execution time decrease?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Computer Organization and Design The Hardware Software Interface

Authors: David A. Patterson, John L. Hennessy

5th edition

124077269, 978-0124077263

More Books

Students also viewed these Programming questions

Question

What is the difference between the remove and discard methods?

Answered: 1 week ago

Question

Prove that if Σ an is absolutely convergent, then a. an

Answered: 1 week ago