Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 2. [30 Marks The following tables summarizes the instructions present in some program (Table 1) as well as two different processors (Table 2) OperationFreguency

image text in transcribed

Exercise 2. [30 Marks The following tables summarizes the instructions present in some program (Table 1) as well as two different processors (Table 2) OperationFreguency OperationProcessor 1 Processor 2 ALU Load Store ranch 1500 800 600 100 ALU Load Store Branch 6 Table 1: Program Instructions Table 2: Processor Instruction Cycles (a) [5 Marks] Calculate the ideal CPI of this program running on Processor 1 (b) [5 Marks Calculate the ideal CPI of this program running on Processor 2 (c) [5 Marks] Assuming that Processor 1 operates at 2.5 GHz and Processor 2 operates at 2.7 GHz calculate the CPU time for the program when run on each processor. On which processor is the program faster? (d) [5 Marks In terms of the three factors calculating CPU time (instruction count, CPI, clock frequency) explain why the processor from part (c) is the faster one. How could a programmer change the program described in Table 1 so that it would run faster on the other processor? (e) [10 Marks] Calculate the CPU time of the program described in Table 1 running on Processor 1 (at 2.5 GHz) when also considering memory stall cycles (and thus have CPU time calculated using CPIstall). Assume this processor has one level of cache, an instruction miss rate of 2%, a data miss rate of 5% and a miss penalty of 100 cycles

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

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions

Question

107 MA ammeter 56 resistor ? V voltmeter

Answered: 1 week ago

Question

Generally If Drug A is an inducer of Drug B , Drug B levels will

Answered: 1 week ago