Course Abstract: “Operating Systems”
The course “Operating Systems” is a
fundamental theoretical university course on the core abstractions, mechanism
designs, and architectural principles that govern the management of computer
hardware resources and support the execution of application software. It
bridges the gap between hardware capabilities and user-level computation,
focusing on how a software kernel provides safe, efficient, and concurrent
execution environments.
Students begin by exploring the historical evolution of operating systems,
hardware virtualization primitives, and the boundary between user space and
kernel space. They examine process and thread management, CPU scheduling
algorithms, concurrency hazards, and synchronization mechanisms, learning how
system design trade-offs affect throughput, latency, and fairness. Concurrency
primitives are extended to investigate deadlock prevention, avoidance, and
recovery strategies.
Memory management provides a framework for understanding isolation and sharing.
The course introduces virtual memory architectures, paging, segmentation,
address translation mechanics, page replacement algorithms, and the
architectural impact of caching and thrashing. Storage systems and file systems
lead to the exploration of on-disk data structures, logical layout design,
journaling, crash consistency, and I/O device sub-system scheduling.
Protection and security models broaden the analysis to encompass access control
matrices, authentication mechanisms, least privilege enforcement, and defense
strategies against common systems vulnerabilities. Distributed operating
systems, virtualization techniques, hypervisors, and modern containerization
paradigms extend the core concepts to cloud and scale-out infrastructures.
Real-world case studies from modern Unix-like kernels (e.g., Linux) and Windows
systems illustrate how theoretical abstractions manifest in commercial and
open-source software.
Throughout the course, students assess the algorithmic and architectural
limitations of competing kernel designs. They learn to justify systems-level
trade-offs, formalize synchronization constraints, analyze structural resource
allocation, predict performance bottlenecks, and communicate their reasoning
with technical clarity.
Course Objective
The objective of the course is to establish a rigorous theoretical foundation in operating systems concepts; develop the capacity to formalize and analyze resource management abstractions, CPU scheduling, concurrency, and memory virtualization; and enable students to critically evaluate kernel-level designs, protection models, performance trade-offs, and architectural assumptions under diverse hardware and system constraints.
Main Sections of the Course
Block 1. Introduction to Operating Systems
· Evolution and history
· Kernel vs. user mode
· System calls
· Monolithic vs. microkernel
· Hardware abstraction layers
· System boot process
Block 2. Operating System Structures
· Architectural paradigms
· Sub-system interaction
· Application programming interfaces (APIs)
· Execution environments
· Extensibility models
· Policy vs. mechanism
Block 3. Processes and Threads
· Process concepts and states
· Process control blocks (PCBs)
· Thread models (User vs. Kernel)
· Context switching
· Inter-process communication (IPC)
· Process creation and termination
Block 4. CPU Scheduling
· Scheduling criteria
· Preemptive vs. non-preemptive
· Scheduling algorithms (FIFO, SJF, RR, Priority)
· Multi-level feedback queues
· Multi-core and multiprocessor scheduling
· Real-time scheduling parameters
Block 5. Concurrency and Synchronization
· Critical section problem
· Race conditions
· Mutual exclusion algorithms
· Hardware synchronization primitives
· Semaphores and monitors
· Lock-free synchronization concepts
Block 6. Deadlocks
· System resource allocation graphs
· Four necessary conditions
· Deadlock prevention
· Deadlock avoidance (Banker's algorithm)
· Detection and recovery
· Starvation vs. deadlock
Block 7. Physical Memory Management
· Memory hierarchy
· Contiguous allocation
· Memory fragmentation (Internal vs. External)
· Paging mechanics
· Segmentation models
· Dynamic linking and loading
Block 8. Virtual Memory Abstractions
· Demand paging
· Page tables and TLB architectures
· Inverted page tables
· Page fault handling
· Hardware support for virtualization
· Shared memory implementation
Block 9. Page Replacement Algorithms
· FIFO and Optimal replacement
· Least Recently Used (LRU)
· Clock and second-chance algorithms
· Working-set model
· Thrashing dynamics
· Local vs. global allocation
Block 10. Mass-Storage Structure
· Magnetic disk and SSD architecture
· Disk scheduling algorithms (FCFS, SSTF, SCAN, LOOK)
· Disk management and initialization
· Swap-space management
· RAID levels and reliability
· Storage tiering
Block 11. File-System Interface
· File concepts and attributes
· Access methods (Sequential vs. Direct)
· Directory structures
· File system mounting
· File sharing and protection semantics
· Logical file system hierarchy
Block 12. File-System Implementation
· On-disk structures
· Allocation methods (Contiguous, Linked, Indexed)
· Free-space management
· Directory implementation
· VFS (Virtual File System) layer
· Caching and performance buffering
Block 13. File System Consistency and Recovery
· Journaling concepts
· Log-structured file systems
· Crash consistency semantics
· FSCK and integrity checks
· Snapshots and backups
· Metadata consistency rules
Block 14. I/O Systems
· I/O hardware components
· Polling vs. Interrupt-driven I/O
· Direct Memory Access (DMA)
· Kernel I/O subsystem
· Block and character devices
· Buffering, caching, and spooling
Block 15. Protection and Security
· Goals of protection
· Domain of protection
· Access control matrices
· Role-based access control (RBAC)
· Capability-based systems
· Language-based protection
Block 16. System Security Vulnerabilities
· Malware taxonomy
· Buffer overflow attacks
· Privilege escalation
· Access control mechanisms
· Auditing and logging
· Intrusion detection systems
Block 17. Virtualization and Hypervisors
· Virtualization requirements
· Type 1 and Type 2 hypervisors
· Full virtualization vs. Paravirtualization
· Hardware-assisted virtualization
· Containerization (Namespaces and Cgroups)
· Virtual memory management in hypervisors
Block 18. Distributed Systems Foundations
· Distributed OS architectures
· Network operating systems
· Distributed file systems (e.g., NFS)
· Remote Procedure Calls (RPC)
· Clock synchronization algorithms
· Consistency and replication primitives
Block 19. Case Studies: Unix-like and Windows Systems
· Linux kernel architecture
· Linux process and memory scheduling
· Windows architecture paradigms
· Windows HAL and executive
· Inter-process mechanisms in practice
· System administration tools
Block 20. Integrated Evaluation and Trends
· Performance evaluation metrics
· Energy-aware OS scheduling
· Non-volatile memory (NVM) impact
· OS support for heterogeneous computing
· System profiling and tracing
· Architectural sensitivity analysis
Intended Learning Outcomes (Competencies)
Knowledge: Students will understand core operating system abstractions, concurrency models, thread and process lifecycles, memory virtualization techniques, file system layouts, security policies, protection rings, hypervisors, and distributed systems mechanisms.
Skills: Students will be able to formalize synchronization constraints, evaluate process scheduling and page replacement algorithms, sketch file allocation layouts, trace address translations through page tables, and detect structural deadlock states.
Competencies: Students will justify operating system design trade-offs, evaluate resource utilization efficiency, recognize the trade-offs between monolithic and microkernel paradigms, and communicate technical analyses of system-level performance bottlenecks.
English Literature — APA Style
Anderson, T., & Dahlin, M. (2014). Operating systems: Principles and practice (2nd ed.). Recursive Books.
Arpaci-Dusseau, R. H., & Arpaci-Dusseau, A. C. (2018). Operating systems: Three easy pieces (Version 1.00). Arpaci-Dusseau Books.
Bovet, D. P., & Cesati, M. (2005). Understanding the Linux kernel (3rd ed.). O'Reilly Media.
Corbet, J., Rubini, A., & Kroah-Hartman, G. (2005). Linux device drivers (3rd ed.). O'Reilly Media.
Love, R. (2010). Linux kernel development (3rd ed.). Addison-Wesley Professional.
Russinovich, M. E., Solomon, D. A., & Ionescu, A. (2012). Windows internals (6th ed.). Microsoft Press.
Silberschatz, A., Galvin, P. B., & Gagne, G. (2018). Operating system concepts (10th ed.). Wiley.
Stallings, W. (2018). Operating systems: Internals and design principles (9th ed.). Pearson.
Tanenbaum, A. S., & Bos, H. (2015). Modern operating systems (4th ed.). Pearson.
Yasukata, K., Honda, M., Kojo, T., & Egashira, M. (2016). Systems programming with Rust. CRC Press.
Keywords: operating systems, process virtualization, concurrency control, memory management, virtual memory, paging, file systems, disk scheduling, hypervisors, kernel security.
|
Link |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|