Determine the cpi load latency, Electrical Engineering

Assignment Help:

Question:

(a) Describe the following terminologies:
i. Branch
ii. Branch Prediction
iii. Branch Predictor
iv. Branch Misprediction

(b) Consider that 15% of instructions are loads and that 20% of the instructions following a load depend on its results and are stalled for 1 cycle. All instructions and all loads hit in their respective first-level caches. Consider further that 20% of instructions are branches, with 60% of them being taken and 40% being not taken. The penalty is 2 cycles if the branch is not taken, and it is 3 cycles if the branch is taken. Then, 1 cycle is lost for 20% of the loads, 2 cycles are lost when a conditional branch is not taken, and 3 cycles are lost for taken branches.

(i) Determine the CPI load latency, CPI branches, CPI, and IPC.

(ii) A very simple optimization implementation for branches is to consider that they are not taken. There will be no penalty if indeed the branch is not taken, and there will still be a 3 cycle penalty if it is taken. Calculate the CPI branches, CPI, and IPC.

(iii) Assuming that a branch-not-taken strategy has been implemented, plot CPI vs. branch misprediction cost when the latter varies between 3 and 20 cycles.

(iv) Do your computations in (iii) argue for sophisticated branch predictors when the pipelines become "deeper"?

(c) In (b), we assumed that the cache miss penalty was 20 cycles. With modern processors running at a frequency of 1 to 3 GHz, the cache miss penalty can reach several hundred cycles.

(i) Keeping all other parameters the same as in (b), plot CPI vs. cache miss penalty cost when the latter varies between 20 and 500 cycles.

(ii) Do your computations argue for the threat of a "memory wall" whereby loading instructions and data could potentially dominate the execution time?


Related Discussions:- Determine the cpi load latency

Pneumatics, 3. Design and draw a circuit using the cascade system to operat...

3. Design and draw a circuit using the cascade system to operate two cylinders (A and B) which, on the operation of a start valve, produces the sequence A – B + B – A+. The cylinde

Induction motor, principle and operation of a 3phace induction motor

principle and operation of a 3phace induction motor

Determine the resultant mmf, Q. The N-coil windings of a three-phase, two-p...

Q. The N-coil windings of a three-phase, two-pole machine are supplied with currents ia,ib, and ic, which producemmfs given by F a = Ni a cos θm; F b = Ni b cos(θm - 120°); and

Internalization of KPI Process, Internalization of KPI Process It is t...

Internalization of KPI Process It is the responsibility of management to ensure in which the focus of all the participants in performance management and KPI exercise is there

Determine the number of poles of this ac motor, Q. A three-phase ac motor, ...

Q. A three-phase ac motor, used to drive a draft fan, is connected to a 60-Hz voltage supply. At noload, the speed is 1188 r/min; at full load, the speed drops to 1128 r/min. (a

Robotic, Ask questCompute the mean and variance of a four-level image with ...

Ask questCompute the mean and variance of a four-level image with histogram p(z\ ) = 0.1, p{zi) = 0.4, ?(1?) =0.3, p{za) = 0.2. Assume that z\ = 0, zi = 1, z$ = 2, and ? — ?. i

Construction and working of analog type storage oscilloscope, Q.   Describe...

Q.   Describe in detail the construction and working of analog type storage oscilloscope. Explain the principle of secondary emission. Analog Storage Oscilloscopes: Storage o

Chopper configuration - power supplies , Chopper Configuration Choppe...

Chopper Configuration Chopper are classified  in five  different classes according  to their operating capability in particular quadrant. The  current  directions and voltage

Give some applications of constantan, Give some applications of constantan....

Give some applications of constantan. Constantan is an alloy of nickel and copper. It is used in thermocouples, motor starters and precision resistors.

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd