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
julsineya [31]
3 years ago
5

You are a designer of a new processor. You have to choose between two possible implementations (called M1 and M2) of the same ar

chitecture. a. Machine M1 has a clock rate of 2.8 GHz and the following characteristics:Instruction classes CPI (Clocks per instruction) for each Instruction classes Frequency A 1 40% B 3 25%C 3 25%D 5 10%Instruction classes CPI (Clocks per instruction) Frequency A 2 40%B 2 20% C 3 15%D 4 25%Required:a. What is the CPI for each machine? b. What are the native MIPS ratings for M1 and M2? c. Which machine has a better by the MIPS performance (by comparing their MIPS values) and by how much?
Engineering
1 answer:
Kaylis [27]3 years ago
8 0

Answer:

A ) CPI : M1 = 2.4 , M2 = 2.65

B ) MIPS : M1 = 1083, M2 = 1056

C ) The machine that has a better performance based on MIPS is M1 and this is  by 27 million number of instructions per sec

Explanation:

A) The CPI for each machine

CPI = ( Total number of execution cycles ) / ( instruction counter executed )

For Machine 1 ( M1 )

we have to make some assumptions : number of instructions = 10

number of times A was executed = 4 , Number of times B was executed = 2.5 , number of times C was executed = 2.5, Number of times D was executed = 1. and this was based on the frequency given above

hence CPI for M1 =[ ( 1 * 4 ) + ( 3 * 2.5 ) + ( 3 * 2.5 ) + ( 5 * 1 ) ] / 10

       CPI  for M1 = 2.4

For Machine 2 ( M2 )

we have to make some assumptions : number of instructions = 10

number of times A was executed = 4 , Number of times B was executed = 2.  number of times C was executed = 1.5, Number of times D was executed = 2.5 times. and this was based on the frequency given above

Hence CPI  for M1 = [ ( 2 * 4 ) + ( 2 * 2 ) + ( 3 * 1.5 ) + ( 4 * 2.5 ) ] / 10

            CPI for M2 = 2.65

B ) Calculate the native MIPS  ratings for M1 and M2

MIPS = ( instruction counts ) / ( Execution time * 10^6 )

For M1

Assumptions : number of instructions executed = 10

                        each clock cycle = 0.3846 * 10^-9.      frequency = 2.6 Ghz

first we calculate the total execution time which is equal to :

= [ ( 1 * 4 ) + ( 3 * 2.5 ) + ( 3 * 2.5 ) + ( 5 * 1 ) ] * 0.3846 * 10 ^-9

= 9.2304 * 10 ^-9 secs

therefore the MIPS for M1

= 10 / ( 9.2304 * 10^-9 ) * 10^6  = 1083

                                         

For M2

Assumptions : number of instructions executed = 10

                        each clock cycle = 0.3846 * 10^-9.      frequency = 2.8 Ghz

first we calculate the total execution time which is equal to :

= [ (2*4) + (2*2) + (3 * 1.5 ) + ( 4 * 2.5 ) ] * 0.3846 * 10^-9 = 9.4631 * 10^-9 secs

therefor the MIPS for M2

= 10 / ( 9.4631*10^-9) * 10^6 = 1056

C ) The machine that has a better performance based on MIPS is M1 and this is by 27 million number of instructions per sec

You might be interested in
In casting experiments performed using a certain alloy and type of sand mold, it took 170 sec for a cube-shaped casting to solid
poizon [28]

Answer:

Answer for the question is : Solidification time will be same i.e. 170. See attached file for explanation.

Explanation:

Download pdf
7 0
3 years ago
Read 2 more answers
Info security:
il63 [147K]

Answer:

True

Explanation:

Dual home host - it is referred to as the firewall that is incorporated with two or more networks. out of these two networks, one is assigned to the internal network and the other is for the network. The main purpose of the dual-homed host is to ensure that no Internet protocol traffic is induced between both the network.

The most simple example of a dual-homed host is a computing motherboard that is provided with two network interfaces.

7 0
4 years ago
What careers could you potential do if you
Margarita [4]

Answer:

Engineering careers. If you want to stay in engineering, your job opportunities are very much linked to your degree type, and you probably know what many of them are already. ...

Consulting. ...

Technical writing. ...

Business. ...

Investment banking. ...

Law. ...

Manufacturing and production. ...

Logistics and supply chain.

Explanation:

3 0
3 years ago
True power can only be measured across what?
loris [4]

Answer: mets

Explanation: meets are good

6 0
3 years ago
Read 2 more answers
A cylinder of aluminum-magnesium alloy 0.5 m long is subjected to an elastic tensile stress of 10.2 MPa. The measured elastic el
elena55 [62]

Answer:

E= 15 GPa.

Explanation:

Given that

Length ,L = 0.5 m

Tensile stress ,σ = 10.2 MPa

Elongation ,ΔL = 0.34 mm

lets take young modulus  = E

We know that strain ε given as

\varepsilon =\dfrac{\Delta L}{L}

\varepsilon =\dfrac{0.34}{0.5\times 1000}

\varepsilon =0.00068

We know that

\sigma = \varepsilon  E\\\\E=\dfrac{10.2}{0.00068}\\E= 15000\ MPa\\E=15\ GPa

Therefore the young's modulus will be 15 GPa.

8 0
3 years ago
Other questions:
  • In engineering, economic cost is a decision-making tangible factor. Group of answer choices True False
    12·2 answers
  • According to fire regulations in a town, the pressure drop in a commercial steel, horizontal pipe must not exceed 2.0 psi per 25
    5·1 answer
  • It is possible to have liquid water at 200°C. a)-True b)- False
    14·1 answer
  • Which energy source would you rank as the best option for the rescue team? Why?
    9·1 answer
  • 3 MAOP stands for which of the following?
    9·1 answer
  • You are considering purchasing a compact washing machine, and you have the following information: The Energy Guide claims an est
    8·1 answer
  • What is the maximum volume flow rate, in m^3/hr, of water at 15.6°C a 10-cm diameter pipe can carry such that the flow will be l
    9·1 answer
  • An Otto cycle with air as the working fluid has a compression ratio of 8.2. Under cold air standard conditions, what is the ther
    14·1 answer
  • You may have to_______
    14·1 answer
  • It is better to know or not to know?​
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!