CS/운영체제

Chapter 1: Introduction

arsenic-dev 2025. 5. 4. 18:47

경희대학교 허선영 교수님의 운영체제 수업을 기반으로 정리한 글입니다.

Computer Architecture 101

Von Neumann Architecture

1. 메모리에 유저의 프로그램(data, instructions) 올림

2. CPU는 이 올라간 프로그램 실행

Storage Hierarchy

※ nonvolatile memory: SSD / off-chip: main memory

Multi-core Processors

※ Storage <-> Main Memory <-> CPU

 

Process Management

Process

1. Process State

: state는 OS가 관리하며, 이를 통해 프로세스가 번갈아 가며 CPU 사용 (time sharing)

  • admitted: 메모리 부족 시 승인 X
  • ready: CPU 기다리는 상태
  • running: CPU를 사용하고 있는 상태

※ single core인 경우 running 상태인 프로세스는 1개뿐 (multi thread여도 동일)

 

2. Process Control Block (PCB)

: 프로세스 관리를 위해 data structure 만들어 관리

Multithreaded process

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

Chapter 5: CPU Scheduling  (1) 2025.05.07
Chapter 4: Thread & Concurrency  (0) 2025.05.06
Chapter 3: Processes  (0) 2025.05.04
Chapter 2: Operating System Structures  (1) 2025.05.04