Q1
(4 marks) In a multicore system with multiple hardware threads, is it useful if the OS is aware of the hardware threads? Explain how this helps improve system performance. 6 pts
Q2
(6 marks) Multiprocessors may use a shared queue or private queues (one for each of the processors). Discuss the advantage and disadvantage of using a shared ready queue and private queues. 6 pts
Q3
(6 marks) Briefly explain how sum reduction works. In addition to the difference on communication methods (shared memory vs message passing), what is the key difference between shared memory and message passing multiprocessors performing sum reduction? 6 pts
Q4
COSC2626 only. (12 marks) CPU, GPU and DPU are commonly used in the cloud for a variety of tasks. Discuss the kind of tasks that best suits each of the processors and what parallel processing architectures these processors use. 12 pts
COSC2640 only. (12 marks) You are designing a program and want to take advantage of parallel processing. Discuss your design considerations and the types of processors to run the program.