In: Computer Science
SHORT ANSWER
2. _________ refers to the operational units and their interconnections that realize the architectural specifications.
3. Control signals, interfaces between the computer and peripherals, and the memory technology used are all examples of _________ attributes.
4. The instruction set, the number of bits used to represent various data types, I/O mechanisms and techniques for addressing memory are all examples of _________ attributes.
Problems:
Instruction Type |
Instruction Count |
Cycles per Instruction |
Integer arithmetic |
45,000 |
4 |
Data transfer |
32,000 |
6 |
Floating point arithmetic |
15,000 |
10 |
Control transfer |
8,000 |
3 |
1) Determine
*Please show work for each answer placed in the Table.
Processor |
Execution Time |
CPI |
MIPS rate |
M1 - 350 MHz |
|||
M2 - 800 MHz |
|||
M3 - 1 GHz |
2) What is the speed up of M2 from M1?
3) what is the speed up of M3 from M1?
4) What is the speed up of M3 from M2?
Instruction Type |
Instruction Count (millions) |
Cycles per Instruction |
Machine A Arithmetic and logic Load and store Branch Others |
8 4 2 4 |
1 3 4 3 |
Machine B Arithmetic and logic Load and store Branch Others |
10 8 2 4 |
1 2 3 4 |
*Please show work for each answer in the Table.
Processor |
Execution Time |
CPI |
MIPS rate |
Machine A |
|||
Machine B |
2) Comment on the result.
Processor |
Clock Rate (MHz) |
MIPS rate |
CPU time (sec) |
Machine A |
5 |
1 |
12 x |
Machine B |
25 |
18 |
x |
Mache A requires 12 times longer than Machine B measured in CPU time. For example, a program takes 1 second in Machine B will take 12 seconds.
1) What is the relative size of the instruction count for the program running on the two machines?
2) What is the effective CPI for the two machines?