Study on Fairness of Packet Marking and Queue Scheduling Strategies in DiffServ Networks

Author
HanBing
Advisor
YangXiaoPing
School
Jilin University
Major
Signal and Information Processing
Classification
TP393.07 Computer Network Management
Degree
Master's thesis
Year
2007
Downloads
130
Citations
0

Request the full text

Abstract

I. IntroductionDifferentiated Service Architecture(DiffServ) is presented by Internet Engineering Task Force (IETF) in order to provide QoS in the Internet. DiffServ has recently become a preferred method and a point of study for realizing QoS, because it has excellent extendability and robustness and it can be easily actualized.To realize the traffic control of IP QoS, DiffServ needs to use many kinds of controling mechanism, including the packet marking and queue scheduling strategies.At the boundary nodes in DiffServ, the AS flows should be regulated and put into different drop levels according to a certain standard of IN/ OUT. This can be carried out with the packet marker. The existing traditional marking algorithm can’t adapt the impact of traffic features on the fairness in DiffServ networks.The queue scheduling is to allocate the bandwidth. It means choosing the packet to send from the waiting queues according to a certain rule. So it makes all traffic streams share the bandwidth of the output link by the established discipline. The traditional round robin based scheduling algorithm can’t adapt the impact of packet size on the fairness.II. The Fairness Problems of the Assignment of Bandwidth in DiffServ(1) Because of TCP’s itself congestion control mechanism, when TCP flows coexist with UDP flows, UDP flows will occupy more bandwidth than TCP flows.(2) Formula (3.7) presents that the excess bandwidth which is assigned to aggregates is the inverse ratio with CIR. So it is unfairness to the users who pay for the bigger CIR.(3) In DiffServ, the assignment of the bandwidth among the TCP flows is influenced by RTT and the packet sizes. The flow which has the shorter RTT or the bigger packet size will be assigned more bandwidth.III. Impovement of the Packet Marking AlgorithmIn this paper, we focus on solving the fairness problem by improving the marking algorithm. Our design aims at developing a marking system that is sensitive to the changing of the parameters such as RTT instead of measuring them directly. If a flow enjoys the network resources fairly in proportion, the ratio of its throughput to the total throughput should accord the ratio of its CIR to the total CIR. So in this paper we improve TSWTCM marking algorithm and design Dynamic Threshold Three Color Marking (DTTCM) algorithm.The design of DTTCM algorithm:(1) We use a fairness factor fairness = (thput / thputtotal )/(cir / cirtotal ) to apperceive the changing of the parameters. Simultaneity, we set the threshold minth = cir×(cir / cir max/ fairness)<sup>1/2</sup>, max th= cir×(1+1/fairness)and the parameter max p = cir /[cir max×( 1+ fairness )]. Thereinto, The avgrate is the packet’s average speed which is estimated. The thputtotal is the bandwidth of the bottleneck link. The cir is the CIR of the arriving packet. The cirtotal is the sum of all flows’CIR. The cirmax is the maximum CIR among all flows.(2) When avgrate≤cir, the probability of green is P<sub>green</sub>=1. When cir≤avgrate≤maxth, P<sub>green</sub> = minth/avgrate, the probability of yellow P<sub>ywllow</sub> divides into [(cir)/(avgrate)- P<sub>green</sub>] and [1 - [(avgrate-cir)/(maxth-cir)]<sup>2</sup>×(1-maxp)]×[1-(cir)/(avgrate)]. The preceding part is to guarantee the flow to achieve its CIR. And the latter part is to compete the excess bandwidth. When avgrate≥maxth, Pgreen = minth/avgrate, P<sub>yellow</sub> = (cir)/(avgrate)-P<sub>green</sub>. So it can give the flow some punishment to maintain other flows’interests. Under these three conditions, the probability of red P<sub>red</sub> = 1-P<sub>green</sub>-P<sub>yellow</sub>.The simulation indicated that, comparing with TSWTCM algorithm, DTTCM has better performance in the assignment of bandwidth among UDP and TCP, as well as the assignment of excess bandwidth among the aggregates. In aspect of the impact of packet size and RTT on the fairness, when the network provision level is low, DTTCM has better performance. But when the network provision level is high, DTTCM is not better than TSWTCM.IV. WFQ Queue Scheduling MechanismThe existing round robin based scheduling algorithm can’t adapt the impact of packet size on the fairness. Generalized Processor Sharing (GPS) is one of an ideal mechanism that can resolve this kind of problem. This kind of algorithm supposes that the packet is infinite separable, and the router can serve all active queues simultaneity in proportion. So it can make all kinds of flows share the bandwidth fairly.GPS is only an ideal model, and it is unable to realize actually. The paper presents Weight Fair Queue (WFQ) algorithm which is based on Packet Generalized Processor Sharing (PGPS) to simulate GPS algorithm which is based on fluid-reference-system. In the GPS system, the rate ri which is assigned by weight will be changed by the change of the number of back logged queues B j. So WFQ uses a virtual time measurement to schedule every packet. The algorithm maintains a virtual start time and a virtual finish time for every back logged queue. When there are events, WFQ will update the virtual finish time for every back logged queue by updating the virtual time function V(t ) and then chose the packet whose virtual finish time is the least to send. Virtual time reflects the resource of time that every back logged queue provides to all service. It follows the real time when the server works. Since the rate of the server is constant, virtual time also reflects the data quantity which the server provides to all back logged queues.The simulation experiment indicate that when the packets are different size, the link can also assigne the bandwidth fairly by WFQ scheduling strategy. V. Conclusion(1) DTTCM has better performance in the assignment of bandwidth among UDP and TCP, as well as the assignment of excess bandwidth among the aggregates.(2) In aspect of the impact of packet size and RTT on the fairness, when the network provision level is low, DTTCM has better performance. But when the network provision level is high, DTTCM is not better than TSWTCM. It is because when the TCP flows can’t be easily achieve their CIR, the DTTCM marker can’t improve the fairness by marking more yellow and red packets to the flows which has short RTT or big packet size.(3) Comparing with the round robin based scheduling algorithm, WFQ algorithm can preferably simulate the ideal GPS system. So it can make the link assign the bandwidth fairly, even the size of the packets are different.

Table of contents

Summary 4-8 first chapter 8-12 1.1 Introduction 8 1.2 DIFFSERV Overview 8-9 <br / > 1.3 packet marking strategy outlined 9 1.4 queue scheduling policy outlined 9-10 1.5 DIFFSERV in fairness 10 1.6 papers the main contents 10-12 implementation mechanism of the second chapter DIFFSERV 12-30 2.1 DIFFSERV architecture 12-17 2.1. a few basic concepts 12-13 2.1.2 The basic principle 13-14 2.1.3 network structure 14 2.1.4 function module 14-16 2.1.5 per -hop behavior PHB 16-17 2.2 DIFFSERV typical services and technology 17-19 2.2 .1 reward service PS 17-18 2.2.2 ensure that the services AS 18-19 2.2.3 best effort service BE 19 2.3 DIFFSERV packet marking strategy 19-23 2.3.1 marking algorithm based on the token bucket 19-21 2.3.2 TSWTCM three color marker algorithm 21 -23 2.4 DIFFSERV queue management mechanism 23-25 ?? 2.4.1 RED algorithm Introduction 23 2.4.2 RIO-C algorithm 23 - 25 2.5 DIFFSERV queue scheduling mechanism 25-29 2.5.1 first-come, first-served queue scheduling algorithm 26 2.5.2 priority queue scheduling algorithm 26-27 2.5.3 fair queuing scheduling algorithm 27-28 2.5.4 weighted round robin scheduling algorithms 28-29 2.6 Summary 29-30 Chapter DIFFSERV packet marking algorithm research formation nbsp 30-39 3.1 DIFFSERV fairness in bandwidth allocation issues ; 30-33 <br / > fairness nbsp 3.1.1 TCP and UDP streams flow between ; 31 fairness nbsp 3.1.2 convergence between streams ; 31-33 3.1.3 internal flow convergence nbsp TCP fairness between single-stream ; 33 3.2 , a new three-color marking algorithm DTTCM 33-38 3.2.1 design Goals 33-34 3.2.2 design ideas 34 3.2.3 DTTCM marking algorithm 34-38 3.3 Summary 38-39 Article chapters DTTCM algorithm performance simulation 39-51 4.1 TCP and fairness between nbsp UDP ; affect 39-44 4.2 target rate of fairness 44 -45 4.3 loop response time on the fairness 45-48 4.4 packet size affect the fairness of the 48-50 4.5 chapter Summary 50-51 fifth chapter queue scheduling mechanism WFQ 51-59 5.1 GPS scheduling algorithm 51-52 5.2 WFQ queue scheduling algorithm 52-55 5.3 WFQ simulation 55-58 5.4 summary 58-59 Chapter VI Full Summary 59-61 References 61-64 Summary 64-67 ABSTRACT 67-71 Thanks 71-72 < br /> tutors and Author 72

Related dissertations

  1. Research on Active Queue Management Algorithm of DiffServ-Aware
    ChengLong ·Northeastern University ·2013 ·Master's thesis
  2. Research and implementation of dynamic priority queue service differentiation
  3. Differentiated Services Support in Optical Burst Switching Networks
    YuanWei ·University of Science and Technology of China ·2006 ·Doctoral dissertation
  4. Research of Queue Management and Admission Control in Network QoS Control
    GaoWenYu ·Central South University ·2005 ·Doctoral dissertation
  5. Internet service quality and congestion control
    JiangMing ·Zhejiang University ·2004 ·Doctoral dissertation
  6. Study on End-to-End Congestion Control and Quality of Service of Networks
    ZhangShunLiang ·Zhejiang University ·2004 ·Doctoral dissertation
  7. Researches on Random Medium Access Control Schemes in Wireless Local Area Networks
  8. Mobile Ad Hoc Networks SWAN the DiffServ mixed service model
  9. Study on QoS Realization Scheme and Improvement of Queue Management Algorithm in Diffserv Networks
    LengJingYan ·Jilin University ·2005 ·Master's thesis
  10. Diffserv over MPLS model - based flow control research
  11. Research on Congestion Control Based on Packet Marking
    WeiXingGuang ·Jiangnan University ·2009 ·Master's thesis
  12. Switched Ethernet - based network control system for scheduling
  13. The Research and Simulation on QoS Mechanism of Multi-service IP Bearer Network
  14. Research on Network Congestion Control Algorithm in Hiberarchy QoS
  15. The Research of Network Traffic Control System Based on Linux
    RaoBaoQian ·Suzhou University ·2011 ·Master's thesis
  16. Research on Satisfaction of Taxation Service Based on the Model of Service Quality Differences
    ChenZhi ·Central China Normal University ·2011 ·Master's thesis
  17. Research on the Problems and Countermeasures of Improvement of Tax Service in Government Rent
    HuShuQiang ·Xiangtan University ·2013 ·Master's thesis
  18. Research on Composition Marketing Decision and Optimization Management of Multilateral Collaboration Oriented Web Service Composition
    WuZhong ·Wuhan University of Technology ·2013 ·Doctoral dissertation
  19. Empirical Research of Consumption Emotions as a Mediator between Service Quality and Customer Loyalty in Chinese Chain Restaurant Industry
  20. The Research on Service Quality Management of Panjin-Wanxiang Theme Hotel