Page 147 - slides.dvi
P. 147

•
               •
                                                                             •
                                  •
                                                                     •
   NT
                                                               –
                                                                                              –
                                                                                         –
                                                                                    –
                            –
                      –
                                                    –
               If
                                                         –
                                          –
   Case
                                  On
                                                                                                               CPU
                            “.
                      fg
               no
                                               for
                                                               On
                            .
                                                                                                     Hybrid
                                          Yes,
                                                    Also
                            .
                                                                             Default
   Study—
                                                                     Threads
                                               one
                                                                                    (priority
                                                    get
                                          this
                                                                                         Priorities
                                                                                              Priorities
                      thread
                                                               return
                                                                                    0
   Low-level
                                          is
                                                                     have
               runnable
                                                                                    is
                                  Workstation
                                                         Subsequently,
                      gets
                                                                             quantum
                                                    boost
                                                                                         1–15:
                                                               from
                                                                                                               Scheduling
                                                                     base
                                          true.
                                                                                              16–31:
                                                                             2
                                               quantum
   Functions
                            performance
                                  also
                                                    for
               thread,
                                                                                                     static/dynamic
                                                               I/O,
                                                                     and
                                                                                    reserved
                      double
                                                         current
                                               (but
                                                                             ticks
                                  get
                                                                                              “real
                                                    GUI
                            boost
                      or
                                                                                    for
                                                                                         “variable”
                            for
                                                                                                     priority
                                                               current
                                                                     current
               dispatch
                                                                                              time”
                                                         priority
                                                                                    zero
                      triple
                                                    threads
                            the
                                               quantum
                                  quantum
                                                                             (∼20ms)
                                                                     (≥
               ‘idle’
                                                                             on
                                                                                    page
                                                                                              (static
                                                               priority
                                               also
                                                         decays
                                                                                         (dynamic)
                                                                     base)
                                                               is
                                                                                                     scheduling:
                                                         by
                                                    awaiting
                      quantum.
               thread
                                                         1
                            foreground
                                  stretching:
                                                                                    thread)
                                                                                              priority).
                                                                                         priority.
                                               doubled)
                                                    input:
                                                               boosted
                                                         after
                                                                     priorities.
                                                                             Workstation,
               (which
                                                               by
                                                                             12
                                                         each
                                                    current
                            application”
                                                                             ticks
               executes
                                                    priority
                                                         completed
                                                               driver-specific
                            (window
               DPCs).
                                                                             (∼120ms)
                            with
                                                                             on
                                                    boosted
                                                               amount.
                                                         quantum.
                                                    to
                            focus)
                                                    14
                                                                             Server.
   143
   142   143   144   145   146   147   148   149   150   151   152