Processor Sharing Queues

Slides:



Advertisements
Similar presentations
Lecture 10 Queueing Theory. There are a few basic elements common to almost all queueing theory application. Customers arrive, they wait for service in.
Advertisements

E&CE 418: Tutorial-4 Instructor: Prof. Xuemin (Sherman) Shen
INDR 343 Problem Session
TCOM 501: Networking Theory & Fundamentals
Continuous Time Markov Chains and Basic Queueing Theory
Queuing Theory For Dummies
Previously Optimization Probability Review Inventory Models Markov Decision Processes.
Queueing Theory (2). Home Work 12-9 and Due Day: October 31 (Monday) 2005.
Mean Delay in M/G/1 Queues with Head-of-Line Priority Service and Embedded Markov Chains Wade Trappe.
Single queue modeling. Basic definitions for performance predictions The performance of a system that gives services could be seen from two different.
Queueing Theory: Part I
Question 11 – 3.
Queuing. Elements of Waiting Lines  Population –Source of customers Infinite or finite.
Queueing Theory.
Queuing Networks: Burke’s Theorem, Kleinrock’s Approximation, and Jackson’s Theorem Wade Trappe.
Introduction to Queuing Theory
Flows and Networks Plan for today (lecture 5): Last time / Questions? Waiting time simple queue Little Sojourn time tandem network Jackson network: mean.
Eurecom, Sophia-Antipolis Thrasyvoulos Spyropoulos / Introduction to Continuous-Time Markov Chains and Queueing Theory.
Queueing Theory I. Summary Little’s Law Queueing System Notation Stationary Analysis of Elementary Queueing Systems  M/M/1  M/M/m  M/M/1/K  …
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
1 Chapter 5 Flow Lines Types Issues in Design and Operation Models of Asynchronous Lines –Infinite or Finite Buffers Models of Synchronous (Indexing) Lines.
Chapter 2 Machine Interference Model Long Run Analysis Deterministic Model Markov Model.
CS433 Modeling and Simulation Lecture 13 Queueing Theory Dr. Anis Koubâa 03 May 2009 Al-Imam Mohammad Ibn Saud University.
MIT Fun queues for MIT The importance of queues When do queues appear? –Systems in which some serving entities provide some service in a shared.
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Introduction to Queueing Theory
Network Design and Analysis-----Wang Wenjie Queueing System IV: 1 © Graduate University, Chinese academy of Sciences. Network Design and Analysis Wang.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
Flows and Networks Plan for today (lecture 4): Last time / Questions? Output simple queue Tandem network Jackson network: definition Jackson network: equilibrium.
Queuing Networks Jean-Yves Le Boudec 1. Contents 1.The Class of Multi-Class Product Form Networks 2.The Elements of a Product-Form Network 3.The Product-Form.
Probability Review CSE430 – Operating Systems. Overview of Lecture Basic probability review Important distributions Poison Process Markov Chains Queuing.
M/M/1 Queues Customers arrive according to a Poisson process with rate. There is only one server. Service time is exponential with rate  j-1 jj+1...
The M/M/ N / N Queue etc COMP5416 Advanced Network Technologies.
Flows and Networks Plan for today (lecture 6): Last time / Questions? Kelly / Whittle network Optimal design of a Kelly / Whittle network: optimisation.
1 Chapter 4 Single Stage Produce-to-Stock Better customer service Lower manufacturing costs (setups) More uniform utilization.
Little’s Law & Operational Laws. Little’s Law Proportionality relation between the average number of jobs (E[N]) in a system and the average system time.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Problem #7 To support National Heart Week, the Heart Association plans to install a free blood pressure testing booth in El Con Mall for the week. Previous.
Chapter 5 Elementary Stochastic Analysis Prof. Ali Movaghar.
Flows and Networks Plan for today (lecture 6): Last time / Questions? Kelly / Whittle network Optimal design of a Kelly / Whittle network: optimisation.
Queueing Theory II.
System Provisioning.
M/G/1 Queue & Renewal Reward Theory
Discrete Time Markov Chains (A Brief Overview)
Burke Theorem, Reversibility, and Jackson Networks of Queues
Networks of queues Networks of queues reversibility, output theorem, tandem networks, partial balance, product-form distribution, blocking, insensitivity,
CSE 538 Instructor: Roch Guerin
Basic Modeling Components
Models of Traffic Flow 1.
Serve Assignment Policies
CTMCs & N/M/* Queues.
M/G/1 Busy Period & Power Optimization
Scheduling Preemptive Policies
Scheduling Non-Preemptive Policies
Scheduling Preemptive Policies
Lecture on Markov Chain
Queueing Theory.
Queueing Theory Carey Williamson Department of Computer Science
Queuing models Basic definitions, assumptions, and identities
Solutions Queueing Theory 1
Autoscaling Effects in Speed Scaling Systems
Queueing Theory II.
Queuing Theory By: Brian Murphy.
Queuing Analysis Two analytical techniques can be employed to study queuing processes: Shock wave analysis Demand-capacity process is deterministic Suited.
Introduction to Queueing Theory
Solutions Queueing Theory 1
Queueing networks.
On average, there are 3(4.42) =13.26 claims waiting be processed.
Queuing Networks Mean Value Analysis
Presentation transcript:

Processor Sharing Queues

The M/M/1/PS Queue Single server of rate μ shared equally across all jobs (no job ever waits in queue) Jobs arrive according to Poisson process of rate λ When n jobs are present, they each receive a service rate of μ/n Markov chain for system: i is number of jobs in system Arrival rate of λ in each state Departure rate is constant and equal to μ (n jobs that each gets μ/n) The chain is identical to that of an M/M/1/FCFS queue 1 μ 2 3 λ

More on the M/M/1/PS Queue State probabilities are as with the M/M/1/FCFS queue πn = ρn(1- ρ) E[N] = ρ/(1- ρ) and using Little’s Law E[T] = 1/(μ – λ) So where is the difference with an FCFS server? Main impact is that system time is now dependent on a job’s own service time: T(x) = αx for job with service time x Taking averages: E[T] = αE[S]  α = E[T]/E[S] = 1/(1- ρ) Therefore E[T|x] = x/(1- ρ)

More on PS Response Time Let (x)=b(x)/[1 – B(x)] be the rate of completing service given an attained service time of x, where we recall (p. 208) our earlier failure rate result (b(x) and B(x) are the density and c.d.f. of the service time, respectively) Let n(x) be the average density of jobs in the system with an attained service rate of x Assume also that service is given in quanta of size x n[x+x] = n(x)[1–(x)x] + o(x) ; [1–(x)x] is the probability that a job that has received x amount of service requires more than x+x Lettings x→0, this gives dn(x)/dx = – (x)n(x), which has a solution of the form n(x) = n(0) exp[-{0 to x}(y)dy] But exp[-{0 to x}(y)dy] = ln[1 – B(x)] , so that n(x) = n(0)[1 – B(x)] We also have that n(x) = λ[1 – B(x)]dT(x)/dx; based on applying Little’s Law to a system with finite service quanta x and then letting x→0 This implies dT(x)/dx = n(0)/λ and therefore T(x) = xn(0)/λ, i.e., T(x) is proportional to x

Two-Stage Coxian Distribution μ1 μ2 p 1-p E[S]=1/μ1+ p/μ2 E[S2]=2/μ12+ 2p/μ22 C2=2(p μ12 + μ22)/(μ1μ2[pμ1+ μ2]) – 1 Can also emulate system with two classes of jobs Small & big jobs Small jobs arrive according to Poisson process of rate (1-p)λ and have an average service time of duration 1/μ1 Big jobs arrive according to Poisson process of rate pλ and have an average service time of duration 1/μ1+1/μ2 Recall that the two-stage Coxian distribution can be used to obtain distributions with both C2 > 1 and C2 < 1 μ1 = 1 and μ2 = 2 yields C2 = 2/(p+2) < 1 μ1 = 1 and μ2 = 1/2 yields C2 = (6p+1)/(2p+1) > 1

M/Cox/1/PS Queue Probability that system is empty is still π0 = (1- ρ), where ρ = λE[S] = λ(1/μ1+ p/μ2) Probability that the system has n1 jobs in phase 1 and n2 jobs in phase 2 follows a product form πn1,n2 = binom(n1+n2,n1) ρ1n1 ρ2n2 (1- ρ), where ρ1 = λ/μ1 and ρ2 = λp/μ2; (ρ = ρ1 + ρ2) Probability πn of n jobs in the system