answer.
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
mamaluj [8]
2 years ago
3

Consider two different machines, with two different instruction sets, both of which have a clock rate of 200 MHz. The following

measurements are recorded on the two machines running a given set of benchmark programs:Instruction Type Instruction Count (millions) Cycles per Instruction Machine A Arithmetic and logic 8 1Load and store 4 3Branch 2 4Others 4 3 Machine BArithmetic and logic 10 1Load and store 8 2Branch 2 4Others 4 3(a) Determine the effective CPI, MIPS rate, and execution time for each machine. (b) Comment on the results.
Computers and Technology
1 answer:
andreyandreev [35.5K]2 years ago
7 0

Answer:

(A) CPIₐ = 2.22, MIPSₐ = 90, CPUₐ = 0.2 s

CPIₙ = 1.92, MIPSₙ, CPUₙ = 0.23 s

(B) Even though machine B has a higher MIPS than machine A, it needs a longer CPU time to execute the similar set of benchmark programs instructions.

Explanation:

To start with, we solve for CPI ∨ A,

Where ∨ = superscript

CPIₙ = Machine B, that is (ₙ = B),

Therefore,

a) CPIₐ  = Σ CPI ∨i × I ∨i ÷ I ∨c

= (8 × 1 + 4 × 3 + 2 ×4 + 4 × 3 ) × 10 ⁶ ÷ ( 8 +4 +2+4) × 10 ⁶

≈ 2.22

MIPSₐ = f / CPIₐ × 10 ⁶ = 200 × 10 ⁶ ÷ 2.22 × 10 ⁶

≈ 90

CPUₐ = I ∨c × CPIₐ ÷ f  

= 18 × 10 ⁶ × 2.2 ÷ 200 × 10 ⁶

= 0.2 s

CPIₙ = Σ CPI ∨i × I ∨i ÷ I ∨c

= (10 × 1 + 8  × 2 + 2 × 4 + 4 × 3) × 10 ⁶ ÷ (10 + 8+ 2 + 4) × 10 ⁶

≈ 1.92

MIPSₙ = f / CPIₙ × 10 ⁶ = 200 × 10 ⁶ / 1.92 × 10 ⁶

= 104

CPUₙ = I ∨c × CPIₙ ÷ f  

=24 × 10 ⁶ × 1.92 ÷ 200 × 10 ⁶

≈ 0.23 S

b) Even though machine B has a higher MIPS than machine A, it needs a longer CPU time to execute the similar set of benchmark programs instructions.

You might be interested in
3.A customer has a system with a Gigabyte B450 Aorus Pro motherboard. He wants to upgrade the processor from the AMD Athlon X4 9
Burka [1]

Answer:

The upgrade is possible and it will yield a remarkable  increase in performance

Explanation:

It is a newer product, there is tendency of having a better application compatibility/performance

It has much higher multi threaded performance which is around 522% higher. This allows for higher performance in professional applications like encoding and heavy multitasking compared to the previous.

When considering gaming, it has higher performance compared to the previous.

5 0
2 years ago
The _______________ domain refers to any endpoint device used by end users, which includes but is not limited to mean any smart
viva [34]
The answer is <span>workstation.   </span>The workstation domain refers to any endpoint device used by end users, which includes but is not limited to mean any smart device in the end user's physical possession and any device accessed by the end user, such as a smartphone, laptop, workstation, or mobile device.
5 0
2 years ago
Write a method called printRangeOfNumbers that accepts a minimum, maximum numbers as parameters and prints each number from mini
timama [110]

Answer:

The method in python is as follows:

class myClass:

    def printRange(min,max):

         for i in range(min, max+1):

              print("{"+str(i)+"} ", end = '')

           

Explanation:

This line declares the class

class myClass:

This line defines the method

    def printRange(min,max):

This line iterates from min to max

         for i in range(min, max+1):

This line prints the output in its required format

              print("{"+str(i)+"} ", end = '')

5 0
2 years ago
Into which of these files would you paste copied information to create an integrated document?
Oksanka [162]
D cause you will need to keep up with data also
7 0
2 years ago
Read 2 more answers
The computer component that makes sure that instructions are decoded and executed properly is the ___________.
Shalnov [3]

Answer:

The Central Processing Unit

Explanation:

The Central Processing Unit is the brains of the computer where most calculations take place. A central processing unit (CPU), also called a central processor or main processor is the electronic circuitry within a computer that executes instructions that make up a computer program. The CPU performs basic arithmetic, logic, controlling, and input/output (I/O) operations specified by the instructions.

8 0
2 years ago
Read 2 more answers
Other questions:
  • If a stadium pays $20,000 for labor and $13,000 for parking, what is the stadium's profit margin if the game generates $206,000
    7·2 answers
  • You can press ____ to move the focus through the controls of the form. [page down] [tab] [f5] [f12]
    10·1 answer
  • Create a program to deteate a program to determine whether a user-specified altitude [meters] is in the troposphere, lower strat
    11·1 answer
  • Write a function that computes the average and standard deviation of four scores. The standard deviation is defined to be the sq
    15·1 answer
  • Write multiple if statements. If car_year is 1969 or earlier, print "Few safety features." If 1970 or later, print "Probably has
    12·1 answer
  • while investigating the settings on your SOHO router, you find two IP address reported on the devices's routing table, which is
    5·1 answer
  • Write a program that first reads in the name of an input file, followed by two strings representing the lower and upper bounds o
    8·1 answer
  • dam is writing a program that: 1) has the user guess a number, and 2) tells the user how many guesses it took to get the correct
    9·1 answer
  • Which statement is true about the purpose of a work in process constraint?
    15·1 answer
  • Which of the following is true of how the Internet has responded to the increasing number of devices now using the network? a) T
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!