Consider two different implementations, 11 andi2, of the same instruction set. There are three classes ofinstructions (A, B, and C) in the instruction set. 11 has a clockrate of 5 GHz, and 12 has a clock rate of 7 GHz. The average numberof cycles for each instruction class on 11 and 12 is given in thefollowing table: Class CPI on 11 CPI on 12 C1 Usage C2 Usage C3 Usage A 30% 25% 5% 40% 25% 90% 2. 30% 50% 5% The table also contains a summary of average proportion ofinstruction classes generated by three different compilers, C1, C2,and C3. Assume that each compiler uses the same number ofinstructions for a given program but that the instruction mix is asdescribed in the table. a). Using C1, compute the average CPI for each of 11 and 12Then compute the speed, that is the average number of instructionsper second for each of 11 and 12. Then decide which one is fasterthan the other? and in what ratio? b). Using C2, compute the average CPI for each of 11 and 12Then compute the speed, that is the average number of instructionsper second for each of 11 and 12. Then decide which one is fasterthan the other? and in what ratio?
Consider two different implementations, 11 andi2, of the same instruction set. There are three classes ofinstructions (A, B, and C) in the instruction set. 11 has a clockrate of 5 GHz, and 12 has a clock rate of 7 GHz. The average numberof cycles for each instruction class on 11 and 12 is given in thefollowing table: Class CPI on 11 CPI on 12 C1 Usage C2 Usage C3 Usage A 30% 25% 5% 40% 25% 90% 2. 30% 50% 5% The table also contains a summary of average proportion ofinstruction classes generated by three different compilers, C1, C2,and C3. Assume that each compiler uses the same number ofinstructions for a given program but that the instruction mix is asdescribed in the table. a). Using C1, compute the average CPI for each of 11 and 12Then compute the speed, that is the average number of instructionsper second for each of 11 and 12. Then decide which one is fasterthan the other? and in what ratio? b). Using C2, compute the average CPI for each of 11 and 12Then compute the speed, that is the average number of instructionsper second for each of 11 and 12. Then decide which one is fasterthan the other? and in what ratio?
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
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 1 images
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