Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

machine language 1. (2 marks) For a particular program as run on a particular system, the CPU execution time is 8 seconds, the clock rate

machine language
image text in transcribed
1. (2 marks) For a particular program as run on a particular system, the CPU execution time is 8 seconds, the clock rate is 3GHz, and the CPI is 4 . What is the total number of machine language instructions executed? 2. (2 marks) Consider a system with four classes of machine language instructions A,B, C, and D, with CPIA=2,CPIB=5,CPI=3, and CPI=4. If 50% of the executed machine language instructions for a particular program are of class A, 20\% of class B, 20% of class C, and 10% of class D, what is the CPI for this program? 3. (2 marks) Suppose that when run using a single thread, a particular program spends 20 seconds executing code that cannot be parallelized, and 280 seconds executing code that is highly parallelizable. Using Amdahl's law, give an upper bound on the speedup (ratio of old to new execution time) that might be achieved for this program by exploiting parallel execution on a highly-parallel computer with thousands of processors/cores

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