jagomart
digital resources
picture1_Queuing Theory Ppt 75630 | Lec22 Queuenetwork


 161x       Filetype PPTX       File size 0.81 MB       Source: people.eecs.berkeley.edu


File: Queuing Theory Ppt 75630 | Lec22 Queuenetwork
goals for today queueing theory con t network drivers interactive is important ask questions note some slides and or pictures in the following are adapted from slides 2013 4 23 ...

icon picture PPTX Filetype Power Point PPTX | Posted on 02 Sep 2022 | 3 years ago
Partial capture of text on file.
                                                  Goals for Today
          • Queueing Theory (Con’t)
          • Network Drivers
          Interactive is important!
              Ask Questions!
          Note: Some slides and/or pictures in the following are
          adapted from slides ©2013
   4/23/14                                    Kubiatowicz CS194-24 ©UCB Fall 2014                             Lec 22.2
                                  Recall: Queueing Behavior
     • Performance of disk drive/file system
          –Metrics: Response Time, Throughput
          –Contributing factors to latency:
               » Software paths (can be loosely                300     Response
                 modeled by a queue)                                   Time (ms)
               » Hardware controller                           200
               » Physical disk media                           100
     • Queuing behavior:
          –Leads to big increases of latency                    0   0%                         100%
            as utilization approaches 100%                              Throughput  (Utilization)
                                                                        (% total BW)
   4/23/14                            Kubiatowicz CS194-24 ©UCB Fall 2014                 Lec 22.3
                         Recall: Use of random distributions
                                                                               Mean 
   • Server spends variable time with customers                                (m1)
       –Mean (Average) m1 = p(T)T                               
       –           2               2
         Variance   = p(T)(T-m1)  = 
                                        2         2
                                 p(T)T -m1 = E(T )-m1             Distribution
       –                                   2   2                    of service times
         Squared coefficient of variance: C =  /m1
         Aggregate description of the distribution.
   • Important values of C:
       –No variance or deterministic  C=0                              mean
       –“memoryless” or exponential  C=1 
           » Past tells nothing about future
           » Many complex systems (or aggregates)                    Memoryless
             well described as memoryless 
       –Disk response times C  1.5  (majority seeks < avg)
   • Mean Residual Wait Time, m1(z):
       –Mean time must wait for server to complete current task
       –Can derive m1(z) = ½m1(1 + C)
           » Not just ½m1 because doesn’t capture variance
       –C = 0  m1(z) = ½m1; C = 1  m1(z) = m1
  4/23/14                       Kubiatowicz CS194-24 ©UCB Fall 2014         Lec 22.4
                                       Introduction to Queuing Theory
                                                              C
                                                              o
                                                              n
                                                              t          Disk
                                                              r
                         Arrivals                             o                       Departures
                                                              l
                                                              l
                                               Queue          e
                                                              r
                                                   Queuing System
    • What about queuing time??
          –Let’s apply some queuing theory
          –Queuing Theory applies to long term, steady state behavior  Arrival rate = 
             Departure rate
    • Little’s Law: 
        Mean # tasks in system = arrival rate x mean response time
          –Observed by many, Little was first to prove
          –Simple interpretation: you should see the same number of tasks in queue when 
             entering as when leaving.
    • Applies to any system in equilibrium, as long as nothing in black box is 
        creating or destroying tasks
          –Typical queuing theory doesn’t deal with transient behavior, only steady-state 
             behavior
   4/23/14                                    Kubiatowicz CS194-24 ©UCB Fall 2014                             Lec 22.5
                     Recall: A Little Queuing Theory: Some Results
    • Assumptions:
        – System in equilibrium; No limit to the queue
        – Time between successive arrivals is random and memoryless
                                Queue                        Server
                  Arrival Rate                Service Rate
                                            μ=1/Tser
    • Parameters that describe our system:
        – :     mean number of arriving customers/second
        – Tser:  mean time to service a customer (“m1”)
        –                                       2   2
          C:     squared coefficient of variance =  /m1
        – μ:     service rate = 1/Tser
        – u:     server utilization (0u1): u = /μ =   Tser 
    • Parameters we wish to compute:
        – Tq:    Time spent in queue
        – L:     Length of queue =   T  (by Little’s law)
            q                          q
    • Results:
        – Memoryless service distribution (C = 1):
             » Called M/M/1 queue: Tq= T  x u/(1 – u)
                                      ser
        – General service distributon (no restrictions), 1 server:
             » Called M/G/1 queue: T  = T  x ½(1+C) x u/(1 – u))
                                 q   ser
  4/23/14                         Kubiatowicz CS194-24 ©UCB Fall 2014            Lec 22.6
The words contained in this file might help you see if this file matches what you are looking for:

...Goals for today queueing theory con t network drivers interactive is important ask questions note some slides and or pictures in the following are adapted from kubiatowicz cs ucb fall lec recall behavior performance of disk drive file system metrics response time throughput contributing factors to latency software paths can be loosely modeled by a queue ms hardware controller physical media queuing leads big increases as utilization approaches total bw use random distributions mean server spends variable with customers m average p variance e distribution service times squared coefficient c aggregate description values no deterministic memoryless exponential past tells nothing about future many complex systems aggregates well described majority seeks avg residual wait z must complete current task derive not just because doesn capture introduction o n r arrivals departures l what let s apply applies long term steady state arrival rate departure little law tasks x observed was first prove...

no reviews yet
Please Login to review.