# Instructions a. 1.00E+09 b. 1.00E+09 Compiler A Compiler B Execution time #Instructions Execution time 1s 1.20E+09 1.4 s 0.8 s 1.20E+09 0.7 s 1.6.1 [5] <1.4> For the same program, two different compilers are used. The table above shows the execution time of the two different compiled programs. Find the average CPI for each program given that the processor has a clock cycle time of 1 nS. 1.6.2 15] <1.4> Assume the average CPIs found in 1.6.1, but that the compiled programs run on two difference processors. If the execution times on the two processors are the same, how much faster is the clock of the processor running compiler A's coce versus the clock of the processor running compiler B's code? 1.6.3 [5] <1.4> A new compiler is developed that uses only 600 million instruc- tions and has an average CPI of 1.1. What is the speed-up of using this new compiler versus using Compiler A or B on the original processor of 1.6.1? Consider two different implementations, P1 and P2, of the same instruction set. There are five classes of instructions (A, B, C, D, and E) in the instruction set. P1 has a clock rate of 4 GHz, and P2 has a clock rate of 6 GHz. The average number of cycles for each instruction class for P1 and P2 are listed in the following table. Class CPI on P1 CPI on P2 A 1 2 B 2 2 C 3 2 D 4 4 E 5 4 Class CPI on P1 CPI on P2 A 1 2 B 1 2 C 1 2 D 4 4 E 5 4 1.6.4 [5] <1.4> Assume that peak performance is defined as the fastest rate that a computer can execute any instruction sequence. What are the peak performances of P1 and P2 expressed in instructions per second? 1.6.5 [5] <1.4> If the number of instructions executed in a certain program is divided equally among the classes of instructions in Problem 2.36.4 except for class A, which occurs twice as often as each of the others, how much faster is P2 than P1? 1.6.6 [5] <1.4> At what frequency does P2 have the same performance as PI for the instruction mix given in 1.6.5?

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
# Instructions
a.
1.00E+09
b.
1.00E+09
Compiler A
Compiler B
Execution time
#Instructions
Execution time
1s
1.20E+09
1.4 s
0.8 s
1.20E+09
0.7 s
1.6.1 [5] <1.4> For the same program, two different compilers are used. The
table above shows the execution time of the two different compiled programs. Find
the average CPI for each program given that the processor has a clock cycle time
of 1 nS.
1.6.2 15] <1.4> Assume the average CPIs found in 1.6.1, but that the compiled
programs run on two difference processors. If the execution times on the two
processors are the same, how much faster is the clock of the processor running
compiler A's coce versus the clock of the processor running compiler B's code?
1.6.3 [5] <1.4> A new compiler is developed that uses only 600 million instruc-
tions and has an average CPI of 1.1. What is the speed-up of using this new compiler
versus using Compiler A or B on the original processor of 1.6.1?
Consider two different implementations, P1 and P2, of the same instruction set.
There are five classes of instructions (A, B, C, D, and E) in the instruction set. P1
has a clock rate of 4 GHz, and P2 has a clock rate of 6 GHz. The average number of
cycles for each instruction class for P1 and P2 are listed in the following table.
Class
CPI on P1
CPI on P2
A
1
2
B
2
2
C
3
2
D
4
4
E
5
4
Class
CPI on P1
CPI on P2
A
1
2
B
1
2
C
1
2
D
4
4
E
5
4
Transcribed Image Text:# Instructions a. 1.00E+09 b. 1.00E+09 Compiler A Compiler B Execution time #Instructions Execution time 1s 1.20E+09 1.4 s 0.8 s 1.20E+09 0.7 s 1.6.1 [5] <1.4> For the same program, two different compilers are used. The table above shows the execution time of the two different compiled programs. Find the average CPI for each program given that the processor has a clock cycle time of 1 nS. 1.6.2 15] <1.4> Assume the average CPIs found in 1.6.1, but that the compiled programs run on two difference processors. If the execution times on the two processors are the same, how much faster is the clock of the processor running compiler A's coce versus the clock of the processor running compiler B's code? 1.6.3 [5] <1.4> A new compiler is developed that uses only 600 million instruc- tions and has an average CPI of 1.1. What is the speed-up of using this new compiler versus using Compiler A or B on the original processor of 1.6.1? Consider two different implementations, P1 and P2, of the same instruction set. There are five classes of instructions (A, B, C, D, and E) in the instruction set. P1 has a clock rate of 4 GHz, and P2 has a clock rate of 6 GHz. The average number of cycles for each instruction class for P1 and P2 are listed in the following table. Class CPI on P1 CPI on P2 A 1 2 B 2 2 C 3 2 D 4 4 E 5 4 Class CPI on P1 CPI on P2 A 1 2 B 1 2 C 1 2 D 4 4 E 5 4
1.6.4 [5] <1.4> Assume that peak performance is defined as the fastest rate that
a computer can execute any instruction sequence. What are the peak performances
of P1 and P2 expressed in instructions per second?
1.6.5 [5] <1.4> If the number of instructions executed in a certain program is
divided equally among the classes of instructions in Problem 2.36.4 except for
class A, which occurs twice as often as each of the others, how much faster is P2
than P1?
1.6.6 [5] <1.4> At what frequency does P2 have the same performance as PI for
the instruction mix given in 1.6.5?
Transcribed Image Text:1.6.4 [5] <1.4> Assume that peak performance is defined as the fastest rate that a computer can execute any instruction sequence. What are the peak performances of P1 and P2 expressed in instructions per second? 1.6.5 [5] <1.4> If the number of instructions executed in a certain program is divided equally among the classes of instructions in Problem 2.36.4 except for class A, which occurs twice as often as each of the others, how much faster is P2 than P1? 1.6.6 [5] <1.4> At what frequency does P2 have the same performance as PI for the instruction mix given in 1.6.5?
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY