M EAN -V ALUE A NALYSIS Manijeh Keshtgary 1394. O VERVIEW Analysis of Open Queueing Networks Mean-Value Analysis 2.

Slides:



Advertisements
Similar presentations
Introduction to Queuing Theory
Advertisements

Traffic and routing. Network Queueing Model Packets are buffered in egress queues waiting for serialization on line Link capacity is C bps Average packet.
10. 5: Model Solution Model Interpretation 10
1 CNPA B Nasser S. Abouzakhar Resource Allocation 2 Week 6 – Lecture 2 2 nd November, 2009.
Queueing Theory: Recap
System Performance & Scalability i206 Fall 2010 John Chuang.
ECS 152A Acknowledgement: slides from S. Kalyanaraman & B.Sikdar
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
Single queue modeling. Basic definitions for performance predictions The performance of a system that gives services could be seen from two different.
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.
Little’s Theorem Examples Courtesy of: Dr. Abdul Waheed (previous instructor at COE)
1 Multiple class queueing networks Mean Value Analysis - Open queueing networks - Closed queueing networks.
7/3/2015© 2007 Raymond P. Jefferis III1 Queuing Systems.
OS Fall ’ 02 Performance Evaluation Operating Systems Fall 2002.
Operational Laws A large number of day-to-day problem in computer systems performance analysis can be solved by using some simple relationships that do.
1 TCOM 501: Networking Theory & Fundamentals Lecture 8 March 19, 2003 Prof. Yannis A. Korilis.
1 Part VI System-level Performance Models for the Web © 1998 Menascé & Almeida. All Rights Reserved.
Internet Queuing Delay Introduction How many packets in the queue? How long a packet takes to go through?
Computer Networks Performance Evaluation. Chapter 12 Single Class MVA Performance by Design: Computer Capacity Planning by Example Daniel A. Menascé,
Introduction to Queuing Theory
OPSM 301: Operations Management
Copyright warning. COMP5348 Lecture 6: Predicting Performance Adapted with permission from presentations by Alan Fekete.
AN INTRODUCTION TO THE OPERATIONAL ANALYSIS OF QUEUING NETWORK MODELS Peter J. Denning, Jeffrey P. Buzen, The Operational Analysis of Queueing Network.
Copyright ©: Nahrstedt, Angrave, Abdelzaher, Caccamo1 Queueing Systems.
Queuing models Basic definitions, assumptions, and identities Operational laws Little’s law Queuing networks and Jackson’s theorem The importance of think.
Management of Waiting Lines McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
CS433 Modeling and Simulation Lecture 13 Queueing Theory Dr. Anis Koubâa 03 May 2009 Al-Imam Mohammad Ibn Saud University.
 Birth Death Processes  M/M/1 Queue  M/M/m Queue  M/M/m/B Queue with Finite Buffers  Results for other Queueing systems 2.
CPE 619 Queueing Networks Aleksandar Milenković The LaCASA Laboratory Electrical and Computer Engineering Department The University of Alabama in Huntsville.
Introduction to Operations Research
Lecture 10: Queueing Theory. Queueing Analysis Jobs serviced by the system resources Jobs wait in a queue to use a busy server queueserver.
NETE4631:Capacity Planning (2)- Lecture 10 Suronapee Phoomvuthisarn, Ph.D. /
Manijeh Keshtgary. Queuing Network: model in which jobs departing from one queue arrive at another queue (or possibly the same queue)  Open and Closed.
Introduction to Queueing Theory
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
Queueing Theory What is a queue? Examples of queues: Grocery store checkout Fast food (McDonalds – vs- Wendy’s) Hospital Emergency rooms Machines waiting.
TexPoint fonts used in EMF.
1 Chapters 8 Overview of Queuing Analysis. Chapter 8 Overview of Queuing Analysis 2 Projected vs. Actual Response Time.
Queueing Models with Multiple Classes CSCI 8710 Tuesday, November 28th Kraemer.
OPERATING SYSTEMS CS 3530 Summer 2014 Systems with Multi-programming Chapter 4.
1 Components performance modelling - Outline of queue networks - Mean Value Analisys (MVA) for open and close queue networks.
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...
1 Part VII Component-level Performance Models for the Web © 1998 Menascé & Almeida. All Rights Reserved.
NETE4631: Network Information System Capacity Planning (2) Suronapee Phoomvuthisarn, Ph.D. /
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part VI System-level Performance Models for the Web (Book, Chapter 8)
1 Chapter 4 Fundamental Queueing System. 2 3 Ref: Mischa Schwartz “Telecommunication Networks” Addison-Wesley publishing company 1988.
Internet Applications: Performance Metrics and performance-related concepts E0397 – Lecture 2 10/8/2010.
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.
Management of Waiting Lines Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent.
Random Variables r Random variables define a real valued function over a sample space. r The value of a random variable is determined by the outcome of.
Mohammad Khalily Islamic Azad University.  Usually buffer size is finite  Interarrival time and service times are independent  State of the system.
QUEUING THEORY 1.  - means the number of arrivals per second   - service rate of a device  T - mean service time for each arrival   = ( ) Utilization,
Queuing Theory Simulation & Modeling.
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 18 Management of Waiting Lines.
Ó 1998 Menascé & Almeida. All Rights Reserved.1 Part VI System-level Performance Models for the Web.
Software Architecture in Practice
CPE 619 Mean-Value Analysis
Queuing Theory Queuing Theory.
B.Ramamurthy Appendix A
ECE 358 Examples #1 Xuemin (Sherman) Shen Office: EIT 4155
Queueing Theory Carey Williamson Department of Computer Science
Queuing models Basic definitions, assumptions, and identities
Queuing models Basic definitions, assumptions, and identities
Single server model Queue Server I/O Controller And device Arrivals.
Carey Williamson Department of Computer Science University of Calgary
Presentation transcript:

M EAN -V ALUE A NALYSIS Manijeh Keshtgary 1394

O VERVIEW Analysis of Open Queueing Networks Mean-Value Analysis 2

A NALYSIS OF O PEN Q UEUEING N ETWORKS Used to represent transaction processing systems, such as airline reservation systems, or banking systems Transaction arrival rate is not dependent on the load on the computer system Arrivals are modeled as a Poisson process with a mean arrival rate Exact analysis of such systems Assumption: All devices in the system can be modeled as either fixed-capacity service centers (single server with exponentially distributed service time) or delay centers (infinite servers with exponentially distributed service time) 3

A NALYSIS OF O PEN Q UEUEING N ETWORKS For all fixed capacity service centers in an open queueing network, the response time is: R i = S i (1+Q i ) On arrival at the i th device, the job sees Q i jobs ahead (including the one in service) and expects to wait Q i S i seconds. Including the service to itself, the job should expect a total response time of S i (1+Q i ) Assumption: Service is memory-less (not operationally testable)  Not an operational law Without the memory-less assumption, we would also need to know the time that the job currently in service has already consumed 4

M EAN P ERFORMANCE Assuming job flow balance, the throughput of the system is equal to the arrival rate: X = The throughput of i th device, using the forced flow law is: X i = X V i The utilization of the i th device, using the utilization law is: U i = X i S i = X V i S i = D i The queue length of i th device, using Little's law is: Q i = X i R i = X i S i (1+Q i ) =U i (1+Q i ) or Q i = U i / (1-U i ) Notice that the above equation for Q i is identical to the equation for M/M/1 queues 5

M EAN P ERFORMANCE The device response times are: In delay centers, there are infinite servers and, therefore: Notice that the utilization of the delay center represents the mean number of jobs receiving service and does not need to be less than one 6

E XAMPLE 34.1 File server consisting of a CPU and two disks, A and B With 6 clients systems: 8

E XAMPLE 34.1 ( CONT ’ D ) 9

Device utilizations using the utilization law are: 10

E XAMPLE 34.1 ( CONT ’ D ) The device response times using Equation 34.2 are: Server response time: 11

E XAMPLE 34.1 ( CONT ’ D ) We can quantify the impact of the following changes Q: What if we increase request to 4 Conclusion: Server response time will degrade by a factor of 6.76/1.406=4.8 12

E XAMPLE 34.1 ( CONT ’ D ) Q: What if we use a cache for disk B with a hit rate of 50%, although it increases the CPU overhead by 30% and the disk B service time (per I/O) by 10% 13

E XAMPLE 34.1 ( CONT ’ D ) The analysis of the changed systems is as follows: Thus, if we use a cache for Disk B, the server response time will improve by ( )/1.406 = 28% 14

E XAMPLE 34.1 ( CONT ’ D ) Q: What if we have a lower cost server with only one disk (disk A) and direct all I/O requests to it? A: the server response time will degrade by a factor of 3.31/1.406 =