{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

Info icon This 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
Image of page 1

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

View Full Document Right 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?
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/inclass
Image of page 3

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

View Full Document Right 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.
Image of page 4
3.5 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Histogram of CPU-burst Times
Image of page 5

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

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

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

View Full Document Right Arrow Icon
3.8 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Trace from Processors point of view Timeout I/O
Image of page 8
3.9 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Diagram of Process State
Image of page 9

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

View Full Document Right 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
Image of page 10
3.11 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Where Do Schedulers Intervene?
Image of page 11

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

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

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

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

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

View Full Document Right Arrow Icon
3.16 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition CPU Switch From Process to Process
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
Image of page 17

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

View Full Document Right Arrow Icon
3.18 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition
Image of page 18
Image of page 19
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern