728x90
비선점
-
Operating System - CPU SchedulingComputer Science/Operating System 2022. 1. 14. 14:30
CPU Scheduling CPU Scheduling이란? ㆍ 프로세스가 생성되어 실행될 때 필요한 시스템의 여러 자원을 해당 프로세스에게 할당하는 작업을 의미한다. CPU Scheduling의 목적 ㆍ 공정한 스케줄링, 처리량의 극대화, 응답 시간의 최소화 ㆍ 균형 있는 자원의 사용, 프로세스 실행의 무한한 연기를 배제, 반환시간 예측 가능 Scheduling Criteria 스케줄링의 척도 1. CPU Utilization(CPU 이용률) : CPU가 얼마나 놀지 않고 부지런히 일하는가 2. Throughput(처리율) : 시간 단위당 실행을 완료한 프로세스의 수 (시간당 몇 개의 작업을 처리하였는가) 3. Turnaround Time(반환시간) : 작업이 Ready Queue에 처음 들어갔을 때부터..