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

Analogy between electrical and nonelectric physical systems, Systems such a...

Systems such as those encountered in mechanics, thermodynamics, and hydraulics can be represented by analogous electric networks, from the response of which the system characterist

Define asynchronous communication with serial communication, With respect t...

With respect to serial communication define the asynchronous communication. Asynchronous implies "no synchronization", and therefore does not require sending and receiving idl

Find the per-phase impedance of the load, Q. A three-phase, three-wire 208-...

Q. A three-phase, three-wire 208-V system is connected to a balanced three-phase load. The line currents ¯ IA, ¯ IB, and ¯ IC are given to be in phase with the line-to-line voltage

What is inter digit time, Q. What is inter digit time? Break time is no...

Q. What is inter digit time? Break time is nominally 61 ms and make time is nominally 39ms. Digits are separated by idle period of 300 ms known as inter digit time. It is vital

Responsibilities of Regulatory Body, Responsibilities of Regulatory Body ...

Responsibilities of Regulatory Body The basic responsibilities of the Central Regulatory Commission are to: Fix tariff of Central Sector producing plants as well as of

Determine the signal to noise ratio, Your manager has requested you to revi...

Your manager has requested you to review current techniques for reducing, or eliminating, the effects of external interference upon electronic circuits. He requires a short report

Transformers, A 15kVA has a turns ratio 1:10. If the voltage applied is 13....

A 15kVA has a turns ratio 1:10. If the voltage applied is 13.8kV and the applied load is 20+j6. Find the current in the secondary winding and the active and reactive power consumed

What is the clock frequency of 8086, What is the clock frequency of 8086? ...

What is the clock frequency of 8086? Internal clock Frequency 5 MHz 8MHz  External Clock Frequency 15MHZ 24MHZ

Find out form factor and peak factor, Find out Form factor and Peak factor:...

Find out Form factor and Peak factor: For the output of full wave rectifier, find out (a) RMS value, (b) Average value, (c) Form factor, and (d) Peak factor. S

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