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 remote areas, your gps devices may lose reception. It’s a good idea to have a
Katarina [22]

Answer: MAP!!! it's always a good Idea to have a map nearby, cause you'll never know when you'll need it or like you said, lose reception

4 0
3 years ago
Read 2 more answers
What is aviation? What is the difference between aviation and flight?
-Dominant- [34]
Aviation refers to flying using an aircraft, like an aeroplane. It also includes the activities and industries related to flight, such as air traffic control. The biggest of the many uses of aviation are in air travel and military aircraft . The main difference between aeronautics and aviation is their focus. Aeronautics involves the study of the science, design, and manufacture of flying vehicles while aviation involves flying or operating an aircraft and various activities surrounding mechanical flight and the aircraft industry
3 0
3 years ago
Which basic principle influences how all HVACR systems work?
bezimeni [28]

Answer:

B) An increase in pressure can lower the boiling point of a liquid and change the temperature at which it turns to a gas.

Explanation:

B) An increase in pressure can lower the boiling point of a liquid and change the temperature at which it turns to a gas.

6 0
3 years ago
1.
Levart [38]

Answer:

This is a for loop.

Explanation:

6 0
3 years ago
Refrigerant-134a enters a 28-cm-diameter pipe steadily at 200 kPa and 20°C with a velocity of 5 m/s. The refrigerant gains heat
Alexandra [31]

Answer:

V = 0.30787 m³/s

m = 2.6963 kg/s

v2 =  0.3705 m³/s

v2 = 6.017 m/s

Explanation:

given data

diameter = 28 cm

steadily =200 kPa

temperature = 20°C

velocity = 5 m/s

solution

we know mass flow rate is

m = ρ A v

floe rate V = Av

m = ρ V

flow rate = V = \frac{m}{\rho}

V = Av = \frac{\pi}{4} * d^2 * v1

V = \frac{\pi}{4} * 0.28^2 * 5

V = 0.30787 m³/s

and

mass flow rate of the refrigerant is

m = ρ A v

m = ρ V

m = \frac{V}{v} = \frac{0.30787}{0.11418}

m = 2.6963 kg/s

and

velocity and volume flow rate at exit

velocity = mass × v

v2 = 2.6963 × 0.13741 = 0.3705 m³/s

and

v2 = A2×v2

v2 = \frac{v2}{A2}

v2 = \frac{0.3705}{\frac{\pi}{4} * 0.28^2}

v2 = 6.017 m/s

7 0
3 years ago
Other questions:
  • simply supported beam is subjected to a linearly varying distributed load ( ) 0 q x x L 5 q with maximum intensity 0 q at B. The
    6·1 answer
  • How do I cancel my subscription
    12·2 answers
  • A field sample of an unconfined aquifer is packed in a test cylinder. The length and diameter of the cylinder are 50 cm and 6 cm
    9·1 answer
  • Which of the following answers regarding Mealy and Moore Machines are true?
    7·1 answer
  • Plot da(t) if the output voltage of the converter pole-a is vaN(t)=Vd/2+0.85 Vd/2 sin(Ï1t), where Ï1=2Ï x 60 rad/s
    12·1 answer
  • The Bureau of Labor and Statistics predicted that the field of biomedical engineering would increase by 62 percent over the comi
    5·1 answer
  • My t!t$ feel sore and heavyy
    13·1 answer
  • Can U lose a rank in Brainly by using too many points?
    6·1 answer
  • saan nag tungo si Aguinaldo at ilang pinuno ng kilusan pagkatapos mapairal ang kasunduan na pansamantalang nag dulot ng kapayapa
    6·1 answer
  • Which of the following situations best describes student engaged in active learning
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!