The utilization of a subset of the performance equation as a performance metric is a pitfall. To illustrate this, assume the following 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.

Answers

Answer 1
Answer:

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.


Related Questions

/* ELEN 1301 Programming Assignment #5. Name : Your name. Student ID : Your student ID #. Due date : Due date Purpose of the program : Finding the average, minimum and maximum values of seven entered numbers. Use iomanip library to show 3 digits below decimal point. Section 1 : Enter the first number. Set min and max variables to the entered number. Section 2 : Enter the next number. If it is smaller than min, replace the min with the entered number. If it is bigger than max, replace the max with the entered number. Section 3 : Repeat section 2 five more times, so that you have seven numbers. Section 4 : Calculate the average of the seven numbers and show the result with 3 digits below decimal point. (2 points) Section 5 : Show the minimum number. (2 points) Section 6 : Show the maximum number. (2 points) */ #include #include using namespace std; int main() { int n1, n2, n3, n4, n5, n6, n7, min, max; double sum = 0; // Write the rest of the program. return 0; } // main
35. (a) Identify some key internet search engines​
How are you going to use computer in your career/field?
Which type of error occurred in the following lines of code? >>> print(9 / 0)Traceback (most recent call last): File " ", line 1, in 9/0ZeroDivisionError: division by zeroAnswer choices:reserved word errorlogical errorexceptionsyntax error
Consider the following two code segments, which are both intended to determine the longest of the three strings "pea", "pear", and "pearl" that occur in String str. For example, if str has the value "the pear in the bowl", the code segments should both print "pear" and if str has the value "the pea and the pearl", the code segments should both print "pearl". Assume that str contains at least one instance of "pea".I.if (str.indexOf("pea") >= 0){System.out.println("pea");}else if (str.indexOf("pear") >= 0){System.out.println("pear");}else if (str.indexOf("pearl") >= 0){System.out.println("pearl");}II.if (str.indexOf("pearl") >= 0){System.out.println("pearl");}else if (str.indexOf("pear") >= 0){System.out.println("pear");}else if (str.indexOf("pea") >= 0){System.out.println("pea");}Which of the following best describes the output produced by code segment I and code segment II?Both code segment I and code segment II produce correct output for all values of str.Neither code segment I nor code segment II produce correct output for all values of str.Code segment II produces correct output for all values of str, but code segment I produces correct output only for values of str that contain "pear" but not "pearl".Code segment II produces correct output for all values of str, but code segment I produces correct output only for values of str that contain "pearl".Code segment II produces correct output for all values of str, but code segment I produces correct output only for values of str that contain "pea" but not "pear".

George borrowed some equipment from his friend for recording his monologue for his art class. He got all the equipment except the audio interface. He still went ahead with the recording. What part of George’s laptop functioned as the audio interface in this situation? The *blank* of George’s laptop functioned as the audio interface.

Answers

Answer:

Internal sound card

Explanation:

In this case, George has used an Internal sound card, this is enough to record a podcast, make and receive video conferences or play video games.

If we're going to use an instrument, an external sound card, it's necessary, but in this case, George can make the record with high quality audio.

If George wants to add an adapter to connect 6'35mm but is not the same quality that an external sound card.

Perform depth-first search on each of the following graphs; whenever there's a choice of vertices, pick the one that is alphabetically first. Classify each edge as a tree edge, forward edge, back edge, or cross edge, and give the pre and post number of each vertex.

Answers

Answer:

See the table attached for complete solution to the problem.

Briefly explain 5 software which is either free or fee​

Answers

Answer:

65

Explanation:

Answer:

65

Explanation:

Which key do programmers use to end running programs?Num Lock
Scroll Lock
Pause/Break
Backspace

Answers

I would answer backspace because i had some experience with that
Pause/Break   i would say

The Clean Air Act Amendments of 1990 prohibit service-related releases of all ____________. A) GasB) OzoneC) MercuryD) Refrigerants

Answers

Answer:

D. Refrigerants

Explanation:

In the United States of America, the agency which was established by US Congress and saddled with the responsibility of overseeing all aspects of pollution, environmental clean up, pesticide use, contamination, and hazardous waste spills is the Environmental Protection Agency (EPA). Also, EPA research solutions, policy development, and enforcement of regulations through the resource Conservation and Recovery Act .

The Clean Air Act Amendments of 1990 prohibit service-related releases of all refrigerants such as R-12 and R-134a. This ban became effective on the 1st of January, 1993.

Refrigerants refers to any chemical substance that undergoes a phase change (liquid and gas) so as to enable the cooling and freezing of materials. They are typically used in air conditioners, refrigerators, water dispensers, etc.

The Clean Air Act Amendments of 1990 prohibit service-related releases of all refrigerants. The correct option is D.

Thus, The Environmental Protection Agency (EPA), which was formed by US Congress, is the organization tasked with regulating all facets of pollution, environmental cleanup, pesticide use, contamination, and hazardous material spills.

All refrigerants, including R-12 and R-134a, are forbidden from being released during service under the Clean Air Act Amendments of 1990. On January 1st, 1993, this ban came into force.

Any chemical compound that transforms into a different phase (liquid or gas) to allow for the cooling or freezing of items is referred to as a refrigerant. They are frequently found in refrigerators, water dispensers, air conditioners, and other appliances.

Thus, The Clean Air Act Amendments of 1990 prohibit service-related releases of all refrigerants. The correct option is D.

Learn more about Clean air act, refer to the link:

brainly.com/question/2375762

#SPJ3

Convert the binary number into a hexadecimal number.

Answers

Explanation:

A binary number is converted to hexadecimal number by making a group of 4 bits from the binary number given.Start making the group from Least Significant Bit (LSB) and start making group of 4 to Most Significant (MSB) or move in outward direction.If the there are less than 4 bits in last group then add corresponding zeroes to the front and find the corresponding hexadecimal number according to the 4 bits.For example:-

for this binary number 100111001011011.

100  11100101  1011

There is one bits less in the last group so add 1 zero(0) to it.

0100  1110  0101  1011

  4        E        5        B

100111001011011 = 4E5B

101011.1010

0010   1011  .   1010

  2          B           A

=2B.A