Tara Alvarado

2022-01-07

Another pitfall cited is expecting to improve the overall performance of a computer by improving only one aspect of the computer. Consider a computer running a program that requires 250 s, with 70 s spent executing FP instructions, 85 s executed L/S instructions, and 40 s spent executing branch instructions.

1. By how much is the total time reduced if the time for FP operations is reduced by 20%?

2. By how much is the time for INT operations reduced if the total time is reduced by 20%?

3. Can the total time can be reduced by 20% by reducing only the time for branch instructions?

1. By how much is the total time reduced if the time for FP operations is reduced by 20%?

2. By how much is the time for INT operations reduced if the total time is reduced by 20%?

3. Can the total time can be reduced by 20% by reducing only the time for branch instructions?

maul124uk

Beginner2022-01-08Added 35 answers

Step 1

1. The new time required to run FP operations is

$0.8\times 70s=56s$

So, the new time required to run the program is

$250-(70-56)=236s$

(because we reduced the time of execution by$70-56=14$

2. The new total time of executions is

$0.8\times 250=200s$

If we assume that we changed only the time needed to execute INT operations, the new time needed to execute INT operations is

$200-70-85-40=5s$

Since the old time was$250-70-85-40=55$ seconds, and $\frac{5}{55}=0.09$ ,

this is the decrease of a whooping 91%!

3. Lets

1. The new time required to run FP operations is

So, the new time required to run the program is

(because we reduced the time of execution by

2. The new total time of executions is

If we assume that we changed only the time needed to execute INT operations, the new time needed to execute INT operations is

Since the old time was

this is the decrease of a whooping 91%!

3. Lets

Ethan Sanders

Beginner2022-01-09Added 35 answers

Answer:

a) For this case the new time to run the FP operation would be reduced 20% so that means

The reduction on this case is

And since the new total time would be given by

b) For this case the total time is reduced 20% so that means that the new total time would be

The original time for INT operations is calculated as:

For this part the only time that was changed is assumed the INT operations so then:

And then:

c) A reduction of the total time implies that the total time would be 205 s from the results above. And the time for FP is 70, for L/S is 85 and for INT operations is 55 s, so then if we add

Explanation: From the info given we know that a computer running a program that requires 250 s, with 70 s spent executing FP instructions, 85 s executed L/S instructions and 40 s spent executing branch instructions.

Part 1 For this case the new time to run the FP operation would be reduced 20% so that means

The reduction on this case is

And since the new total time would be given by

Part 2

For this case the total time is reduced 20% so that means that the new total time would be

The original time for INT operations is calculated as:

For this part the only time that was changed is assumed the INT operations so then:

And then:

And we can quantify the decrease using the relative change:

Part 3

A reduction of the total time implies that the total time would be 205s from the results above. And the time for FP is 70, for L/S is 85 and for INT operations is 55s, so then if we add

karton

Expert2022-01-11Added 613 answers

Answer:

1) 236 s

2) 91%

3) no

Explanation:

solution:

The new time required to run FP operations is

0.8 * 70 s = 56 s

So, the new time required to run the program is

250 - (70 - 56) = 236 s (because we reduced the time of execution by 70 - 56 = 14 seconds).

The new total time of execution is

0.8 * 250 = 200s

If we assume that we changed only the time needed to execute INT operations, the new time needed to execute INT operations is

200 - 70 - 85 - 40 = 5 s

Since the old time was 250 - 70 - 85 - 40 = 55 seconds, and

this is the decrease of a whooping 91%!

Let's assume that we completely avoid using branch operations. Then the time of execution is

This is the decrease of 18%, since

nick1337

Expert2023-05-27Added 777 answers

Don Sumner

Skilled2023-05-27Added 184 answers

22+64

When a cold drink is taken from a refrigerator, its temperature is 5 degree C. After 25 minutes in a 20 degree C room its temperature has increased to 10 degree C. What is the temperature of the drink after 50 minutes?

How many minutes are there in $2\frac{3}{5}$ hours?

Find the answer for $64$ power $\frac{1}{6}$.

The following law describes the relationship between gas volume and pressure: ________. A)Boyle's law; B)Henry's law; C)Charles' law; D)Dalton's law

If an electric switch is open then no current flows through the circuit.

A)True;

B)FalseThe price elasticity of supply of a good is 0.8. Its price rises by 50 per cent. Calculate the percentage increase in its supply.

How many quarts are in 10 gallons?

When the net force acting on an object is zero, the total momentum of the system will:

A)remain constant;

B)increase with time;

C)decrease with time;

D)None of theseHow many centimeters are in four meters?

A notebook computer has a mass of 2.25 kilograms. About how many pounds does the notebook weigh?

If the dot product of two non-zero vectors is zero, then the vectors A)are parallel to each other. B)are perpendicular to each other. C)can have any orientation. D)are anti-parallel to each other.

Which is longer 5 miles or 10 kilometers?

9 grams is how many milligrams?

How to write $673.5$ in scientific notation?