lec05-processes - Lecture 5 Processes Chapter 3 Operating...

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

View Full Document Right Arrow Icon
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Lecture 5: Processes Chapter 3
Background image of page 1

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

View Full DocumentRight Arrow Icon
3.2 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Concepts (review) ± Multiprogramming ± On a uniprocessor ± On a multiprocessor ± OS responsibilities ± OS structures ± A process is comprised of: ± Program code (possibly shared) ± A set of data ± Must be in memory in order to run ± Why?
Background image of page 2
3.3 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Inclass work ± 3 minutes to answer 9 multi-choice Qs ± Individual work ± You’ll revisit these questions after class ± For online students: quiz here: http://www.cse.usf.edu/~anda/cop6611/incla ss-work/lec05-processes-ch3.pdf
Background image of page 3

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

View Full DocumentRight Arrow Icon
3.4 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition CPU and I/O bursts Long CPU burst Short CPU burst Waiting for I/O CPU not needed. Process goes to blocked/waiting state. Interrupt: back from I/O operation, ready to use the CPU.
Background image of page 4
3.5 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Histogram of CPU-burst Times
Background image of page 5

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

View Full DocumentRight Arrow Icon
3.6 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Process in Memory
Background image of page 6
3.7 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Process Execution with Multiprogramming
Background image of page 7

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

View Full DocumentRight Arrow Icon
3.8 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Trace from Processors point of view Timeout I/O
Background image of page 8
3.9 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Diagram of Process 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
3.10 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Schedulers ± Long-term scheduler (or job scheduler) – selects which processes should be brought into the ready queue ¾ invoked very infrequently (seconds, minutes) ¾ controls the degree of multiprogramming ± Short-term scheduler (or CPU scheduler) – selects which process should be executed next and allocates CPU ¾ Sometimes the only scheduler in a system ¾ invoked very frequently (milliseconds) ± Medium-term scheduler – decides when processes (partially executed) should be swapped out
Background image of page 10
3.11 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Where Do Schedulers Intervene?
Background image of page 11

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

View Full DocumentRight Arrow Icon
3.12 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Representation of Process Scheduling
Background image of page 12
3.13 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Medium Term Scheduling
Background image of page 13

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

View Full DocumentRight Arrow Icon
3.14 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition How is a Process Represented in the Operating System?
Background image of page 14
3.15 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Process Control Block (PCB)
Background image of page 15

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

View Full DocumentRight Arrow Icon
3.16 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition CPU Switch From Process to Process
Background image of page 16
3.17 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Ready Queue And Various I/O Device Queues
Background image of page 17

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

View Full DocumentRight Arrow Icon
3.18
Background image of page 18
Image of page 19
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/17/2012 for the course COP 6611 taught by Professor Staff during the Spring '08 term at University of South Florida.

Page1 / 51

lec05-processes - Lecture 5 Processes Chapter 3 Operating...

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

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