B.Ramamurthy Appendix A

Slides:



Advertisements
Similar presentations
Chapter 13 Queueing Models
Advertisements

Introduction to Queuing Theory
IE 429, Parisay, January 2003 Review of Probability and Statistics: Experiment outcome: constant, random variable Random variable: discrete, continuous.
1 Chapter 8 Queueing models. 2 Delay and Queueing Main source of delay Transmission (e.g., n/R) Propagation (e.g., d/c) Retransmission (e.g., in ARQ)
Queueing Model 박희경.
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/10/20151.
System Performance & Scalability i206 Fall 2010 John Chuang.
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
Queuing and Transportation
1 Queuing Theory 2 Queuing theory is the study of waiting in lines or queues. Server Pool of potential customers Rear of queue Front of queue Line (or.
Data Communication and Networks Lecture 13 Performance December 9, 2004 Joseph Conron Computer Science Department New York University
1 Queueing Theory H Plan: –Introduce basics of Queueing Theory –Define notation and terminology used –Discuss properties of queuing models –Show examples.
Performance Evaluation
Queueing Network Model. Single Class Model Open - Infinite stream of arriving customers Closed - Finite population eg Intranet users Indistinguishable.
1 Multiple class queueing networks Mean Value Analysis - Open queueing networks - Closed queueing networks.
Queuing Analysis Based on noted from Appendix A of Stallings Operating System text 6/28/20151.
CSE 550 Computer Network Design Dr. Mohammed H. Sqalli COE, KFUPM Spring 2012 (Term 112)
7/3/2015© 2007 Raymond P. Jefferis III1 Queuing Systems.
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
Queuing Theory. Queuing theory is the study of waiting in lines or queues. Server Pool of potential customers Rear of queue Front of queue Line (or queue)
Introduction to Queuing Theory. 2 Queuing theory definitions  (Kleinrock) “We study the phenomena of standing, waiting, and serving, and we call this.
Spreadsheet Modeling & Decision Analysis
Queuing models Basic definitions, assumptions, and identities Operational laws Little’s law Queuing networks and Jackson’s theorem The importance of think.
Modeling and Performance Evaluation of Network and Computer Systems Introduction (Chapters 1 and 2) 10/4/2015H.Malekinezhad1.
1 Copyright Ken Fletcher 2004 Australian Computer Security Pty Ltd Printed 26-May-16 07:39 Prepared for: Monash University Subj: CSE4884 Network Design.
1 1 © 2003 Thomson  /South-Western Slide Slides Prepared by JOHN S. LOUCKS St. Edward’s 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. /
TexPoint fonts used in EMF.
CS433 Modeling and Simulation Lecture 12 Queueing Theory Dr. Anis Koubâa 03 May 2008 Al-Imam Mohammad Ibn Saud University.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
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...
CS352 - Introduction to Queuing Theory Rutgers University.
CSCI1600: Embedded and Real Time Software Lecture 19: Queuing Theory Steven Reiss, Fall 2015.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
Internet Applications: Performance Metrics and performance-related concepts E0397 – Lecture 2 10/8/2010.
Waiting Line Theory Akhid Yulianto, SE, MSc (log).
1 1 Slide Chapter 12 Waiting Line Models n The Structure of a Waiting Line System n Queuing Systems n Queuing System Input Characteristics n Queuing System.
1 Queuing Delay and Queuing Analysis. RECALL: Delays in Packet Switched (e.g. IP) Networks End-to-end delay (simplified) = End-to-end delay (simplified)
Introduction Definition M/M queues M/M/1 M/M/S M/M/infinity M/M/S/K.
COMT 4291 Queuing Analysis COMT Call/Packet Arrival Arrival Rate, Inter-arrival Time, 1/ Arrival Rate measures the number of customer arrivals.
Mohammad Khalily Islamic Azad University.  Usually buffer size is finite  Interarrival time and service times are independent  State of the system.
Simple Queueing Theory: Page 5.1 CPE Systems Modelling & Simulation Techniques Topic 5: Simple Queueing Theory  Queueing Models  Kendall notation.
QUEUING THEORY 1.  - means the number of arrivals per second   - service rate of a device  T - mean service time for each arrival   = ( ) Utilization,
Managerial Decision Making Chapter 13 Queuing Models.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 18 Management of Waiting Lines.
OPERATING SYSTEMS CS 3502 Fall 2017
Al-Imam Mohammad Ibn Saud University
Queuing Theory Queuing Theory.
Queuing Theory Non-Markov Systems
Internet Queuing Delay Introduction
CSCI1600: Embedded and Real Time Software
Internet Queuing Delay Introduction
Queueing Theory Carey Williamson Department of Computer Science
Introduction Notation Little’s Law aka Little’s Result
Queuing models Basic definitions, assumptions, and identities
System Performance: Queuing
Queuing models Basic definitions, assumptions, and identities
TexPoint fonts used in EMF.
COMP60611 Fundamentals of Parallel and Distributed Systems
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.
Queuing Analysis.
COMP60621 Designing for Parallelism
Lecture 18 Syed Mansoor Sarwar
Model Antrian M/M/s.
Queueing Theory 2008.
Carey Williamson Department of Computer Science University of Calgary
CSE 550 Computer Network Design
Waiting Line Models Waiting takes place in virtually every productive process or service. Since the time spent by people and things waiting in line is.
Presentation transcript:

B.Ramamurthy Appendix A Queuing Theory B.Ramamurthy Appendix A 11/9/2018 B.ramamurthy

Problem Consider the following problem. Message packets are sent from a computers on a LAN to systems on other networks through a router. Given the network specification and request pattern, determine queuing time at router, and queue length, say, 95% of the time and similar metrics. What information do you need? How will you model the network? What formulas or expressions will you use in your computation of metrics? What metrics? 11/9/2018 B.ramamurthy

Some More Questions What happens to file retrieval time when disk utilization goes up? How does response time change if both processor speed and number of users on the system are doubled? How many lines should a dial-in facility of a time-sharing system have? How many lines are needed on on-line inquiry center (call center) ? 11/9/2018 B.ramamurthy

Queuing Analysis Queuing analysis is one of the most important tools for answering such questions. The number of questions addressed that can be addressed by queuing analysis is endless and it touches every area we discussed in the operating systems course and also in networking. We will look at some practical application of queuing analysis and simple rudimentary formulas. 11/9/2018 B.ramamurthy

Alternatives Case Study: Scaling up a LAN to two buildings. Actual implementation and evaluation of metrics. Make a simple projection using prior experience. Computer simulate a model. Develop an analytic model based on queuing theory. 11/9/2018 B.ramamurthy

Example Disk that is capable of transferring 1000 blocks per second is considered as having 50% (1/2 the load) when it is transferring at 500 blocks per second. Response time is the time it takes to retransmit any incoming block. See graph. 11/9/2018 B.ramamurthy

Queuing Models Single server queue Entities: server, clients, queue (line) Parameters: arrival distribution, arrival times, service time, queue length, waiting time, server utilization (busy time / total time) 11/9/2018 B.ramamurthy

Queuing Parameters λ – average arrival rate (of requests) w – average queue length Tw – average wait time Ts – average service time Tq – average time spent in the system (Tw+ Ts) λmax = 1 / Ts theoretical maximum rate that can be handled by the system. See Table A.1 11/9/2018 B.ramamurthy

Queuing structure Server Tw – waiting time q – items in queuing system arrivals queue dispatch discipline departures W- items waiting Tw – waiting time q – items in queuing system Tq – queuing time 11/9/2018 B.ramamurthy

Multiple servers Multi-server , single queue Multi-server, multiple queue Theoretical maximum input rate: λmax = N / Ts for N servers Lets look at basic queuing relationships specified a well Little’s formulas. 11/9/2018 B.ramamurthy

Little’s Formula General Single server Multi-server q = lTq r = lTs r = lTs/N w = lTw q = w + r u = rN Tq = Tw + Ts q = w + Nr q -- mean number of items in the system – utilization : fraction of busy time u -- traffic intensity w – mean number of items waiting to be served l -- arrival rate 11/9/2018 B.ramamurthy

Queuing Models We would like to estimate (w,Tw, q,Tq), waiting items, waiting time, queued items, and queuing time, mean and standard deviation of each. Assumptions made about queuing model is summarized using a notation: G – general distribution, M – exponential distribution, D – deterministic fixed rate Accordingly models are named: M/M/1 refers to Poisson arrival , exponential service with a single server. 11/9/2018 B.ramamurthy