3. A program executes 200 billion instructions. It executes on an IBM processor that has an average CPI of 1.2 and a clock frequency of 4.0 GHz. How many seconds does the program take to execute? What is the cycle time of this IBM processor? Assume that an ARM processor takes 80 seconds to execute the program. What is the speedup provided by the IBM processor, relative to the ARM processor?

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
icon
Related questions
Question

1. System A takes 80 seconds to run a program. The same program takes 50 seconds to
run on a new system B. What is the speedup provided by B over A? What is the
performance improvement (percentage of performance improvement) of B over A? 

2. Anna designs a 2.5 GHz processor where two important programs, A and B, take one
second each to execute. Each program has a CPI of 1.25. Elsa is tasked with designing
the company's next-generation processor and she comes up with an idea that improves
the CPI of A to 1.1 and the CPI of B to 0.9. But the idea is so complex that the
processor can only be implemented with a cycle time of 0.5 ns. Does Elsa's new
processor out-perform Anna's processor on program A? How about on program B?

3. A program executes 200 billion instructions. It executes on an IBM processor that has
an average CPI of 1.2 and a clock frequency of 4.0 GHz. How many seconds does the
program take to execute? What is the cycle time of this IBM processor? Assume that
an ARM processor takes 80 seconds to execute the program. What is the speedup
provided by the IBM processor, relative to the ARM processor?

4. The table below (pic attached) describes the performance of two processors, the AMD Ryzen and
the X86, and two compilers on a common 'benchmark' program. 

Which is the best compiler-machine combination? (10 points)

5. Consider two different implementations of the same instruction set architecture. The
instructions can be divided into four classes according to their CPI (class A, B, C, and
D). P1 with a clock rate of 2.5 GHz and CPIs of 1, 2, 3, and 3, and P2 with a clock
rate of 3 GHz and CPIs of 1, 2, 2, and 2.Given a program with a dynamic instruction
count of 106 instructions divided into classes as follows: 10% class A, 20% class B,
50% class C, and 20% class D, which is faster: P1 or P2?

Compiler B
Instructions Average
Processor
Clock rate
Compiler A
in GHz
Instructions
Average
CPI
CPI
AMD Ryzen
3.5
2000
1.5
3000
1.5
X86
2.5
1500
2.5
1000
4
Transcribed Image Text:Compiler B Instructions Average Processor Clock rate Compiler A in GHz Instructions Average CPI CPI AMD Ryzen 3.5 2000 1.5 3000 1.5 X86 2.5 1500 2.5 1000 4
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Fundamentals of Input and Output Performance
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
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)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education