1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
pav-90 [236]
3 years ago
13

The utilization of a subset of the performance equation as a performance metric is a pitfall. To illustrate this, assume the fol

lowing two processors. P1 has a clock rate of 4 GHz, average CPI of 0.9, and requires the execution of 5.0E9 instructions. P2 has a clock rate of 3 GHz, an average CPI of 0.75, and requi res the execution of 1.0E9 instructions. One usual fallacy is to consider the computer with the largest clock rate as having the largest performance. Check if this is true for P1 and P2.
Computers and Technology
1 answer:
Troyanec [42]3 years ago
5 0

Answer:

Given Data:

Clock rate of P1 = 4 GHz

Clock rate of P2 = 3 GHz

Average CPI of P1 = 0.9

Number of Instructions = 5.0E9 =  5 × 10^9

Clock rate of P2 = 3 GHz

Average CPI of P2 = 0.75

Number of Instructions = 1.0E9 = 10^9

To find: If the computer with largest clock rate has the largest performance?

Explanation:

Solution:

As given in the question, clock rate of P1 = 4 GHz which is greater than clock rate of P2 = 3 GHz

According to the performance equation:

CPU Time = instruction count * average cycles per instruction/ clock rate

CPU Time = I * CPI / clock rate

Where instruction count refers to the number of instructions.

Performance of P1:

CPU Time (P1) = 5 * 10^9 * 0.9 / (4 * 10^9 )

                        = 5000000000 * 0.9 / 4000000000

                        = 4500000000 / 4000000000

                        =  1.125s

Performance of P2:

CPU Time (P2) = 10^9 * 0.75/ (3 * 10^9 )

                        = 750000000 / 3000000000

                        = 0.25s

So the Performance of P2 is larger than that of P1,

                          performance (P2) > performance (P1)

                                         0.25 is better than 1.125

But clock rate of P1 was larger than P2

                             clock rate of P1 > clock rate of P2

                                                  4 GHz > 3 GHz

So this is a misconception about P1 and P2.

It is not true that computer with the largest clock rate as having the largest performance.

You might be interested in
Two circuits are created using two identical light bulbs. In the circuit A, the bulbs are hooked up in series. In circuit B, the
Ulleksa [173]
C is not correct since in the case of circuits that are lined up in series, if one or them dies they all die.
5 0
3 years ago
Read 2 more answers
Whats a field in databases?
SVETLANKA909090 [29]
A field is a single attribute of an entity, object or event.
3 0
3 years ago
Which layer in the Internet Protocol Suite model verifies that data arrives without being lost or damaged?
zloy xaker [14]
It is D I believe

Explanation:
4 0
3 years ago
The arrange all function is used to organize multiple open workbooks at once. Select the correct navigational path to use the ar
attashe74 [19]

<u>Explanation:</u>

  • First, click the View tab on the ribbon
  • Next, you'll be in the Window Gallery
  • Finally, click Arrange All drop-down menu; which allows you to arrange the multiple open workbooks either vertically, horizontally, or tiled.

4 0
3 years ago
Read 2 more answers
Which operating system might cause the desktop background to change unexpectedly?
Hunter-Best [27]
I used computers for 3 years now and i think its B
4 0
3 years ago
Other questions:
  • Everyone should try to be an NFL quarterback because they earn so much money. True or False
    9·2 answers
  • 1) The programmer who focuses on implementing the game mechanics, rules, and or other elements essential for gameplay is the a)
    13·1 answer
  • What is jcl language on the mainframe?
    10·1 answer
  • When a person devises the idea for the venture, develops a business plan, uses savings or loans to acquire other resources and a
    9·1 answer
  • Some in the security community argue that a lack of diversity is security vulnerability. For example, Firefox and Internet Explo
    6·1 answer
  • What does "scanf(\"%d\" mean?
    13·2 answers
  • What is the output of this program?
    11·1 answer
  • The Open Systems Interconnection (OSI) Reference Model: defines standards for many aspects of computing and communications withi
    12·1 answer
  • 1. an image can be stored either in a vector graphic file or in a bitmap file true or false
    12·1 answer
  • Match the column.<br> Description Shortcut key<br> Move to next cell in row page up
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!