COMPUTER ORGANIZATION+DESIGN >I<
COMPUTER ORGANIZATION+DESIGN >I<
5th Edition
ISBN: 9781541868397
Author: Patterson
Publisher: ZYBOOKS (CC)
Expert Solution & Answer
Book Icon
Chapter 1, Problem 1.5E

a.

Explanation of Solution

Given,

The clock rate and the Cycles Per Instruction (CPI) of the processor P1 is 3 GHz and 1.5 respectively.

The clock rate and the CPI of the processor P2 is 2.5 GHz and 1.0 respectively.

The clock rate and the CPI of the processor P3 is 4 GHz and 2.2 respectively.

The performance of the processor in terms of instructions per second can be calculated using the following formula is given below:

Performance=ClockrateCPI

Substitute, “3×109” for “Clock rate” and “1.5” for “CPI” is given below:

Thus, the performance of the processor P1 is 3×1091.5=2×109 instructions/second.

Substitute, “2.5×109” for “Clock rate” and “1.0” for “CPI” is given below:

Thus, the performance of the processor P1 is 2.5×1091.0=2.5×109 instructions/second.

Substitute, “4×109” for “Clock rate” and “2.2” for “CPI” is given below:

Thus, the performance of the processor P1 is 4×1092.2=1.8×109 instructions/second.

By comparing the above performances of the processors, it is concluded that the processor P1 is having highest performance.

b.

Explanation of Solution

Given,

The clock rate and the Cycles Per Instruction (CPI) of the processor P1 is 3 GHz and 1.5 respectively.

The clock rate and the CPI of the processor P2 is 2.5 GHz and 1.0 respectively.

The clock rate and the CPI of the processor P3 is 4 GHz and 2.2 respectively.

Time taken by each processor to execute the required program is 10 seconds.

The number of cycles of the processor per 10 seconds can be calculated using the following formula is given below:

Numberofcycles=Numberofseconds×Clockrateoftheprocessor

Substitute, “3×109” for “Clock rate” and “10” for “Number of seconds” is given below:

Thus, the number of cycles of the processor P1 per 10 seconds is 10×3×109=30×109.

Substitute, “2.5×109” for “Clock rate” and “10” for “Number of seconds” is given below:

Thus, the number of cycles of the processor P2 per 10 seconds is 10×2.5×109=25×109.

Substitute, “4×109” for “Clock rate” and “10” for “Number of seconds” is given below:

Thus, the number of cycles of the processor P3 per 10 seconds is 10×4×109=40×109.

The number of instructions of the processor per 10 seconds can be calculated using the following formula is given below:

Numberofinstructions=NumberofcyclesCPI

Substitute, “30×109” for “Number of cycles” and “1.5” for “CPI” is given below:

Thus, the number of instructions of the processor P1 per 10 seconds is 30×1091.5=20×109.

Substitute, “25×109” for “Number of cycles” and “1.0” for “CPI” is given below:

Thus, the number of instructions of the processor P2 per 10 seconds is 25×1091.0=25×109.

Substitute, “40×109” for “Number of cycles” and “2.2” for “CPI” is given below:

Thus, the number of instructions of the processor P3 per 10 seconds is 40×1092.2=40×109.

c.

Explanation of Solution

Given,

The clock rate and the Cycles Per Instruction (CPI) of the processor P1 is 3 GHz and 1.5 respectively.

The clock rate and the CPI of the processor P2 is 2.5 GHz and 1.0 respectively.

The clock rate and the CPI of the processor P3 is 4 GHz and 2.2 respectively.

The number of instructions of the processor per 10 seconds can be calculated using the following formula is given below:

Numberofinstructions=NumberofcyclesCPI

Substitute, “30×109” for “Number of cycles” and “1.5” for “CPI” is given below:

Thus, the number of instructions of the processor P1 per 10 seconds is 30×1091.5=20×109.

Substitute, “25×109” for “Number of cycles” and “1.0” for “CPI” is given below:

Thus, the number of instructions of the processor P2 per 10 seconds is 25×1091.0=25×109.

Substitute, “40×109” for “Number of cycles” and “2.2” for “CPI” is given below:

Thus, the number of instructions of the processor P3 per 10 seconds is 40×1092.2=18.18×109.

The CPInew is calculated using the formula CPInew=CPIold×1.2

Substitute, “1.5” for “CPIold” is given below:

Thus, the CPInew of the processor P1 is 1.5×1.2=1.8.

Substitute, “1.0” for “CPIold” is given below:

Thus, the CPInew of the processor P2 is 1.0×1.2=1.2.

Substitute, “4.0” for “CPIold” is given below:

Thus, the CPInew of the processor P3 is 2.2×1.2=2.6.

The required clock rate cam be calculated using a function f and the required formula is as follows:

f=Numberofinstructions×CPInewtime

Substitute, “20×109” for “Number of instructions”, “1.8” for “CPInew” and “7” for “time” is given below:

Thus, the required function of the processor P1 is f(P1)=20×109×1.87=5.14GHz.

Substitute, “25×109” for “Number of instructions”, “1.2” for “CPInew” and “7” for “time” is given below:

Thus, the required function of the processor P2 is f(P2)=25×109×1.27=4.28GHz.

Substitute, “40×109” for “Number of instructions”, “2.6” for “CPInew” and “7” for “time” is given below:

Thus, the required function of the processor P3 is f(P3)=40×109×2.67=6.75GHz.

Want to see more full solutions like this?

Subscribe now to access step-by-step solutions to millions of textbook problems written by subject matter experts!
Students have asked these similar questions
Here is the text extracted from the uploaded image:   Question 6: A major Saudi book retailer is planning to develop a computer system to handle the store’s new online bookshop: BookShop.com. You have been chosen to do the analysis and design. As part of the development of the system, perform the following tasks: 1.Write Expanded Use Cases for buying a book from the shop using a credit card. 2.Draw an Expanded Use Case for the following interactions: •Buying a book from the shop using a credit card. •Checking the status of one’s orders (being filled, shipped, etc.) •Pay for Product •Validate customer identity   Use Case: Buy Book   Actors: Customer Purpose: To buy a book from BookShop.com using a credit card. Overview: A customer has selected a book to buy at the Murray.com website. The system prompts for the customer’s username and password. The customer enters these details. The system verifies the customer’s identity and retrieves the customer’s name and address, then prompts for…
- Apply a SQL injection in the Login - Apply a SQL injection (Search / GET) to list the database tables - Apply a SQL injection (Search / GET) to list the users and passwords of the DB Questions: 1.- What was the vulnerability used for the attack? What service was affected? 2.- What type(s) of attack(s) were made? 3.-What was the damage caused to the information asset(s)? - Include screenshots of the entire procedure and the answers to each question bWAPP link: http://www.itsecgames.com/download.htm To download bWAPP Virtual Disk https://drive.google.com/file/d/1eckLtRkqsZIlbnSz5fWWhpotEZFvx2vo/view?usp=sharing
-0 e @ -13- DC Current in the & resistance is = I, - Iz =0-4545-004545 am EX (2.2): Find the current in the 8sh resistance. 4 ww 0770 709 0568 10V. M ДАД -20V FISV
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON
Text book image
Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science
Text book image
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning
Text book image
Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning
Text book image
Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education
Text book image
Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY