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
Imagine yourself as an Engineer. How would you design your own Wind Turbine to generate electricity (at least 40 watts) at your
topjm [15]

Answer: You need metal and other stuff

Explanation:

6 0
2 years ago
Explain all the characteristics of computer<br>​
Sedaia [141]
They are as follows-

Speed
Accuracy
Storage
Versatility
Diligence
Automation
Reliability
Power of Remembering

Let us understand each characteristic in brief:-

Speed – Speed of a computer means the time it takes to complete any given task. The computer works at a very lightning speed. For example, a computer takes a second to calculate 3 million calculations rather than a human which takes years. Hence nowadays the speed of the computer is measured in terms of microseconds, Nanoseconds, and even in Pico seconds instead of seconds or milliseconds.


Accuracy – The computers are programmed and designed in such a manner that their results are almost 100% accurate. It performs all the tasks with the same accuracy. There are very few chances of uncertainty in results and even though an error occurs, it can happen either due to wrong input data or unreliable programs by a programmer. Such errors are referred to as Garbage In Garbage Out (GIGO) which means, if you provide wrong instructions to the computer then you get wrong results.


Versatility – Along with being accurate and diligent a computer is also a versatile device. It can perform several types of tasks at a time if they are reduced to a certain set of logical steps. A computer can be used for many purposes at different places such as booking air and rail tickets, weather forecasting, listening to music, and playing games. Also at a time, one can pay his utility bills and can make a monthly budget too. It can prepare documents, data sheets and also can make models of houses, dams, etc.
Diligence – The ability of a computer to perform tasks without getting tired is known as diligence. Computers are highly reliable, they do not get fed up, exhausted, or lack concentration. They can work for hours and hours unlike humans and can give accurate or error-free results. For example, humans will start feeling tired after 2 -3 hours and will lack concentration whereas a computer will keep on working until the results are achieved.
Automation – Automation means working automatically. A computer can work on its own without the intervention of the person using it. Programs can be made for the computer to perform the task and based on the sequence it executes the tasks and gives accurate results. In case an error occurs, it gives error messages too and registers the logs.
Reliability – High reliability of a computer depends on low failure rate and easy maintenance. The results given out by the computer are reliable as the accuracy is almost 100%.
Power of Remembering – The computer has the power of storing data or information for several years. It cannot lose the data on its own. A person can retrieve the data whenever required and the data remains the same after a number of years also. It gives the freedom to the user to decide on how much data to store and how much to remove.
5 0
3 years ago
For the data points (1,1),(2,1/2),(3,1/3),(4,1/4), finde the natural cubic spline.
kow [346]

Answer:

y = -1/24 x³ + 5/12 x² − 35/24 x + 25/12

Explanation:

A cubic has the form:

y = ax³ + bx² + cx + d

Given four points, we can write a system of equations:

1 = a + b + c + d

1/2 = 8a + 4b + 2c + d

1/3 = 27a + 9b + 3c + d

1/4 = 64a + 16b + 4c + d

Solving this algebraically would be time-consuming, but we can use matrices to make it easy.

\left[\begin{array}{cccc}1&1&1&1\\8&4&2&1\\27&9&3&1\\64&16&4&1\end{array}\right]\left[\begin{array}{cccc}a\\b\\c\\d\end{array}\right]=\left[\begin{array}{cccc}1\\1/2\\1/3\\1/4\end{array}\right]

First, we find the inverse of the coefficient matrix.  This is messy to do by hand, so let's use a calculator:

\left[\begin{array}{cccc}1&1&1&1\\8&4&2&1\\27&9&3&1\\64&16&4&1\end{array}\right] ^{-1} =-\frac{1}{12}\left[\begin{array}{cccc}2&-6&6&-2\\-18&48&-42&12\\52&-114&84&-22\\-48&72&-48&12\end{array}\right]

Now we multiply by the solution matrix (again using a calculator):

-\frac{1}{12} \left[\begin{array}{cccc}2&-6&6&-2\\-18&48&-42&12\\52&-114&84&-22\\-48&72&-48&12\end{array}\right]\left[\begin{array}{cccc}1\\1/2\\1/3\\1/4\end{array}\right] =\left[\begin{array}{cccc}-1/24\\5/12\\-35/24\\25/12\end{array}\right]

So the cubic is:

y = -1/24 x³ + 5/12 x² − 35/24 x + 25/12

7 0
3 years ago
Air-conditioning principles are being discussed. Technician A states that heat always
Sunny_sXe [5.5K]

Answer: C.

Explanation:

7 0
3 years ago
The typical area of a commercial airplane's passenger window is 80.0 in^2 . At an altitude of 3.00 × 104 ft above the sea level,
nikdorinn [45]

Answer:

The force over the plane windows are 764 lbf in the EE unit system and 3398 N in the international unit system.

Explanation:

The net force over the window is calculated by multiplying the difference in pressure by the area of the window:

F = Δp*A

The pressure inside the plane is around 1 atm, hence the difference in pressure is:

Δp = 1atm - 0.35 atm = 0.65 atm

Expressing in the EE unit system:

Δp = 0.65 atm * 14.69 lbf/in^2 = 9.55 lbf/in^2

Replacing in the force:

F = 9.55 lbf/in^2 * 80 in^2  = 764 lbf

For the international unit system, we re-calculate the window's area and the difference in pressure:

A = 80 in^2 * (0.0254 m/in)^2 = 0.0516 m^2

Δp =  0.65 atm * 101325 Pa  = 65861 Pa  = 65861 N/m^2

Replacing in the force:

F = 65861 N/m^2  *0.0516 m^2  = 3398 N

3 0
3 years ago
Other questions:
  • An air conditioner removes heat steadily from a house at a rate of 750 kJ/min while drawing electric power at a rate of 6 kW. De
    5·1 answer
  • (8 points) Consider casting a concrete driveway 40 feet long, 12 feet wide and 6 in. thick. The proportions of the mix by weight
    8·1 answer
  • The cubic capacity of a four-stroke over-square spark-ignition engine is 245cc. The over-square ratio is (1.1) The clearance vol
    14·1 answer
  • A classroom that normally contains 40 people is to be air-conditioned with window air-conditioning units of 5 kW cooling capacit
    6·1 answer
  • Block A is released from rest and slides down the frictionless ramp to the loop. The maximum height h of the loop is the same as
    6·1 answer
  • A completely reversible heat pump produces heat ata rate of 300 kW to warm a house maintained at 24°C. Theexterior air, which is
    6·1 answer
  • Given two alphabet strings str1 and str2. You can change the characters in str1 to any alphabet characters in order to transform
    8·1 answer
  • Suppose that the material to be used in a fuse melts when the current density rises to 459 A/cm2. What diameter of cylindrical w
    6·2 answers
  • In the figure show, what's the distance from point H to point C?
    14·1 answer
  • 8. What are used by the project architect to depict different building systems and to show how they correlate to one anothe
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!