CS/운영체제
프로세스
YoshiaLee
2023. 2. 4. 08:09
프로세스
-RAM에 적재된 프로그램
-PCB(Process Control Block): 프로세스에 대한 모든정보
Scheduler
-Job scheduler(long-term scheduler): Job queue 관리
-CPU scheduler(short-term scheduler): Ready queue 관리
-Device scheduler: Device queue 관리
Multiprogramming
-Degree of Multiprogramming: 메모리에 프로세스 몇개인지
-I/O bound(주로 문서) vs CPU-bound(주로 계산) process
-Medium-term scheduler
-swapping: os가 메모리를 감시 → 프로세스를 Disk(Backing store)로 내보내거나(swap out), 복귀(swap in)
-Context switching(문맥 전환)
-Scheduler: 어떤 것을 다음에 할지
-Dispatcher: 이전 프로세스를 그 PCB에 저장하고 불러올 프로세스 PCB를 가져옴(Fetch)
-Context Switching Overhead: Dispatcher에 의한 부담