1.What is Multithreading and Describe the four benefit categories to multithreaded programming? 2. What is parallelism? What...
Question:
1.What is Multithreading and Describe the four benefit categories to multithreaded programming?
2. What is parallelism? What is concurrency? What is the difference ?
3. Using Amdahl’s Law, calculate the speedup gain of an application that has a 30 percent parallel component for
(a) two processing cores and
(b) four processing cores.
4. List and describe the five areas that present challenges when programming for multicore systems?
5.What is Data Parallelism? What is Task Parallelism?
6. What thread model does a programmer manage? What thread model does the OS manage?
7. Describe each of these user-kernel thread relationship models and which Operating Systems use each of the models:
Many-to-One
One-to-One
Many-to-Many
Two-Level Model
8.What is a thread library? What are the three main libraries in use today?
9. How are Java threads typically implemented in Windows and Linux?
10. Why does Java have to use the OS’s thread library VM and Where do threads execute)?
11. What is a Thread Pool? What are the Three advantages of using thread pools? What OS(s) provide Thread Pools?
12. What is explicit threading? What is implicit threading? Which type uses an API? Which type uses compilers and run-time libraries?
13. Describe each of these threading issues for multi-threaded environments:
Semantics of fork() and exec()
Signal Handling
Thread Cancellation
Thread-local storage
Scheduler Activations
14. Do Windows threads provide both user and kernel stacks? Explain your answer
15. What term does Linux use to refer to a process or a thread?
Applied Regression Analysis and Other Multivariable Methods
ISBN: 978-1285051086
5th edition
Authors: David G. Kleinbaum, Lawrence L. Kupper, Azhar Nizam, Eli S. Rosenberg