lecture06-chapter03 - OperatingSystems Lecture06:...

Info iconThis preview shows pages 1–14. Sign up to view the full content.

View Full Document Right Arrow Icon
Operating Systems Lecture 06: Processes (cont) Anda Iamnitchi anda@cse.usf.edu 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Today Announcements: Project 1 finally posted. Due Oct 20 at midnight. Processes (Chapter 3): Process states Using fork 2
Background image of page 2
Five State Process Model
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Two State Process Model 4
Background image of page 4
Queue for the 5 state model?
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Using Two Queues
Background image of page 6
Multiple Blocked Queues
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Suspended Processes Problem: all processes in memory might be waiting for I/O (CPU much faster than I/O). What to do? Swapping involves moving part of all of a process from main memory to disk when none of the processes in main memory is in Ready, OS swaps one of the blocked processes out on to disk into a suspend queue
Background image of page 8
One Suspend State
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Two Suspend States
Background image of page 10
OS Control Tables
Background image of page 11

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Structure of Process Images in Virtual Memory
Background image of page 12
Process Tables Must be maintained to manage processes There must be some reference to memory, I/O, and files, directly or indirectly The tables themselves must be accessible by the OS and therefore are subject to memory management
Background image of page 13

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 14
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 23

lecture06-chapter03 - OperatingSystems Lecture06:...

This preview shows document pages 1 - 14. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online