Performance improvement through Active Idleness José A.A. Moreira Agilent Technologies Germany Carlos F.G. Bispo Instituto de Sistemas e Robótica Instituto.

Slides:



Advertisements
Similar presentations
Operations Management For Competitive Advantage 1 Operations Scheduling Operations Management For Competitive Advantage Chapter 15.
Advertisements

Capacity Setting and Queuing Theory
On the Genetic Evolution of a Perfect Tic-Tac-Toe Strategy
Delay and Throughput in Random Access Wireless Mesh Networks Nabhendra Bisnik, Alhussein Abouzeid ECSE Department Rensselaer Polytechnic Institute (RPI)
DYNAMIC POWER ALLOCATION AND ROUTING FOR TIME-VARYING WIRELESS NETWORKS Michael J. Neely, Eytan Modiano and Charles E.Rohrs Presented by Ruogu Li Department.
NETWORK LAYER. CONGESTION CONTROL In congestion control we try to avoid traffic congestion. Traffic Descriptor Traffic descriptors are qualitative values.
Admission Control and Scheduling for QoS Guarantees for Variable-Bit-Rate Applications on Wireless Channels I-H. Hou and P.R. Kumar Department of Computer.
Static Optimization of Conjunctive Queries with Sliding Windows over Infinite Streams Presented by: Andy Mason and Sheng Zhong Ahmed M.Ayad and Jeffrey.
The War Between Mice and Elephants LIANG GUO, IBRAHIM MATTA Computer Science Department Boston University ICNP (International Conference on Network Protocols)
Network Capacity Planning IACT 418 IACT 918 Corporate Network Planning.
The War Between Mice and Elephants Presented By Eric Wang Liang Guo and Ibrahim Matta Boston University ICNP
Queuing Theory For Dummies
First, let’s talk about some of your introductions from last time: – What did you think was good about it? – What did you think was poor about it? What.
Volcano Routing Scheme Routing in a Highly Dynamic Environment Yashar Ganjali Stanford University Joint work with: Nick McKeown SECON 2005, Santa Clara,
1 Performance Evaluation of Computer Networks Objectives  Introduction to Queuing Theory  Little’s Theorem  Standard Notation of Queuing Systems  Poisson.
1 Queueing Theory H Plan: –Introduce basics of Queueing Theory –Define notation and terminology used –Discuss properties of queuing models –Show examples.
Management of Waiting Lines
Stability or Stabilizability? Seidman’s FCFS example revisited José A.A. Moreira Agilent Technologies Germany Carlos F.G. Bispo Instituto de Sistemas e.
Customer Service in Pull Production Systems Mark L. SPEARMAN Presented By: Ahu SOYLU.
Smooth Priorities for Make-to-Stock Inventory Control Carlos F. G. Bispo Instituto de Sistemas e Robótica – Instituto Superior Técnico Technical Univ.
Buffer Management for Shared- Memory ATM Switches Written By: Mutlu Apraci John A.Copelan Georgia Institute of Technology Presented By: Yan Huang.
Queuing Networks. Input source Queue Service mechanism arriving customers exiting customers Structure of Single Queuing Systems Note: 1.Customers need.
A Generalized Processor Sharing Approach to Flow Control in Integrated Services Networks: The Single-Node Case Abhay K. Parekh, Member, IEEE, and Robert.
Self-Organizing Agents for Grid Load Balancing Junwei Cao Fifth IEEE/ACM International Workshop on Grid Computing (GRID'04)
1 Performance Evaluation of Computer Networks: Part II Objectives r Simulation Modeling r Classification of Simulation Modeling r Discrete-Event Simulation.
Management of Waiting Lines McGraw-Hill/Irwin Copyright © 2012 by The McGraw-Hill Companies, Inc. All rights reserved.
Lecture 2 Process Concepts, Performance Measures and Evaluation Techniques.
Stochastic Processes A stochastic process is a model that evolves in time or space subject to probabilistic laws. The simplest example is the one-dimensional.
18 Management of Waiting Lines.
Queuing Theory Basic properties, Markovian models, Networks of queues, General service time distributions, Finite source models, Multiserver queues Chapter.
Audit Sampling: An Overview and Application to Tests of Controls
Topic: P2P Trading in Social Networks: The Value of Staying Connected The purpose of this paper is to propose a P2P incentive paradigm named Networked.
1 Scheduling The part of the OS that makes the choice of which process to run next is called the scheduler and the algorithm it uses is called the scheduling.
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.
Queuing Networks Jean-Yves Le Boudec 1. Networks of Queues Stability Queuing networks are frequently used models The stability issue may, in general,
Leader-Follower Framework For Control of Energy Services Ali Keyhani Professor of Electrical and Computer Engineering The Ohio State University
Simulation of a Generic Cellular Manufacturing System Using Rockwell Arena Simulation Software This document provides a generic simulation model of a cellular.
Network Design and Analysis-----Wang Wenjie Queuing Theory III: 1 © Graduate University, Chinese academy of Sciences. Network Design and Performance Analysis.
Delay-Based Back-Pressure Scheduling in Multi-Hop Wireless Networks 1 Bo Ji, 2 Changhee Joo and 1 Ness B. Shroff 1 Department of ECE, The Ohio State University.
Some questions about multipath Damon Wischik, UCL Trilogy UCL.
Generated Trips and their Implications for Transport Modelling using EMME/2 Marwan AL-Azzawi Senior Transport Planner PDC Consultants, UK Also at Napier.
1 Buffering Strategies in ATM Switches Carey Williamson Department of Computer Science University of Calgary.
1 TCOM 5143 Lecture 10 Centralized Networks: Time Delay and Cost Tradeoffs.
BSnetworks.pptTKK/ComNet Research Seminar, SRPT Applied to Bandwidth Sharing Networks (to appear in Annals of Operations Research) Samuli Aalto.
Management of Waiting Lines Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent.
Providing QoS in IP Networks
Queuing Theory Simulation & Modeling.
Chapter 4 CPU Scheduling. 2 Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling Real-Time Scheduling Algorithm Evaluation.
Basic Concepts Maximum CPU utilization obtained with multiprogramming
McGraw-Hill/Irwin Copyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 18 Management of Waiting Lines.
CPU Scheduling CSSE 332 Operating Systems
Dan C. Marinescu Office: HEC 439 B. Office hours: M, Wd 3 – 4:30 PM.
Topics discussed in this section:
Management of Waiting Lines
Switching Techniques In large networks there might be multiple paths linking sender and receiver. Information may be switched as it travels through various.
Chapter 6: CPU Scheduling
CPU Scheduling G.Anuradha
Module 5: CPU Scheduling
Chapter 5: CPU Scheduling
Data and Computer Communications
Chapter 6: CPU Scheduling
Queueing networks.
Buffer Management for Shared-Memory ATM Switches
Javad Ghaderi, Tianxiong Ji and R. Srikant
Chapter 6: CPU Scheduling
Module 5: CPU Scheduling
Chapter 6: CPU Scheduling
LECTURE 09 QUEUEING THEORY PART3
Course Description Queuing Analysis This queuing course
Module 5: CPU Scheduling
Presentation transcript:

Performance improvement through Active Idleness José A.A. Moreira Agilent Technologies Germany Carlos F.G. Bispo Instituto de Sistemas e Robótica Instituto Superior Técnico Portugal

MED Rhodes, Greece 2/23 Outline Motivation Active Idleness The Time Window Controller Implications on Performance Conclusions

MED Rhodes, Greece 3/23 Motivation: Queuing network Multiple servers Multiple types of customers Different routs for each type through the network Each type of customer may visit same server more than once A type of customer is composed of several classes One per operation needed Each server processes different classes with different processing time distributions – no redundant servers Each type of customer arrives to the system randomly in time but to one unique point and exits the system at a specific server Customers queue up in front of the server they require next

MED Rhodes, Greece 4/23 Motivation: The concept of load Assume there are K different classes of customers Some may belong to the same type of customer Define as k the first moment of the arrival rate distribution of class k, for k = 1, 2, …, K, to its server Define as  k the first moment of the service time distribution of class k, for k = 1, 2, …, K Assume there are I different servers Let c(i) designate the constituency of server i, for i = 1, 2,..., I Class k belongs to c(i) if server i processes it Then, the load of server i is  k  c(i) k  k

MED Rhodes, Greece 5/23 Motivation: Admission and scheduling A policy to control the entry of new customers in the system is said to be an admission policy A policy to decide which customer a server has to process next is said to be a scheduling policy An open network does not have an admission policy Otherwise the system is termed as a closed network All networks must have a scheduling policy If they exist, both policies affect the arrival rates of classes to their servers In an open network only the internal arrival rates are affected We address open networks with distributed policies (why?)

MED Rhodes, Greece 6/23 Motivation: Stability There are many alternative ways of defining stability for queuing networks For our purposes, suffices to say that a network is stable if the expected queue lenght of all servers is finite or if the expected time to flow through the network is finite for all types of customers Connected to the above, one can also say that a network is stable if all the internal arrival rates match the external arrival rates on a short term basis This is not a precise concept, serves only to provide intuition

MED Rhodes, Greece 7/23 Motivation: Traffic Intensity Condition The necessary condition for stability states that if a network is stable then the load imposed on each server by the classes it serves is below unity Is the TIC also sufficient? For many years it was thought so, as long as the scheduling policy does not keep servers idle in the presence of customers – non-idling policies Also termed by some authors as work-conserving policies In the late 80’s and early 90’s some examples were published where, although the TIC holds, the networks are unstable when controlled by non-idling policies

MED Rhodes, Greece 8/23 Motivation: Dai’s network Parameters 1 = 1  1 =  2 =  3 =  4 =  5 =  6 = Loads Server 1: 0.9 Server 2: 0.9 Scheduling First Come First Serve Class 1Class 2 Class 3 Class 4 Class 6Class 5

MED Rhodes, Greece 9/23 Motivation: Simulation results

MED Rhodes, Greece 10/23 Active Idleness: What conditions stability? The network alone? The network plus the scheduling policy? What is the network alone? Just the servers? Servers and routs of customers? The above plus the arrival rates and processing times? What should condition stability? Are we interested in determining if a pair topology/scheduling policy is stable? Or are interested in determining if a given topology is stabilizable?

MED Rhodes, Greece 11/23 Active Idleness: Control Theory From a control theory perspective Is a system stable when left alone? If a system is unstable, can we stabilize it through the adequate choice of control? Is a network stable when left alone? NEVER – needs control policy (admission and/or scheduling) Do we want to know if a network can be stabilized through the adequate choice of scheduling policy? Does that entail finding the right policy? Or does it entail someting else?

MED Rhodes, Greece 12/23 Active Idleness: Wondering From the examples published It is odd that always working in the presence of customers does not ensure stability whenever the TIC holds – for distributed policies There are starvation periods being created, which translate into short term loss of capacity, that will not be recovered Should we blame it on the policy alone? Or is there something else? I wonder... What if we drop the requirement of always using non-idling policies? What if we allow servers to stop in the presence of customers? Is there a long term capacity gain due to controlled short term losses of capacity?

MED Rhodes, Greece 13/23 Active Idleness: Wondering still Surely you are kidding... The network is unstable and you want to stabilize it by wasting capacity!!!... Find a job somewhere else... Well... We are wasting capacity for the fact that we do not filter the burstiness of the arrival processes Some servers get lots of customers of a given class, work on them and the next server will get a handfull of new customers, but some other server is not getting anything, thus the waste

MED Rhodes, Greece 14/23 Active Idleness: Key to stability? Active Idleness is perhaps one key Don’t be passive about staying idle Chose your moments of idleness and perhaps you will not have to be idle for such long periods Filter burstiness Block classes that are flooding the server, allowing for some others to get through If a class gets blocked and there are others, work on them If there are no other classes, what is the rush of working on a class that you have been working for a significant amount of time?

MED Rhodes, Greece 15/23 The Time Window Controller It is one possible implementation of the AI concept Time window of size T (finite) Processing History - Look T units into the past and compute the fraction of time each class used its server Maximum time fraction – assign a maximum value to each class Blocking – occurs when a class has exceeded its maximum time fraction Server only “sees” classes which are not blocked, the blocked ones are assumed not be present while they remain blocked Not a new scheduling policy decisions are still made by the same criteria as before, but only on the visible classes As time progresses, classes leave the blocking status and become elegible to be processed according to the policy

MED Rhodes, Greece 16/23 Implications on Performance Simulation results - stability

MED Rhodes, Greece 17/23 Implications on Performance So we manage to stabilize unstable networks What if the pair network/scheduling policy is already stable? Is there any advantage on using the Time Window Controller? Take the same network as before and use Last Buffer First Serve We know this pair to be stable when the TIC holds Use some metric to evaluate performance Higher cost to earlier stages Average queue lenght

MED Rhodes, Greece 18/23 Implications on Performance Simulation results – improvement over stable Higher cost to earlier stages

MED Rhodes, Greece 19/23 Implications on Performance Active Idleness as a function of fraction Higher cost to earlier stages

MED Rhodes, Greece 20/23 Implications on Performance Simulation results – improvement over stable Average bufer lenght

MED Rhodes, Greece 21/23 Conclusions: What was done Proposed to use Active Idleness as a way to ensure stabilizability Described a controller implementing the concept Shown the dramatic improvement for an unstable system Shown the potential to optimize performance, irrespective of the fact that original system is or is not stable

MED Rhodes, Greece 22/23 Conclusions: What remains to do Would like/need to develop an efficient way to tune the controller Brute force parameter tunning Infinitesimal Perturbation Analysis Other... What if buffers are finite? What if there is a set-up time associated with changing classes? How about spliting and merging? What is the best distributed scheduling policy with AI? In general, is it the case that the best policy is non-idling?

MED Rhodes, Greece 23/23 Performance Improvement through Active Idleness José A.A. Moreira Carlos F.G. Bispo