Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. Computer Performance (6 marks in total) (a) (2 marks) Consider a system with only two types of instructions, A and B. Type A instructions

image text in transcribed

2. Computer Performance (6 marks in total) (a) (2 marks) Consider a system with only two types of instructions, A and B. Type A instructions have a CPI of 3, while type B instructions have a CPI of 1. The CPI for a particular program when executed on this system is 2.5. What must be the fraction fa of instructions executed that are of type A? (b) (2 marks) For a particular program as run on a particular system, 500 million instructions are executed, the clock rate is 2 GHz, and the CPI is 2. What is the CPU execution time? (c) (2 marks) One way to try to decrease the running time of a computationally-intensive program is to run it on a system with multiple processors. The effectiveness of this approach depends on how much of the program can be worked on by multiple processors in parallel. Suppose that a fraction f of the execution time of the program, when just a single processor is used, is spent executing a part of the program that cannot use multiple processors or execute concurrently with any other part of the program. Write an expression for the maximum possible speedup (ratio of execution time when run with a single processor to that when run using multiple processors), as a function off and the number of processors N

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_2

Step: 3

blur-text-image_3

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

Modern Database Management

Authors: Donald A. Carpenter Fred R. McFadden

1st Edition

8178088045, 978-8178088044

More Books

Students also viewed these Databases questions

Question

Solve the integral:

Answered: 1 week ago

Question

What is meant by Non-programmed decision?

Answered: 1 week ago

Question

What are the different techniques used in decision making?

Answered: 1 week ago

Question

2. Why has the conflict escalated?

Answered: 1 week ago

Question

1. How will you, as city manager, handle these requests?

Answered: 1 week ago