OS Ch1
OS Ch1
Course Overview
▪ Course title: Operating Systems
▪ Professor: Myungsuk Kim
▪ Textbook
• Operating Systems Three Easy Pieces (Remzi H. Arpaci-Dusseau & Andrea
C. Arpaci-Dusseau)
▪ Reference book
• Operating System Concepts (A. Silberschatz)
• Operating Systems: Internals and Design Principles (W. Stallings)
• Operating Systems: Design and Implementation (A.S. Tanenbaum)
운영체제 Operating Systems
Course Overview
▪ Grade
• Midterm Exam (30%)
• Final Exam (40%)
• Homework & Quiz (20%)
• Attendance (10%)
▪ Office Hour
• Wednesday p.m. 2:00 ~ 4:00
• IT4호관 406호
Our mid & final exams will be in Saturday for at least 2 hours!!!
운영체제 Operating Systems
CH 1 Introduction
운영체제 Operating Systems
application
System
software
(OS)
Computer
hardware
운영체제 Operating Systems
Java System
Compiler programming
Lisp
“Operating System” ,
SQL
Computer Architecture
Python Digital logic Digital system
Microprocessor
Rust Network Electrical circuit
R
Basics
Basic Discrete mathematics , Data structure, Automata,
(Fortran) … Algorithm (Linear algebra, Probability & Statistics) …
운영체제 Operating Systems
Application
Computer hardware
운영체제 Operating Systems
Appendix: Interface
▪ Lasts through many implementations (portability, compatibility)
▪ Is used in many different ways (generality)
▪ Provides convenient functionality to higher levels
▪ Permits an efficient implementation at lower levels
Implementation 1
Use a
Implementation 2
Use b Interface
Use c Implementation 3
User
Application mode
VFS
UNIX server
Application
File server
Device
driver
IPC, File System …
Scheduler,
Virtual memory…
Kernel
Device drivers, Basic IPC, Scheduler
Dispatcher… mode Virtual memory
Hardware Hardware
(Time)
운영체제 Operating Systems
Total : 31 us
(Time)
운영체제 Operating Systems
(Time)
운영체제 Operating Systems
Appendix:
▪ Two types of I/O
• Synchronous I/O
▫ Once I/O starts, control returns user program only upon I/O completion
▫ Wait instruction idles the CPU
▫ At most, one I/O request is outstanding at a time
• Asynchronous I/O
▫ Once I/O starts, control returns user program without waiting I/O
completion
운영체제 Operating Systems
Appendix:
▪ Two types of I/O
(Synchronous I/O) (Asynchronous I/O)
운영체제 Operating Systems