ch3 (3)
ch3 (3)
Operating System
Outline
▪ Overview
▪ Multicore Programming
▪ Multithreading Models
▪ Thread Libraries
▪ Implicit Threading
▪ Threading Issues
▪ Describe how the Windows and Linux operating systems represent threads
▪ Types of parallelism
• Data parallelism – distributes subsets of the same data
across multiple cores, same operation on each
• Task parallelism – distributing threads across cores, each
thread performing unique operation
▪ Key Characteristics:
▪ User Threads are faster, lightweight, and managed in user space, but
they don’t achieve true parallelism.
▪ Kernel Threads allow true parallel execution and better resource
management, but they are slower due to kernel overhead.
▪ Many-to-One
▪ One-to-One
▪ Many-to-Many
Operating System