










The following links are for animations,
and are from three sources:
 Animations developed by Brian English of Henderson
State University and Stephen Rainwater of The University of Texas at Tyler
Animations developed by Brian English of Henderson
State University and Stephen Rainwater of The University of Texas at Tyler
 Animations developed by the Hyperlearning
Center at George Mason University
Animations developed by the Hyperlearning
Center at George Mason University
 Animations developed by at Queensland University
Animations developed by at Queensland University
 The dynamic state of a process.
The dynamic state of a process.
 CPU switching between processes as a result of system calls or
interrupts
CPU switching between processes as a result of system calls or
interrupts
 Swapping of processes using a disk as a backing store
Swapping of processes using a disk as a backing store
 OS
performance
OS
performance
 Example process life cycle
  Example process life cycle
 Producer/Consumer problem
Producer/Consumer problem
 The Critical Section problem
The Critical Section problem
 Semaphores
Semaphores
 Producer/consumer
semaphore solution
Producer/consumer
semaphore solution
 Producer/consumer
monitor solution
Producer/consumer
monitor solution
 Producer/consumer
message passing solution
Producer/consumer
message passing solution
 Simulation
of Ricart and Agrawala
Mutual Exclusion Algorithm
Simulation
of Ricart and Agrawala
Mutual Exclusion Algorithm
 Simple solution to the bounded buffer problem
  Simple solution to the bounded buffer problem
 Implementation of Bounded Buffer
problem using a counter variable
  Implementation of Bounded Buffer
problem using a counter variable
 Showing problems with atomicity
and mutual exclusion using the Bounded Buffer with counter solution
  Showing problems with atomicity
and mutual exclusion using the Bounded Buffer with counter solution
 Mutual exclusion with a semaphore
  Mutual exclusion with a semaphore
 Process synchronization with
semaphores
  Process synchronization with
semaphores 
 Deadlocks: resource allocation graph
Deadlocks: resource allocation graph
 Overlays for primitive memory management
Overlays for primitive memory management
 Dynamic relocation using a relocation register
Dynamic relocation using a relocation register
 Multiple-partition contiguous memory allocation
Multiple-partition contiguous memory allocation
 Compaction
Compaction
 Paging hardware
Paging hardware
 Paging model of logical and physical memory
Paging model of logical and physical memory
 Paging Example for a 32-byte memory with 4-byte pages
Paging Example for a 32-byte memory with 4-byte pages
 Segmentation hardware
Segmentation hardware
 Paged segmentation
Paged segmentation 
 Paging hardware with TLB
Paging hardware with TLB
 Two level paging
Two level paging
 Inverted page tables
Inverted page tables
 Virtual memory
Virtual memory
 Demand paging
Demand paging
 Steps in handling a page fault
Steps in handling a page fault
 Page replacement
Page replacement
 Second chance algorithm for page replacement
Second chance algorithm for page replacement
 The working set model for page replacement
The working set model for page replacement
 Considerations For Page Replacement in Virtual Memory Mode
Considerations For Page Replacement in Virtual Memory Mode
 Page replacement algorithms:
Page replacement algorithms:
 Virtual
page reference strings
Virtual
page reference strings
 Process Scheduling Algorithms:
Process Scheduling Algorithms:
•First Come, First Served
•Shortest Job First
•Priority
•Round Robin
 Round
robin scheduling
Round
robin scheduling
 Priority
scheduling
Priority
scheduling
 The use of a system call to perform I/O.
The use of a system call to perform I/O.
 Interrupt-driven I/O cycle
Interrupt-driven I/O cycle
 The life cycle of an I/O request
The life cycle of an I/O request
 Disk scheduling algorithms:
Disk scheduling algorithms: