subject

1. Consider two different implementations, P1 and P2, of the same instruction set. There are three types of instructions, labeled A-type, B-type, and C-type. P1 has a clock rate of 2GHz, and P2 has a clock rate of 2.2GHz. The average number of cycles for each type of instruction, as well as their frequencies, are given below. Calculate the average CPI for each machine, M1 and M2. Instr. Type M1 Cycles per Instr. Class M2 Cycles per Instr. Class Frequency
A 1 2 60%
B 4 3 30%
C 4 4 10%
Using the table from Question 1, determine the relative performance if the following changes are made. Assume the clock frequency and IC remain constant.
A. You modify M1 (M1-Mod) by improving B-type instructions to a CPI of 3.
B. You modify M2 (M2-Mod) by improving C-type instructions to a CPI of 2 4.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 17:30, Annlee23
When making changes to optimize part of a processor, it is often the case that speeding up one type of instruction comes at the cost of slowing down something else. for example, if we put in a complicated fast floating-point unit, that takes space, and something might have to be moved farther away from the middle to accommodate it, adding an extra cycle in delay to reach that unit. the basic amdahl's law equation does not take into account this trade-off. a. if the new fast floating-point unit speeds up floating-point operations by, on average, 2ă—, and floating-point operations take 20% of the original program's execution time, what is the overall speedup (ignoring the penalty to any other instructions)? b. now assume that speeding up the floating-point unit slowed down data cache accesses, resulting in a 1.5ă— slowdown (or 2/3 speedup). data cache accesses consume 10% of the execution time. what is the overall speedup now? c. after implementing the new floating-point operations, what percentage of execution time is spent on floating-point operations? what percentage is spent on data cache accesses?
Answers: 2
image
Computers and Technology, 24.06.2019 01:00, kayranicole1
What shows the web address of the page that is currently displayed in the workspace? status window toolbar location bar internet box
Answers: 1
image
Computers and Technology, 24.06.2019 02:30, cardsqueen
Which option completes the explanation for conflict of interest in an organization
Answers: 1
image
Computers and Technology, 24.06.2019 13:30, tami5
Write a program that uses a two-dimensional array to store the highest and lowest temperatures for each month of the year. the program should output the average high, average low, and the highest and lowest temper- atures for the year. your program must consist of the following functions: a. function getdata: this function reads and stores data in the two- dimensional array. b. function averagehigh: this function calculates and returns the average high temperature for the year. c. function averagelow: this function calculates and returns the aver- age low temperature for the year. d. function indexhightemp: this function returns the index of the highest high temperature in the array. e. function indexlowtemp: this function retur
Answers: 3
You know the right answer?
1. Consider two different implementations, P1 and P2, of the same instruction set. There are three t...

Questions in other subjects:

Konu
Mathematics, 18.11.2020 21:10
Konu
Mathematics, 18.11.2020 21:10
Konu
Mathematics, 18.11.2020 21:10