Page 24 - slides.dvi
P. 24

•
                                             •
                                      •
                               •
                   –
                        –
   Operating
                                                    Job
                                      Wait
                        Job
                                             Ready
              CPU
                   CPU
   Systems
   —
              to
                               Long-term
                                                                                                               Scheduling
                                                    Queue:
                               &
              it.
                                             Queue:
   Process
                                      Queue(s):
                        scheduler
                   scheduler
                                             set
                                                                                                      Job
                                                    batch
                                                                create
                                                              (batch)
                                                                                                  Queue
                                      set
   Life-cycle
                                             of
                                                                                                               Queues
                                      of
                        selects
                                                                create
                                             all
                               short-term
                   decides
                                                              (interactive)
                                                    processes
                                                                                                 admit
                        which
                   which
                                      processes
                                             processes
                                                                       event
                               schedulers:
                                                    awaiting
                   process
                                      waiting
                        processes
                                             residing
                                      for
                                                                                                    Ready Queue
                                             in
                                      an
                   should
                        should
                                                                              Wait Queue(s)
                                                    admission.
                   be
                        be
                                             main
                                      I/O
                                                                                                dispatch
                                                                                              CPU
                                                                       event-wait
                                                                                    timeout or yield
                                      device
                        brought
                                             memory,
                   executed
                                      (or
                                                                                                release
                        into
                   next
                                      for
                                             ready
                        the
                                             to
                   and
                                      other
                        ready
                                             execute.
                   allocates
                        queue.
                                      processes)
   20
                   the
   19   20   21   22   23   24   25   26   27   28   29