Important_OS_Topics
Important_OS_Topics
- Definition: A real-time system has well-defined fixed time constraints. RTOS processes data
- Key Services: User interface, program execution, I/O operations, file manipulation, interprocess
3. Process Management
- Process Control Block (PCB): Contains information like process state, process ID, CPU registers,
etc.
- CPU and I/O Burst Cycles: CPU burst refers to computation periods, and I/O burst refers to
4. Scheduling Algorithms
- First Come First Serve (FCFS): Processes are executed in arrival order.
5. Memory Management
- Virtual Memory: Allows execution of processes that may not be completely in memory.
- Paging vs. Segmentation: Paging divides memory into fixed-size blocks, while segmentation
6. File Management
- File Allocation Methods: Contiguous allocation, linked allocation, and indexed allocation.
7. Deadlocks
- Necessary Conditions: Mutual exclusion, hold and wait, no preemption, circular wait.
- Least Recently Used (LRU): Replaces the page that has not been used for the longest time.
- Examples: `kill` (terminate processes), `sleep` (pause execution), `mkdir` (create directories).