QNAT. A Graphical Queuing Network Analysis Tool for General Open and Closed Queuing Networks. Sanjay K. Bose



Similar documents
Manufacturing Systems Modeling and Analysis

Load Balancing and Switch Scheduling

LECTURE 16. Readings: Section 5.1. Lecture outline. Random processes Definition of the Bernoulli process Basic properties of the Bernoulli process

Basic Queuing Relationships

Optical Network Traffic Control Algorithm under Variable Loop Delay: A Simulation Approach

Network Design Performance Evaluation, and Simulation #6

Smart Queue Scheduling for QoS Spring 2001 Final Report

BRAESS-LIKE PARADOXES FOR NON-COOPERATIVE DYNAMIC LOAD BALANCING IN DISTRIBUTED COMPUTER SYSTEMS

Deployment of express checkout lines at supermarkets

The Analysis of Dynamical Queueing Systems (Background)

CHAPTER 3 CALL CENTER QUEUING MODEL WITH LOGNORMAL SERVICE TIME DISTRIBUTION

24 Uses of Turing Machines

Queueing Networks. Page n. Queueing Networks

UNIT 2 QUEUING THEORY

Chapter 2. Simulation Examples 2.1. Prof. Dr. Mesut Güneş Ch. 2 Simulation Examples

Discrete-Event Simulation

CALL CENTER PERFORMANCE EVALUATION USING QUEUEING NETWORK AND SIMULATION

HSR HOCHSCHULE FÜR TECHNIK RA PPERSW I L

Arena 9.0 Basic Modules based on Arena Online Help

UNIVERSITY OF TARTU FACULTY OF MATHEMATICS AND COMPUTER SCIENCE INSTITUTE OF COMPUTER SCIENCE

Process simulation. Enn Õunapuu

Q UEUING ANALYSIS. William Stallings

Programma della seconda parte del corso

Modeling and Performance Evaluation of Computer Systems Security Operation 1

The JMT Simulator for Performance Evaluation of Non-Product-Form Queueing Networks

Supplement to Call Centers with Delay Information: Models and Insights

QUEUING THEORY. 1. Introduction

AE64 TELECOMMUNICATION SWITCHING SYSTEMS

Capacity Allocation and Contention Resolution in a Photonic Slot Routing All-Optical WDM Mesh Network

Queuing Theory. Long Term Averages. Assumptions. Interesting Values. Queuing Model

Chapter 1. Introduction

1: B asic S imu lati on Modeling

Maximizing the number of users in an interactive video-ondemand. Citation Ieee Transactions On Broadcasting, 2002, v. 48 n. 4, p.

modeling Network Traffic

HSR HOCHSCHULE FÜR TECHNIK RA PPERSW I L

An Overview of the JMT Queueing Network Simulator

IEOR 6711: Stochastic Models, I Fall 2012, Professor Whitt, Final Exam SOLUTIONS

Hydrodynamic Limits of Randomized Load Balancing Networks

Transport Layer Protocols

Internet Traffic Variability (Long Range Dependency Effects) Dheeraj Reddy CS8803 Fall 2003

Pull versus Push Mechanism in Large Distributed Networks: Closed Form Results

Optimal Dynamic Resource Allocation in Multi-Class Queueing Networks

M/M/1 and M/M/m Queueing Systems

LOGICAL TOPOLOGY DESIGN Practical tools to configure networks

How To Compare Load Sharing And Job Scheduling In A Network Of Workstations

Stochastic Models for Inventory Management at Service Facilities

How To Model Cloud Computing

Assignment #3 Routing and Network Analysis. CIS3210 Computer Networks. University of Guelph

Software Performance and Scalability

1. The subnet must prevent additional packets from entering the congested region until those already present can be processed.

Simulation of Call Center With.

Institute of Actuaries of India Subject CT3 Probability and Mathematical Statistics

PART III. OPS-based wide area networks

CHAPTER 5 WLDMA: A NEW LOAD BALANCING STRATEGY FOR WAN ENVIRONMENT

Keywords: Dynamic Load Balancing, Process Migration, Load Indices, Threshold Level, Response Time, Process Age.

Lecture 8 Performance Measurements and Metrics. Performance Metrics. Outline. Performance Metrics. Performance Metrics Performance Measurements

Performance Analysis of a Telephone System with both Patient and Impatient Customers

Dynamic Multi-User Load Balancing in Distributed Systems

Determining Inventory Levels in a CONWIP Controlled Job Shop

6.263/16.37: Lectures 5 & 6 Introduction to Queueing Theory

MODELING OF SYN FLOODING ATTACKS Simona Ramanauskaitė Šiauliai University Tel ,

Fluid Approximation of a Priority Call Center With Time-Varying Arrivals

Simple Queuing Theory Tools You Can Use in Healthcare

Simulation Tools Evaluation using Theoretical Manufacturing Model

Modelling and Simulation of Voice over Internet Protocol (VOIP)

Quick and dirty Mezzo GUI tutorial

Analysis of a Production/Inventory System with Multiple Retailers

Tenth Problem Assignment

Waiting Times Chapter 7

AS-D1 SIMULATION: A KEY TO CALL CENTER MANAGEMENT. Rupesh Chokshi Project Manager

TRAFFIC ENGINEERING OF DISTRIBUTED CALL CENTERS: NOT AS STRAIGHT FORWARD AS IT MAY SEEM. M. J. Fischer D. A. Garbin A. Gharakhanian D. M.

USING OPNET TO SIMULATE THE COMPUTER SYSTEM THAT GIVES SUPPORT TO AN ON-LINE UNIVERSITY INTRANET

Proposed Pricing Model for Cloud Computing

Is Truck Queuing Productive? Study of truck & shovel operations productivity using simulation platform MineDES

Robust Analysis via Simulation for a Merging-Conveyor Queueing Model

Effective Utilization of Mobile Call Center Using Queuing Models

Comparative Analysis of Congestion Control Algorithms Using ns-2

Discrete-Event Simulation

Reliability Guarantees in Automata Based Scheduling for Embedded Control Software

Basic Multiplexing models. Computer Networks - Vassilis Tsaoussidis

Computer programming course in the Department of Physics, University of Calcutta

Web Server Software Architectures

Lecture 15: Congestion Control. CSE 123: Computer Networks Stefan Savage

4 The M/M/1 queue. 4.1 Time-dependent behaviour

Queueing Networks Modeling Software for Manufacturing

A MODEL OF OPERATIONS CAPACITY PLANNING AND MANAGEMENT FOR ADMINISTRATIVE SERVICE CENTERS

Queueing Systems. Ivo Adan and Jacques Resing

Modeling Workflow Patterns

MISSING DATA TECHNIQUES WITH SAS. IDRE Statistical Consulting Group

A Multiple Access Protocol for Multimedia Transmission over Wireless Networks

ENGINEERING SOLUTION OF A BASIC CALL-CENTER MODEL

Transcription:

QNAT A Graphical Queuing Network Analysis Tool for General Open and Closed Queuing Networks Sanjay K. Bose QNAT developed at - Dept. Elect. Engg., I.I.T., Kanpur, INDIA by - Sanjay K. Bose skb@ieee.org D. Manjunath dmanju@ee.iitb.ernet.in M.N. Umesh umesh@sasi.com D. M. Bhaskar Hema Tahilramani hema@networks.ecse.rpi.edu URL: http://poisson.ecse.rpi.edu/~hema/qnat/ Beta version is being distributed free over the Internet 1

System Requirements for QNAT PC - Windows Operating System Win 3.1 or Win95/98/NT Mathematica (with Mathlink) as the computing platform Ver 2.2 for Win 3.1/Win95 Ver 3.0 or higher for Win95/98/NT Open Queuing Network Arrivals from outside entering the Queuing Network Queue 2 Queue 1 Departures leaving the Queuing Network Queue 3 2

Closed Queuing Network Queue 2 Queue 1 Queue 3 No External Arrivals or Departures Fork/Join Queues (Nodes) Sibling Queue 1 Synch. Queue 1 Sub-jobs Jobs Entering Sibling Queue N Synch. Queue N Jobs Leaving 3

Fork/Join Queues (Nodes) Single Job splits into a number sub-jobs, one for each sibling queue Job exits node only after each sub-job completes its service at its sibling queue Optional Synchronizing Queue to hold subjobs; this will free the sibling queue to service later jobs Features QNAT User-friendly Graphical User Interface (GUI) allows - Creating/Saving/Modifying Networks Open Previously Saved Networks Graphical Input/Output through GUI Printing Analysis Results to Files 4

Features QNAT * Analyzes a large variety general open/closed queuing networks with finite and/or infinite capacity queues * For finite capacity queues, a wide range blocking mechanisms can be handled * For open/closed networks infinite capacity queues, QNAT can handle multiple customer classes or fork/join nodes (for a single class) Queuing Networks Analyzed by QNAT [A] Networks Multi-server Infinite Capacity Queues with Multiple Job Classes - Open Networks - Closed Networks - Mixed Networks, with some job classes closed and the others open 5

Queuing Networks Analyzed by QNAT [B] Networks Multi-server Infinite Capacity Queues with a Single Job Class - Open/Closed Networks without Fork/Join Nodes - Open Networks with Fork/Join Nodes without Synchronizing Queue - Closed Networks with Fork/Join Nodes with/without Synchronizing Queue Queuing Networks Analyzed by QNAT [C] Networks Multi-server Finite or Infinite Capacity Queues with a Single Job Class - Open/Closed Networks with Transfer Blocking - Open/Closed Networks with Repetitive Service Blocking - * Random Destination (RS-RD) or * Fixed Destination (RS-FD) - Open Networks with Rejection Blocking 6

Solution Techniques Used in QNAT Networks Queues with Infinite Capacity Open/Closed/Mixed Single Class/Multi-Class With/Without Fork-Join 7

Open Networks Infinite Capacity, Multi-server Queues (Single and Multiple Traffic Classes) Analytical Approach (Whitt s GI/G/M Approximation) * Assumes Product-Form Solution and adjusts node and route parameters to remove immediate feedback * Solve for first & second moments net arrival process at each node by solving sets simultaneous equations * Use this and a GI/G/M model for each queue in isolation to solve for the open network queues Open Networks Infinite Capacity, Multi-server Queues (Single and Multiple Traffic Classes) Input Parameters * Mean and SQV (squared coefficient variance) for each the external arrival processes (for each class) * Routing Probabilities (Static) * No. Servers in each queue * Mean and SQV the service times at each queue for each class 8

Open Networks Infinite Capacity, Multi-server Queues (Single and Multiple Traffic Classes) Output Parameters * Mean and SQV number each class in each queue, * Waiting Times, Effective Arrival Rates etc. and their SQVs for each class traffic at each queue in the network * Network Parameters like throughput and sojourn time Open Networks Infinite Capacity, Multi-server Queues (Single and Multiple Traffic Classes) Network both the following types can be analyzed by QNAT - 1. Networks with Probabilistic Routing between the Queues * Most common way specifying a network * Routing specified through a probability matrix 2. Networks with deterministic class-based routing 9

Open Networks Infinite Capacity, Multi-server Queues, Single Class Traffic Fork-Join Nodes QNAT can handle networks where some or all the nodes are the fork-join type, subject to the following - * Only fork-join without synchronizing queues are used * Only single class customers in the system * All the sibling queues are single-server queues infinite capacity and have exponentially distributed service times (but with possibly different means) Open Networks Infinite Capacity, Multi-server Queues, Single Class Traffic Fork-Join Nodes Analytical Approach * Effective Service Time Distribution the fork-join node Distribution the random variable corresponding to the maximum the service times each sibling * This is used to find the mean and SQV the effective service time * These values are then used in the earlier GI/G/M approach for Open Networks 10

Closed Networks Infinite Capacity, Multi-Server Queues (Multiple Traffic Classes) Analytical Approach * Assume exponentially distributed service times at nodes * Product-Form Solution * Use Mean Value Analysis (MVA) to directly find the mean performance parameters (iterative procedure) Mean Value Analysis Theorem for Queuing Networks (Single Class, State-Independent Service) A customer arriving to a queue in a product-form network sees precisely the same average number in the queue as an outside observer would see, if the network had one less customer MVA Theorem can also be stated for queuing networks with Multiple Service Classes and/or with State- Dependent Service Times QNAT has internally implemented the most general form the MVA theorem 11

Closed Networks Infinite Capacity, Multi-server Queues, Single Class Traffic Fork-Join Nodes without Synchronizing Queue Analytical Approach * Get effective service time distribution for each node as in open networks * For each node, fit an exponential distribution (with min. mean square error) to the effective distribution and compute its mean * Use this mean for the node in the MVA algorithm to compute the mean performance parameters interest for the network Closed Networks Infinite Capacity, Multi-server Queues, Single Class Traffic Fork-Join Nodes with Synchronizing Queue Analytical Approach (Perros & Liu) * Approximate computation a Flow Equivalent Server (FES) which converts the fork-join node to one with state-dependent service times User specifies the service times for each the sibling queues at the fork-join node Both tabular form and expressions accepted 12

Closed Networks Infinite Capacity, Multi-server Queues, Single Class Traffic Fork-Join Nodes with Synchronizing Queue Analytical Approach (Perros & Liu) Flow Equivalent Server Computation (continued) Step-by-step procedure first combines two sibling queues for an equivalent FES. Then combines more siblings to this, one at a time, to get the final FES. FES essentially a node with state-dependent service times * Replace Fork-Join node by FES and solve network using State Dependent MVA algorithm Mixed Networks Infinite Capacity, Multi-server Queues, Multi-Class Traffic Open * For some the traffic classes, the network is open External arrivals/departures occur for these classes Closed * For the other traffic classes, the network is closed No external arrivals/departures for these classes Fixed number customers circulating in network 13

Mixed Networks Infinite Capacity, Multi-server Queues, Multi-Class Traffic Analytical Approach - (Lazowska, Zahorjan, et al) * Compute utilizations the open classes at each node & the net utilization each node due to all the open classes * Eliminate the open classes and convert the mixed network into a closed network with suitably inflated service demand for the closed classes Mixed Networks Infinite Capacity, Multi-server Queues, Multi-Class Traffic Analytical Approach - (continued) * Use MVA to solve the modified closed network and obtain the corresponding mean performance measures * Compute the performance the open classes by accounting for the mean queue length the closed classes at each node in the computational approximations 14

Networks Queues with Blocking Single Class (some or all queues finite capacity) Open/Closed 1. Transfer Blocking Modes 2. Repetitive Service - Random or Fixed Destination 3. Rejection A Closed Network An Open Network 15

Open Networks with Rejection Blocking Customers trying to enter a blocked node are lost QNAT can solve open networks with Rejection Blocking for - * Single Customer Class * Exponentially Distributed Service Times * Poisson Arrival Processes * Product-Form Solution Open Networks with Rejection Blocking Analytical Approach - * Assume initial values blocking probabilities * Solve traffic equations for flows at individual queues * Use M/M/c/K results for individual queues * Iterate on convergence flows for state distributions * Use random walk to find sojourn times for customers who get complete service or get incomplete service 16

Open Networks with Rejection Blocking Results Provided - * Mean Number/Waiting Time in each queue *Rejection Rate Loss Rate Departure Rate (Customers refused entry) (Loss inclusive Rejection) (Fully served Customers) Average Sojourn Time Average Sojourn Time (Accepted Customer) Average Sojourn Time (Lost Customer) Average Sojourn Time (Departing Customer) Generalized Exponential (GE) Distributions GE - Distributions may be used as a two-moment approximation for representing a wide range general distributions (specified by their Mean and SQV ) p Mean Service Time = 1/(pa), Exponentially Distributed 1-p Service Time = 0 Model for GE-distributed Service Times Mean = 1/a SQV = Variance/(Mean) 2 = 2/(p) - 1 17

Using Generalized Exponential (GE) Distributions in Queuing Networks GE GE GE GE GE GE Merging Splitting GE/GE/c/N Queue GE GE GE Process through a GE/GE/c/N queue using MEM approach Open Networks with Repetitive Service Blocking Fixed or Random Destination Assumptions - *Product-Form Approximation *GE Inter-arrival and Service Time Distributions * FCFS Service * Static Routing Matrix Analytical approach based on a Maximum Entropy based Method (MEM) developed by Kouvastos et al 18

Open Networks with Repetitive Service Blocking Analytical Approach Fixed or Random Destination (Actual expressions may differ for RS-RD and RS-FD) * Remove immediate feedback by modifying node and routing parameters * Assume initial parameters for iteration purposes * Solve traffic equations for flows Open Networks with Repetitive Service Blocking Analytical Approach Fixed or Random Destination * Using GE results, find mean and SQV the net arrival process to each queue * Modify mean and SQV service times at each node * Solve each node using MEM approximation methods * Update iteration parameters and iterate until convergence flows and SQVs is obtained 19

Open Networks with Repetitive Service Blocking Fixed or Random Destination Input Parameters * External Arrival Processes Mean and SQVs * Service Time Means and SQVs at each node * Number Servers at each node * Number Buffers at each node Open Networks with Repetitive Service Blocking Fixed or Random Destination For Each Queue - Output Results Mean Number, Mean Delay, Utilization, Departure Blocking Probability, P{queue empty}, P{queue full} For Network - Blocking Probability Matrix, Network Throughput and Sojourn Time 20

Closed Networks with Repetitive Service Blocking Fixed or Random Destination * Same assumptions needed as for Open Networks * Actual expressions may differ for RS-RD and RS-FD but approach is basically similar * Deadlocks may happen and are assumed to be immediately resolved * Queues may get censored - i.e. the number in the queue may have a non-zero lower limit 5 2 No. Customers = 6 Closed Networks with Repetitive Service Blocking Fixed or Random Destination Analytical Approach * Solve a Pseudo-Open Network so that the mean number in the pseudo-open network is same as that in the closed network * Calculate the Normalization Constant for the network and use this to normalize the flows so that flow balance is satisfied * State Probabilities at the individual queues may now be calculated from which performance measures are computed 21

Open Networks with Transfer Blocking * Deadlocks may occur - resolved immediately *Additional Service under blocking equals the minimum the residual service times all the customers getting served at the destination node * QNAT uses a new MEM based approximate analysis method proposed by us. This seems applicable to networks where the queues are not heavily loaded Technique has been verified through simulations etc. Open Networks with Transfer Blocking * Hypothetical Nodes added to model blocking * These nodes added to streams which may encounter blocking * These nodes are infinite server queues with service time modeling the transfer blocking time * MEM used to solve the resultant network appropriately 22

Closed Networks with Transfer Blocking Assumptions - * Exponential inter-arrival and service times * Network is Deadlock-Free Number customers less than the net capacity any directed loop Analytical Approach - Uses a special approximation method (Akyildiz) based on mapping to an equivalent non-blocking network. Method used requires state enumeration and is not suitable for large networks and/or large user populations! Simulation Queueing Networks in QNAT QNAT also supports a Simulation option Uses same GUI as for the Analytical option Network modelled may either be analyzed or simulated Confidence measures not provided by the simulation but random variable seed may be changed for multiple runs Deadlock conditions may occur 23