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
mamaluj [8]
4 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]4 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
30 points
Murljashka [212]
The answers are Library Catalog access, Simultaneous access, 24/7 availability, and database resources. No physical boundary and systems are also viable options but brick and mortar access is definetely not one.
3 0
3 years ago
If your computer will not turn on, What is something you can would you use to diagnose the problem?
inysia [295]
3. See if its plugged in
3 0
3 years ago
Read 2 more answers
Just answer the 2 questions. THX
pogonyaev

Answer:

A then D

Explanation:

3 0
3 years ago
SQL statement to verify the updated name field for the publisher with ID 5 SELECT * FROM Publisher WHERE PubID=5;
hichkok12 [17]

Answer:

Option(a) i.e "true" is the correct answer for the given question.

Explanation:

The select statement is used for fetching the record in the database. Select is the Data manipulation command. The given query gives  all the records where id=5 from the table publisher in the table format.After executing of query the user can verify that the field is updated or not in the table.

So the given statement is "true".

7 0
4 years ago
Open Meet and enter this code: jnw-xodp-yij only for boys​
Agata [3.3K]
Skegeuabdvsjalalsjsn
8 0
3 years ago
Read 2 more answers
Other questions:
  • Is it okay to leave your car running while parked?
    15·1 answer
  • You have successfully compiled the file Hi.java, how do you run the corresponding program from the command line?
    7·1 answer
  • Write a program with a function that accepts a string as an argument and returns a copy of the string with the first character o
    11·1 answer
  • Ted is asked to create a page of family photos for his family reunion Web site. He will have about 20 pictures to post, with a c
    5·1 answer
  • Defining a(n) ______________ of an object is called instantiation.
    12·1 answer
  • In filmmaking, who is ultimately responsible for the creative process?
    15·1 answer
  • Assume that PrecinctReport is a structured type with these fields, address (a string), and three int fields which are counts of
    9·1 answer
  • What kind of music you guys play
    5·2 answers
  • Consider we have n pointers that need to be swizzled, and swizzling one point will take time t on average. Suppose that if we sw
    11·1 answer
  • Help me. thank you very much
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!