a. Given a program with a dynamic instruction count of 1.0E8 instructions di ed into classes as follows: 25% class A, 15% class B, 25% class C, class D, and 10% class E which implementation is slower? P1 or P2? o. What is the global CPI for each implementation? c. Find the clock cycles required in both cases.
a. Given a program with a dynamic instruction count of 1.0E8 instructions di ed into classes as follows: 25% class A, 15% class B, 25% class C, class D, and 10% class E which implementation is slower? P1 or P2? o. What is the global CPI for each implementation? c. Find the clock cycles required in both cases.
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...
Related questions
Question
![2-Consider two different implementations of the same instruction set architecture.
The instructions can be divided into five classes according to their CPI (class A,
B, C, D and E). P1 with a clock rate of 2.5 GHz and CPIS of 5, 3, 4, 2, and 3 and
P2 with a clock rate of 2 GHz and CPIS of 3, 4, 2, 6, and 3.
a. Given a program with a dynamic instruction count of 1.0E8 instructions divid-
ed into classes as follows: 25% class A, 15% class B, 25% class C , 25%
class D, and 10% class E which implementation is slower? P1 or P2?
b. What is the global CPI for each implementation?
c. Find the clock cycles required in both cases.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fad1b3f56-a3c9-4d59-9a30-165fb680e6c9%2F8a3f7f1b-0bd2-4c31-b888-6a86f7ca5427%2Fc8va50b_processed.png&w=3840&q=75)
Transcribed Image Text:2-Consider two different implementations of the same instruction set architecture.
The instructions can be divided into five classes according to their CPI (class A,
B, C, D and E). P1 with a clock rate of 2.5 GHz and CPIS of 5, 3, 4, 2, and 3 and
P2 with a clock rate of 2 GHz and CPIS of 3, 4, 2, 6, and 3.
a. Given a program with a dynamic instruction count of 1.0E8 instructions divid-
ed into classes as follows: 25% class A, 15% class B, 25% class C , 25%
class D, and 10% class E which implementation is slower? P1 or P2?
b. What is the global CPI for each implementation?
c. Find the clock cycles required in both cases.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
Step 1
B)
Global CPI = Sum(CPIi*Fi)
For P1,
global CPI = 0.25*5+0.15*3+0.25*4+0.25*2+0.1*3
= 1.25+0.45+1+0.5+0.3
= 3.5
Global CPI for P2 =
0.25*3+0.15*4+0.25*2+0.25*6+0.1*3
= 0.75+0.6+0.5+1.5+0.3
= 3.65
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
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…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
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)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
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…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
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)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
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](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY