A pipeline with 15 stages runs a program P having 3,221 instructions. Branches comprise 13 percent of the instructions, and the “branch not taken” assumption holds for branch prediction. Further assume that 40 percent of the branches are predicted correctly, and there is an average penalty of 1.2 cycles for each mis-predicted branch. Additionally, 2 percent of the total instructions incur an average of 1.2 stalls each. Calculate the CPI(clocks per instruction) of P on this pipeline
A pipeline with 15 stages runs a program P having 3,221 instructions. Branches comprise 13 percent of the instructions, and the “branch not taken” assumption holds for branch prediction. Further assume that 40 percent of the branches are predicted correctly, and there is an average penalty of 1.2 cycles for each mis-predicted branch. Additionally, 2 percent of the total instructions incur an average of 1.2 stalls each. Calculate the CPI(clocks per instruction) of P on this pipeline
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
i have only 15 min leftdo not copy from other site it is wrong thereplease send me correct else i downvoteif you had not knowledge skip it
A pipeline with 15 stages runs a program P having 3,221 instructions. Branches comprise 13 percent of the instructions, and the “branch not taken” assumption holds for branch prediction. Further assume that 40 percent of the branches are predicted correctly, and there is an average penalty of 1.2 cycles for each mis-predicted branch. Additionally, 2 percent of the total instructions incur an average of 1.2 stalls each.
Calculate the CPI(clocks per instruction) of P on this pipeline
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education