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
Hey, I have a question, I was thinking that if you have engineering skills or drawing skill you could help me to start a project
gayaneshka [121]

Answer

Dont have one;(

Explanation:

7 0
3 years ago
A flow field is characterized by the stream function ψ= 3x2y−y3. Demonstrate thatthe flow field represents a two-dimensional inc
boyakko [2]

Answer:

δu/δx+δu/δy = 6x-6x =0

9r^2

Explanation:

The flow is obviously two-dimensional, since the stream function depends only on the x and y coordinate. We can find the x and y velocity components by using the following relations:  

u =δψ/δy = 3x^2-3y^2

v =-δψ/δx = -6xy

Now, since:  

δu/δx+δu/δy = 6x-6x =0

we conclude that this flow satisfies the continuity equation for a 2D incompressible flow. Therefore, the flow is indeed a two-dimensional incompressible one.  

The magnitude of velocity is given by:  

|V| = u^2+v^2

    =(3x^2-3y^2)^2+(-6xy)^2

    =9x^4+18x^2y^2+9y^2

    =(3x^2+3y^2)^2

    =9r^2

where r is the distance from the origin of the coordinates, and we have used that r^2 = x^2 + y^2.  

The streamline ψ = 2 is given by the following equation:  

3x^2y — y^3 = 2,

which is most easily plotted by solving it for x:  

x =±√2-y^3/y

Plot of the streamline is given in the graph below.  

Explanation for the plot: the two x(y) functions (with minus and plus signs) given in the equation above were plotted as functions of y, after which the graph was rotated to obtain a standard coordinate diagram. The "+" and "-" parts are given in different colors, but keep in mind that these are actually "parts" of the same streamline.  

8 0
4 years ago
Convert 25 inches / min to mm/hour​
Taya2010 [7]

Answer:

25 mins into hours = 0.416667 hours

25 inches as mm = 635

Explanation:

6 0
3 years ago
You are riding in an elevator that is going up at 10 ft/s. You are holding your cell phone 5 ft above the floor when it suddenly
Luba_88 [7]

Answer:

It falls at the same speed in both cases.

Explanation:

If I were standing still the phone would be in free fall after slipping out of my hand.

I set a frame of reference with origin on the ground and the positive Y axis pointing up.

It would slip at t0 = 0, from a position Y0 = 5 ft, with a speed of Vy0 = 0.

It would be subject to an gravitational acceleration of -32.2 ft/s^2.

Since acceleration is constant:

Y(t) = Y0 + Vy0 * t + 1/2 * 4 * t^2

When it hits the floor at t1 it will be at Y(t1) = 0

0 = 5 + 0 * t1 - 16.1 * t1^2

16.1 * t1^2 = 5

t1^2 = 5 / 16.1

t1 = \sqrt{0.31} = 0.55 s

If the elevator is standing still it would take 0.55 s to hit the ground.

Now, if the elevator is moving up at 10 ft/s.

The frame of reference will have its origin at the place the floor of the elevator is at t = 0, and stay there as the elevetor moves. The floor of trhe elevator will have a position of Ye = 10 * t

Vy0 = 10 ft/s because it will be moving initially at the same speed as the elevator.

And it will hit the floor of the elevator not at 0, but at

Ye = 10 * t2

So:

10 * t2 = 5 + 10 * t2 - 16.1 * t2^2

0 = 5 - 16.1 * t2^2

16.1 * t1^2 = 5

t1^2 = 5 / 16.1

t1 = \sqrt{0.31} = 0.55 s

It falls at the same speed in both cases.

4 0
4 years ago
Consider steady heat transfer through the wall of a room in winter. The convection heat transfer coefficient at the outer surfac
AveGali [126]

The heat transfer which is in steady state, the heat transfer rate to the wall is equal to the wall.

<u>Explanation:</u>

  • The convection transfer of heat to the wall is

         Q=h A\left(T_{s}-T_{f}\right)

  • Here, T_{S} is the temperature of solid surface, T_{f} is the temperature of moving fluid stream which is adjacent of solid surface, h is the heat transfer coefficient.
  • The coefficient of convection heat transfers outer surface contains 3 times to the inner surface which experience smaller drop of temperature for 3 times that compares to inner surface.
  • Hence, the temperatures outer surface get close to the surroundings of air temperature.
6 0
3 years ago
Other questions:
  • Where are revolved sections placed in a print? A) in between break lines B) cutting planes are used to identify their locations
    12·1 answer
  • A speaker's knowledge of how he or she wants to affect the audience will be helpful in choosing the right information and influe
    7·1 answer
  • What is poop made out of
    13·2 answers
  • What are the de Broglie frequencies and wavelengths of (a) an electron accelerated to 50 eV (b) a proton accelerated to 100 eV
    10·1 answer
  • Two students are in a baseball game.The first student hits a ball very hard and it has a greater acceleration than the second st
    10·2 answers
  • A heat engine that receives heat from a furnace at 1200°C and rejects waste heat to a river at 20°C has a thermal efficiency of
    14·1 answer
  • . A belt drive is desired to couple the motor with a mixer for processing corn syrup. The 25-hp electric motor is rated at 950 r
    13·1 answer
  • I need help with simply science ​
    11·1 answer
  • Please help i really don't understand.
    8·1 answer
  • Hwan also wants to determine the depreciation balance for the first year and the last year of the useful life of the product har
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!