In: Computer Science
Your answer |
1. Explain why overhead is less when creating a new thread than the overhead to create a process.
Your answer |
2. Discuss the types of parallelism and give examples of cases where each would be appropriate.
Your answer |
3. Provide an example where a multicore-processor-based system could have neither concurrency nor parallelism.
4. Using Amdahl's Law, calculate the speedup gain for the following situation:
75 percent parallel with (a) eight processing cores and (b) sixteen processing cores
57 percent parallel with (a) two processing cores and (b) four processing cores
Your answer |
89 percent parallel with (a) four processing cores and (b) eight processing cores
Ans(2) :
=======================================================================================
Ans(4) :
=======================================================================================
Ans(1) :
=======================================================================================