티스토리 뷰

운영체제/이론

(20) Multithreading Models

geonwoopaeng@gmail.com 2020. 9. 19. 21:52

1. Many-to-One Model

: 여러 user thread + one kernel thread

: 여러 thread를 병렬로 실행 할 수 없습니다.(1개씩)

: one thread blocking은 모두 block합니다.

출처: Operating System Concepts 10th Ed (John Wiley & Sons, Inc. 2018)

 

 

2. One-to-One Model

: user thread와 같은 수의 kernel thread

: user thread의 개수가 많은 경우에 overhead가 발생한다 => 성능 문제 발생

: window, linux에서 사용

 

출처: Operating System Concepts 10th Ed (John Wiley & Sons, Inc. 2018)

 

 

 

3.Many-to-Many Model

: Many-to-One Model + One-to-One Model

: parallellism을 할 수 있으며 많은 수의 thread의 수를 받아들일 수 있습니다.

: 구현하기 어렵습니다.

 

출처: Operating System Concepts 10th Ed (John Wiley & Sons, Inc. 2018)

반응형

'운영체제 > 이론' 카테고리의 다른 글

(22) Dispatcher  (0) 2020.09.19
(21) CPU scheduling  (0) 2020.09.19
(19) Thread  (0) 2020.09.19
(18) Process Management(Process termination)  (0) 2020.09.17
(17) Process Management(Process creation)  (0) 2020.09.17
공지사항
최근에 올라온 글