edited by
3,968 views
1 votes
1 votes
Suppose that a task makes extensive use of floating point operations with 40% of the time is consumed by floating point operations. With a new hardware design, the floating point module is speeded up by a factor of 4. What is the overall speedup?

A. 1.05

B. 1.42

C. 2.5

D. 4

Please explain the little bit problem also.
edited by

4 Answers

Best answer
1 votes
1 votes
speed up= execution time before enhancement / execution time after enhancement

execution time before enhancement =1

execution time after enhancement = 0.6 + 0.4/K  =0.6 +0.1=0.7

speedup=1/0.7=1.42
selected by
1 votes
1 votes
without pipline total time=x

with 40% part done in 1/4th time we get total time =.4x/4+.6x

so speedup=x/(.4x/4+.6x)=1/.7=1.42
1 votes
1 votes

let t is the total time for executing the task 0.6t ( time for general operations) + 0.4t (time for floating point operation)

since floating point operations are speed up by 4 times the time taken for its execution decreases by 4 i.e 0.4t/4 = 0.1t

now total time for executing the task = 0.6t ( time for general operations) + 0.1t (time for floating point operation)

hence speed up = (0.6t + 0.4t)/ (0.6t + 0.1t) = t/0.7t = 1.42

0 votes
0 votes

Initially :

Let time taken by FPU = x.

This means 40% of time = x.

This means 60% of time by other units = 1.5 x. 

This means total time taken = (1+1.5)x  = 2.5 x

 

After Improvement: 

Time taken by FPU = $\frac{1}{4}x = 0.25x$

Time taken by other units = 1.5 x

Total time taken = 1.75 x

 

Speedup = $\frac{2.5x}{1.75x} = 1.42$

Related questions

0 votes
0 votes
1 answer
2
junaid ahmad asked Nov 26, 2018
347 views
Is Cycles required 11 or 14 ?
0 votes
0 votes
0 answers
4
eyeamgj asked Nov 6, 2018
249 views
https://gateoverflow.in/80201/gate1987-1-viiNOT GETTING ITS ANSWER .......