1 Queue Scheduling Analysis The Computer Communication Lab (236340) - Winter 2004 Tanya Berezner Ana Gluzband Gitit Amihud.

Slides:



Advertisements
Similar presentations
DiffServ ENTC 345 Dr. Ana Goulart Assistant Professor.
Advertisements

Deficit Round Robin Scheduler. Outline Introduction Ordinary Problems Deficit Round Robin Latency of DRR Improvement of latencies.
1 CNPA B Nasser S. Abouzakhar Queuing Disciplines Week 8 – Lecture 2 16 th November, 2009.
WHITE – Achieving Fair Bandwidth Allocation with Priority Dropping Based on Round Trip Time Name : Choong-Soo Lee Advisors : Mark Claypool, Robert Kinicki.
TELE202 Lecture 8 Congestion control 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »X.25 »Source: chapter 10 ¥This Lecture »Congestion control »Source:
Congestion Control Reasons: - too many packets in the network and not enough buffer space S = rate at which packets are generated R = rate at which receivers.
An Energy Efficient Routing Protocol for Cluster-Based Wireless Sensor Networks Using Ant Colony Optimization Ali-Asghar Salehpour, Babak Mirmobin, Ali.
Playback-buffer Equalization For Streaming Media Using Stateless Transport Prioritization By Wai-tian Tan, Weidong Cui and John G. Apostolopoulos Presented.
© 2006 Cisco Systems, Inc. All rights reserved.QoS v2.2—5-1 Congestion Management Configuring FIFO and WFQ.
Analysis and Simulation of a Fair Queueing Algorithm A. Demers, S. keshav, and S. Shenker Wireless/Mobile Network Lab 임상택.
Comparison and Analysis of FIFO, PQ, and WFQ Disciplines on multimedia
# 1 Scheduling: Buffer Management. # 2 The setting.
Differentiated Services. Service Differentiation in the Internet Different applications have varying bandwidth, delay, and reliability requirements How.
Nick McKeown CS244 Lecture 6 Packet Switches. What you said The very premise of the paper was a bit of an eye- opener for me, for previously I had never.
Color Aware Switch algorithm implementation The Computer Communication Lab (236340) Spring 2008.
Introduction Future wireless systems will be characterized by their heterogeneity - availability of multiple access systems in the same physical space.
Combined Input Output Queuing Switch Simulator The Laboratory of Computer Communication and Networking.
Scheduling CS 215 W Keshav Chpt 9 Problem: given N packet streams contending for the same channel, how to schedule pkt transmissions?
Service Disciplines for Guaranteed Performance Service Hui Zhang, “Service Disciplines for Guaranteed Performance Service in Packet-Switching Networks,”
Analysis and Simulation of a Fair Queuing Algorithm
Katz, Stoica F04 EECS 122: Introduction to Computer Networks Packet Scheduling and QoS Computer Science Division Department of Electrical Engineering and.
תזכורת  שבוע הבא אין הרצאה m יום א, נובמבר 15, 2009  שיעור השלמה m יום שישי, דצמבר 11, 2009 Lecture 4: Nov 8, 2009 # 1.
Distributed Fair Scheduling in a Wireless LAN Gautam Kulkarni EE206A (Spring 2001) Nitin Vaidya, Paramvir Bahl and Seema Gupta (appeared in Mobicom 2000.
ACN: Congestion Control1 Congestion Control and Resource Allocation.
Computer Networking Lecture 17 – Queue Management As usual: Thanks to Srini Seshan and Dave Anderson.
Investigation of TDMA solution for the hidden terminal problem (With “ Wavion ” ) Final Report Presentation.
Lecture 4#-1 Scheduling: Buffer Management. Lecture 4#-2 The setting.
1 Netcomm 2005 Communication Networks Recitation 4.
7/15/2015HY220: Ιάκωβος Μαυροειδής1 HY220 Schedulers.
Wireless scheduling analysis (With ns3) By Pradeep Prathik Saisundatr.
CIS679: Scheduling, Resource Configuration and Admission Control r Review of Last lecture r Scheduling r Resource configuration r Admission control.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
CONGESTION CONTROL and RESOURCE ALLOCATION. Definition Resource Allocation : Process by which network elements try to meet the competing demands that.
Advance Computer Networking L-5 TCP & Routers Acknowledgments: Lecture slides are from the graduate level Computer Networks course thought by Srinivasan.
The possibilities of congestion control mechanisms in FAN networks Dominik Najder Jakub Palider.
Fair Queueing. 2 First-Come-First Served (FIFO) Packets are transmitted in the order of their arrival Advantage: –Very simple to implement Disadvantage:
Incentive-Oriented Downlink Scheduling for Wireless Networks with Real-Time and Non-Real-Time Flows I-Hong Hou, Jing Zhu, and Rath Vannithamby.
Doc.: IEEE /1077r1 Submission Sep 2013 Slide 1 EDCA Enhancements for HEW Date: Authors: NameAffiliationsAddress Phone Hui
Analysis of QoS Arjuna Mithra Sreenivasan. Objectives Explain the different queuing techniques. Describe factors affecting network voice quality. Analyse.
CS640: Introduction to Computer Networks Aditya Akella Lecture 20 - Queuing and Basics of QoS.
Packet Scheduling: SCFQ, STFQ, WF2Q Yongho Seok Contents Review: GPS, PGPS SCFQ( Self-clocked fair queuing ) STFQ( Start time fair queuing ) WF2Q( Worst-case.
An Energy Efficient MAC Protocol for Wireless LANs, E.-S. Jung and N.H. Vaidya, INFOCOM 2002, June 2002 吳豐州.
Mr. Mark Welton.  Quality of Service is deployed to prevent data from saturating a link to the point that other data cannot gain access to it  QoS allows.
T. S. Eugene Ngeugeneng at cs.rice.edu Rice University1 COMP/ELEC 429 Introduction to Computer Networks Lecture 18: Quality of Service Slides used with.
Scheduling Determines which packet gets the resource. Enforces resource allocation to each flows. To be “Fair”, scheduling must: –Keep track of how many.
Quality of Service Schemes for IEEE Wireless LANs-An Evaluation 主講人 : 黃政偉.
Queue Manager and Scheduler on Intel IXP John DeHart Amy Freestone Fred Kuhns Sailesh Kumar.
1 Fair Queuing Hamed Khanmirza Principles of Network University of Tehran.
Queue Scheduling Disciplines
Indian Institute of Technology Bombay 1 Communication Networks Prof. D. Manjunath
Spring Computer Networks1 Congestion Control Sections 6.1 – 6.4 Outline Preliminaries Queuing Discipline Reacting to Congestion Avoiding Congestion.
Providing QoS in IP Networks
Scheduling for QoS Management. Engineering Internet QoS2 Outline  What is Queue Management and Scheduling?  Goals of scheduling  Fairness (Conservation.
Scheduling Mechanisms Applied to Packets in a Network Flow CSC /15/03 By Chris Hare, Ricky Johnson, and Fulviu Borcan.
Doc.: IEEE /577r0 Submission July 2003 Qiang NI, Pierre Ansel, Thierry Turletti, INRIASlide 1 A Fair Scheduling Scheme for HCF Qiang Ni, Pierre.
A Strategy to Compute the InfiniBand Arbitration Tables
Team: Aaron Sproul Patrick Hamilton
QoS & Queuing Theory CS352.
Stratified Round Robin: A Low Complexity Packet Scheduler with Bandwidth Fairness and Bounded Delay Sriram Ramabhadran Joseph Pasquale Presented by Sailesh.
TCP, XCP and Fair Queueing
Variations of Weighted Fair Queueing
Scheduling Algorithms in Broad-Band Wireless Networks
Fair Queueing.
Variations of Weighted Fair Queueing
COMP/ELEC 429 Introduction to Computer Networks
Congestion Control Reasons:
A Fair Scheduling Scheme for HCF
Introduction to Packet Scheduling
Fair Queueing.
Presentation transcript:

1 Queue Scheduling Analysis The Computer Communication Lab (236340) - Winter 2004 Tanya Berezner Ana Gluzband Gitit Amihud

2 Introduction General network node (gateway) receives packets. The packets are queued according to their ToS. The order of the transmission is determined by the specified scheduling algorithm. The project includes:  Simulation of a gateway that receives IP packets that distributed according to the user specifications.  Implementation of the following queuing scheduling algorithms: WFQ,DRR, and ODRR.  Analysis of the algorithm’s performance.

3 The algorithms: DRR – Deficit Round Robin In this algorithm there is round robin between the non-empty queues. Each queue gets a quantum (according to it’s Tos) to transmit it’s packets. If the queue didn’t use all it’s quantum, the deficit quantum is saved for the next iterations. WFQ – Weighted Fair Queuing In this algorithm each queue gets a part of the bandwidth, according to his Tos. We calculate the virtual finish time for transmission for each packet according to it’s ToS bandwidth, the number of active queues and the packet length. The next packet to dequeue will be the one with the smallest virtual finish time.

4 ODRR – Ordered Deficit Round Robin Each queue gets a number of units. The allocated units quantity is in accordance to the priority of the queue (high priority – more units – more bandwidth). The user sets an order between the queues (qOrderList). The qOrderList composed of the queues' number and their units quantum. the packets are drawn from the queues according to the qOrderList. The deficit quantum is accomulated for each queue as in DRR. If the next packet chosen for transmission according to the qOrderList doesn’t fit in the slot, the algorithm tries to find another packet in another queue head that fits the slot, and accomulated quantum for all skipped queues. There is a "saving" mechanism that puts a queue that has accumulated too much quantum in the PassLimitList. In the beginning of each slot, the queues in PassLimitList will transmit first. The algorithms: cont.

5

6 Partial Class diagram

7 Partial Class diagram – cont.

8

9 Classes Class Generate:  This class receives from the user the following parameter: Lamda – the mean value of the exponential distribution of arriving packets. Lengths of packets. Lengths distribution. ToS distribution. Input file name of the generated file.  The class generates a file containing IP packets in the following format: Lamda Number of different ToSes Serial numberlengthToSArrival time …  We also allow the user to supply an existing file of IP packets. The IP packets in this file should be in the above format.

10 template gateway  An abstract template class that represent the gateway.  This class holds our “database”: a template array of queues. Each ToS has it’s own queue.  This class implements the run() method. This method manages the time and the slots. It synchronizes the enqueue() and dequeue() methods.  This class declares 3 pure virtual functions that derived classes should implement according to the algorithm: virtual enqueue() = 0; virtual dequeue() = 0; virtual long nextPacketLen() = 0; Classes – cont.

11 class IPpack  This class represents a basic IP packet and contains the following fields: ToS Length Arrival time Serial number in the file.  The following 3 classes inherit from this class : Class DRRIpPack Class WFQIpPack Class ODRRIpPack  The derived classes add member data according to the specific algorithm: for example class WFQIpPack adds data member finishTime that represent the virtual finish time. Classes – cont.

12 Class DRRgateway  This class inherits public from class: gateway Class WFQgateway  This class inherits public from class: gateway Class ODRRgateway  This class inherits public from class: gateway All the three classes implement the 3 virtual methods (enqueue(), dequeue(), nextPacketLen()) that were declared in their base class according to their algorithms. Classes – cont.

13

14 GUI

15 GUI - cont

16 GUI - cont

17 GUI - cont

18 GUI - cont

19

20 The constant parameters: Length sizes = 5,10,15,20,25 Queue limit = 1000 bits ToS weights in percents = 50,30,20 Total bandwidth = 100 Slot size = 100 Proportion for DRR = 1 Deficit limit = 30 Unit =5 bits Number of generated packets = 10,000

21 We analyzed the following packets distributions: Packets length Length distribution Packets length Length distribution Packets length Length distribution 20 Packets length Length distribution 20 Packets length Length distribution ToS123 distribution3433 ToS123 distribution3433 ToS123 distribution3433 ToS123 distribution ToS123 distribution203050

22 Packets length Length distribution ToS123 distribution3433

23 Packets length Length distribution ToS123 distribution3433

24 Packets length Length distribution ToS123 distribution3433

25 Packets length Length distribution ToS123 distribution3433

26 Packets length Length distribution ToS123 distribution3433

27 Packets length Length distribution ToS123 distribution3433

28 Packets length Length distribution ToS123 distribution3433

29 Packets length Length distribution ToS123 distribution3433

30 Packets length Length distribution ToS123 distribution3433

31 Packets length Length distribution ToS123 distribution3433

32 Packets length Length distribution ToS123 distribution3433

Packets length Length distribution ToS123 distribution3433

34 Packets length Length distribution ToS123 distribution3433

35 Packets length Length distribution ToS123 distribution3433

36 Packets length Length distribution ToS123 distribution3433

37 Packets length Length distribution ToS123 distribution3433

38 Packets length Length distribution ToS123 distribution3433

39 Packets length Length distribution ToS123 distribution3433

40 Packets length Length distribution ToS123 distribution3433

41 Packets length Length distribution ToS123 distribution3433

42 Packets length Length distribution ToS123 distribution3433

43 Packets length Length distribution ToS123 distribution503020

44 Packets length Length distribution ToS123 distribution503020

45 Packets length Length distribution ToS123 distribution503020

46 Packets length Length distribution ToS123 distribution503020

47 Packets length Length distribution ToS123 distribution503020

48 Packets length Length distribution ToS123 distribution503020

49 Packets length Length distribution ToS123 distribution503020

50 Packets length Length distribution ToS123 distribution203050

51 Packets length Length distribution ToS123 distribution203050

52 Packets length Length distribution ToS123 distribution203050

53 Packets length Length distribution ToS123 distribution203050

54 Packets length Length distribution ToS123 distribution203050

55 Packets length Length distribution ToS123 distribution203050

56 Packets length Length distribution ToS123 distribution203050

57

58 When there are more small packets: Delay is smaller in all algorithms. The throughput reaches it’s maximal values in higher load. There is less lost packets for all algorithms. When there are more large packets, we observe the opposite tendencies. The throughput of ODRR is better than the throughput of WFQ and DRR. Possible reason: slot filling mechanism. WFQ is more sensitive to changes in ToS distribution. A small change in ToS distribution leads to a bigger change in delay and number of lost packets in comparison with the other algorithms. Possible reason: The depart time of the packet in WFQ depends on the queue state on it’s arrival. For ODRR, the default order is better than interleaving for distribution with more big packets.