Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem 1. A computer with a 5-stage pipeline like the one described in class deals with conditional branches by stalling for the next three cycles,

image text in transcribed

Problem 1. A computer with a 5-stage pipeline like the one described in class deals with conditional branches by stalling for the next three cycles, so that it knows which branch to take. How much does stalling hurt the performance, if 20% of all instructions are conditional branches? Ignore all other sources of stalling. How to solve problem: Determine number of clock cycles needed for each conditional branch instruction (1+3). Multiply that by the probability that such an instruction gets executed (0.20). Determine the number of clock cycles needed for any other instruction (1). Multiply that by the probability that such an instruction gets executed (0.80). Add the two products to obtain the number of clock cycles needed per instruction on average. Compute the average number of instructions per clock cycle. Compute slow down due to the conditional branch staling

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2010 Barcelona Spain September 2010 Proceedings Part 2 Lnai 6322

Authors: Jose L. Balcazar ,Francesco Bonchi ,Aristides Gionis ,Michele Sebag

2010th Edition

364215882X, 978-3642158827

More Books

Students also viewed these Databases questions

Question

(1) How many levels and factors are there in this example? Pg45

Answered: 1 week ago

Question

Describe the appropriate use of supplementary parts of a letter.

Answered: 1 week ago