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
1. Show that S₁ = S2 if and only if S₁ U S2 = S₁n S2. 2. Show that if S1 and S2 are finite sets with |S₁ = n and |S₂| = m, then S₁ U S2 ≤n+m. 3. If language L is regular and is given by L ={awa : w = {a, b} *} Then show that L² is regular.
Problem 3: Consider the two-link planar elbow manipulator shown below with link information: a₁ = 3, a₂ = 3. a2 S 3/0 Link | a | ai | di ai | di | 0i | มา 02 21 02. 12 01 0 0 01 02 0 0 02 01 To (a) Find the location of the end-effector P° if the joint angles are: 0₁ = 140°, 0₂ = 30° (b) Find the values of joint variables 01, 02 if the robotic manipulator is commanded to reach the desired location of Pº = [4.5, 3,0]. Notice there are possibly two sets of solutions. (c) Also sketch the two poses of the robot for the computed joint variables. Page 5 of 7
Problem 5: The following shows the schematic of a SCARA robot and its DH parameters. Complete the following questions based on this information. 20 01 21 02. 22 done by ai α; di Ꮎ ; 21 d3 1 a1 0 0 0₁** 2 a2 180° 0 0% 3 0 0 d3 0 The Jacobian matrix of this robot is given below: -a1S1a2S12 -a2S12 J(q) = a1c1 + a2c12 0 a2C12 0 10° (a) For a₁ = 1, a2 = 2, is q = 180° a singularity configuration of this robot? a1 3 [10°1 (b) For a₁ = 1, a2 = 2, is q = | 0° a singularity configuration of this robot? 3
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