1.

Suppose A Transaction Is Written In C With Embedded Sql, And About 80 Percent Of The Time Is Spent In The Sql Code, With The Remaining 20 Percent Spent In C Code. How Much Speed Up Can One Hope To Attain If Parallelism Is Used Only For The Sql Code?

Answer»

SINCE the part which cannot be parallelized takes 20% of the total RUNNING time, the best speed up we can HOPE for has to be less than 5.

Since the part which cannot be parallelized takes 20% of the total running time, the best speed up we can hope for has to be less than 5.



Discussion

No Comment Found

Related InterviewSolutions