Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

I need help with these questions and also can you show work as well? Question 1 and 2 1. Consider a computer A executes some

I need help with these questions and also can you show work as well? Question 1 and 2

image text in transcribed

1. Consider a computer A executes some program and the analysis performed on such system reveals that it takes: Instruction Frequency Clock Cycles ALU 47 21 5 STORE BRANCH 9 13 | JUMP LOAD wwUUN a. Assuming a clock frequency of 3.4 GHz, calculate the average CPI for the above program. [3 Marks] b. Assuming a clock frequency of 3.4 GHz, calculate the throughput for the above system. [3 Marks] C. If the clock frequency is increased by 20%, which results in the increment of CPI of ALU of 50% and LOAD instruction of 20%, while all other instructions executing with the same CPI, calculate the average CPI, throughput and the average speedup with respect to above. Determine which case is better: pervious system with frequency 3.4 or this new revised system. [3+3+3 + 3 Marks] 2. Consider a system A with 3.4 GHz clock where each ALU instruction takes 2 clock cycles, each branch/jump instruction takes 3 clock cycles, each store word and load word take 5 and 5 clock cycles respectively. Assume that a program Xhas 100 million ALU instructions, 25 million branch/jump instructions, 20 million store word instructions and 20 million load word instruction. a. Assuming sequential execution, what is the CPU time when the system A execute this program X? Also, calculate the CPI. [3 + 3 Marks] b. Assume parallel execution between ALU and branch/jump instructions, what is the CPU time when the system A execute this program X? Also, calculate the CPI. [3 + 3 Marks] 1. Consider a computer A executes some program and the analysis performed on such system reveals that it takes: Instruction Frequency Clock Cycles ALU 47 21 5 STORE BRANCH 9 13 | JUMP LOAD wwUUN a. Assuming a clock frequency of 3.4 GHz, calculate the average CPI for the above program. [3 Marks] b. Assuming a clock frequency of 3.4 GHz, calculate the throughput for the above system. [3 Marks] C. If the clock frequency is increased by 20%, which results in the increment of CPI of ALU of 50% and LOAD instruction of 20%, while all other instructions executing with the same CPI, calculate the average CPI, throughput and the average speedup with respect to above. Determine which case is better: pervious system with frequency 3.4 or this new revised system. [3+3+3 + 3 Marks] 2. Consider a system A with 3.4 GHz clock where each ALU instruction takes 2 clock cycles, each branch/jump instruction takes 3 clock cycles, each store word and load word take 5 and 5 clock cycles respectively. Assume that a program Xhas 100 million ALU instructions, 25 million branch/jump instructions, 20 million store word instructions and 20 million load word instruction. a. Assuming sequential execution, what is the CPU time when the system A execute this program X? Also, calculate the CPI. [3 + 3 Marks] b. Assume parallel execution between ALU and branch/jump instructions, what is the CPU time when the system A execute this program X? Also, calculate the CPI. [3 + 3 Marks]

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions