Thus there is scope for greater concurrency if page

Info iconThis preview shows pages 2–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Thus there is scope for greater concurrency. If page caching is used, this is not possible. 17.4 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 speedup can one hope to attain if parallelism is used only for the SQL code? Explain. Answer: Since the part which cannot be parallelized takes 20% of the total running time, the best speedup we can hope for has to be less than 5. 17.5 Some database operations such as joins can see a signiFcant difference in speed when data (for example, one of the relations involved in a join) Fts in memory as compared to the situation where the data does not Ft in memory. Show how this fact can explain the phenomenon of superlinear speedup , where an application sees a speedup greater than the amount of resources allocated to it. Answer: ±ILL
Background image of page 2

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Practice Exercises 19 17.6 Parallel systems often have a network structure where sets of n pro- cessors connect to a single Ethernet switch, and the Ethernet switches themselves connect to another Ethernet switch. Does this architecture correspond to a bus, mesh or hypercube architecture? If not, how would you describe this interconnection architecture? Answer: FILL
Background image of page 3
Background image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page2 / 4

Thus there is scope for greater concurrency If page caching...

This preview shows document pages 2 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online