Presentation is loading. Please wait.

Presentation is loading. Please wait.

Simulation Study on the Effect of the trTCM Parameters Hakyong KIM R&D Center, Corecess Inc. Tel : +82-2-2056-5264 PCS : +82-505-254-1434 Mail :

Similar presentations


Presentation on theme: "Simulation Study on the Effect of the trTCM Parameters Hakyong KIM R&D Center, Corecess Inc. Tel : +82-2-2056-5264 PCS : +82-505-254-1434 Mail :"— Presentation transcript:

1 Simulation Study on the Effect of the trTCM Parameters Hakyong KIM R&D Center, Corecess Inc. Tel : +82-2-2056-5264 PCS : +82-505-254-1434 Mail : hykim@ieee.org Feb. 27, 2002

2 Table of Contents 1.Introduction to Rate Limiting/Policing 2.Traffic Conditioning/Traffic Conditioner 3.trTCM Algorithm 4.Simulation Results 5.Summary Simple and Flexible 2 2 Contents

3 3 Simple and Flexible 3 Rate Limiting / Policing  Definition Policing is the packet-by-packet monitoring function at a network border (ingress point) that ensures a host does not violate its promised traffic characteristics. – from Routing and Switching by Rita Pužmanová 23 1 T B/W 0 T 0 target traffic rate rate-limited traffic offered traffic Suitable for Real-Time Applications due to No Queueing Delay !! NOT Suitable for Loss-Sensitive Application !!

4 4 Simple and Flexible 4 T B/W 0 target traffic rate offered traffic T B/W 0 buffered rate-shaped traffic Rate Limiting / Policing Operation of Traffic Shaping 123N 123N Rate limiting in ingress sides Rate limiting in egress sides

5 5 Simple and Flexible 5 Needs for Policing Switch Fabric O/B I/B Output congestion may occurs. It affects the traffics from other inputs. Switching fabric could be overloaded Other traffics of the same input module may not be delivered properly Without Rate Limiting…

6 6 Simple and Flexible 6 Problems of Policing  Inaccuracy in TCP environment 20~30% accuracy (i.e., 70~80% inaccuracy) Due to flow control feature of TCP Settled by queueing  traffic shaping Cause additional queueing delay Not suitable for real-time application  Inaccuracy in Policer implementation ~3% of inaccuracy due to the processing granularity Physical limitation of processing chip Practically impossible to resolve. Inaccuracy due to improper settings of policing parameters Network operator are not familiar with policing parameter setting Resolvable with a guideline

7 7 Simple and Flexible 7 Traffic Conditioning  What is Traffic Conditioning? Policing/Rate Limiting in terms of DiffServ  Configuration of the Traffic Conditioner Classifier (Classification) Meter (Metering) and Marker (Marking) Dropper (Dropping) / Shaper (Shaping)  Traffic Conditioning Action (in DiffServ) RFC 2597 - Assured Forwarding PHB Group Shaping, Discarding, Mark-down / Mark-up of Drop Precedence Reassigning of packets to other AF classes Must NOT cause reordering of packets of the same flow.  Traffic Conditioners in RFCs RFC2697 – A single rate three color marker (srTCM) RFC2698 – A two rate three color marker (trTCM) RFC2859 – A time sliding window three colour marker (TSWTCM) RFC2963 – A rate adaptive shaper for differentiated services RFC2698 – A two rate three color marker (trTCM)

8 8 Simple and Flexible 8 Classifier Marker Meter Shaper/Dropper Packets entering the network Marked packets passed to the forwarder flow 1 flow 2 flow n

9 9 Simple and Flexible 9 Two-Rate Three-Color Marker  RFC2698  Marking is based on CIR, PIR and CBS, PBS.  tr-TCM Algorithm See next slide. Similar to the policing mechanism of ATM.  Useful for ingress policing The bit rate, not burst length, determines service eligibility. A peak rate needs to be enforced separately from a committed rate.  Operation Modes Color-Blind Mode Color-Aware Mode

10 10 Simple and Flexible 10 tr-TCM Algorithm  The tr-TCM uses two Token Bucket Counters Tc and Tp. Initial values: Tc(0) = CBS, Te(0) = PBS PBS  CBS  maximum possible packet size Tc is increased by one CIR times per second up to CBS. Tp is increased by one PIR times per second up to PBS. Size of the arrived packet : B  Color-Blind Mode If Tp(t) – B < 0, then mark red. Else, If Tc(t) – B < 0, then mark yellow and Tp = Tp – B. Else, Mark green. Tp = Tp – B. Tc = Tc – B.  Color-Aware Mode If the arrived packet is precolored as red or Tp(t) – B < 0, then mark red. Else, If the arrived packet is precolored as yellow or Tc(t) – B < 0, then mark yellow and Tp = Tp – B. Else, Mark green, Tp = Tp – B. Tc = Tc – B.

11 11 Simple and Flexible 11 tr-TCM Algorithm – Mark ‘Red’ Yes No – Mark ‘Yellow’ – – Mark ‘Green’ – – Increase token counts – B Tp Tc Tp < B B  Tp Tc < B B  Tc Marker dual Token Bucket

12 12 Simple and Flexible 12 Simulation Environments & Assumptions  Objective of Simulation To look into the effect of the tr-TCM parameters on policing accuracy To find out parameter sets guaranteeing 97% policing accuracy  Simulation Environments BC++ 6.0 Pentium IV 1.5 GHz  Traffic Flow A single traffic flow at the rate of 50 Mbps or 100 Mbps Composed of either fixed-length packets or variable-length packets  Running Time 20 seconds to get a result for a situation. 1 sec is composed of 6x10 6 time slots or ticks. One time slot (tick) is 1.67x10 -7 -sec long. A full set of the trTCM operations occurs during a time slot. Industrial criteria : more than 95% or 97% accuracy Industrial criteria : more than 95% or 97% accuracy

13 13 Simple and Flexible 13 Effect of CBS and PIR  Simulation Environments & Assumptions 1.The incoming traffic flow is composed of fixed-length packets. 2.Packet length is fixed to 1500 bytes. 3.The incoming traffic of 50 Mbps is policed to 10 Mbps. That is, CIR = 10 Mbps 4.CBS is increased by 200 bytes from 2300 bytes to 3500 bytes 5.PBS is set to equal to CBS. 6.PIR is increased by 0.1 Mbps from 10.0 Mbps to 14.9 Mbps.

14 14 Simple and Flexible 14 PIR % 2300 2500 2700 2900310033003500 1.A larger CBS yields the more accurate policing result. 2.When CBS is greater than twice the average packet size, the tr-TCM guarantees 97% or more policing accuracy. 3.When PIR is equal to CIR, we can get maximum accuracy. 1.A larger CBS yields the more accurate policing result. 2.When CBS is greater than twice the average packet size, the tr-TCM guarantees 97% or more policing accuracy. 3.When PIR is equal to CIR, we can get maximum accuracy. Result 1 97% 95%

15 15 Simple and Flexible 15 Effect of PBS and PIR  Simulation Environments & Assumptions 1.The incoming traffic flow is composed of fixed-length packets. 2.Packet length is fixed to 1500 bytes. 3.The incoming traffic of 50 Mbps is policed to 10 Mbps. That is, CIR = 10 Mbps 4.CBS is set to either 2300 or 3500 bytes 5.PBS is increased by 200 bytes from 2300 bytes to 3500 bytes. 6.PIR is increased by 0.1 Mbps from 10.0 Mbps to 14.9 Mbps.

16 16 Simple and Flexible 16 PIR % CBS=3500 CBS=2300 1.PBS has no effect on the policing accuracy. 2.When PIR is equal to CIR, we can get maximum accuracy. 1.PBS has no effect on the policing accuracy. 2.When PIR is equal to CIR, we can get maximum accuracy. Result 2

17 17 Simple and Flexible 17 Effect of the Packet Size Distribution  Simulation Environments & Assumptions 1.The incoming traffic flow is composed of variable-length packets. Packet length distribution is based on the table below. Average packet length is fixed to 900 bytes in every cases. 2.The incoming traffic of 100 Mbps is policed to 10 Mbps. That is, CIR = 10 Mbps 3.CBS and PBS are set to 1200. 4.PIR/CIR is increased by 0.05 from 1.0 to 1.95.

18 18 Simple and Flexible 18 PIR/CIR % 1 2 3 4 5 Curve 1Curve 2Curve 3Curve 4Curve 5 Possible packet length Fixed to 900 Random between 600 and 1200 Random among 600, 900, and 1200 Random among 300, 600, 900, 1200, and 1500 Random among 300, 900, and 1500 Standard deviation 0173.2245424.3490 The trTCM algorithm provides better policing accuracy for the traffic with larger standard deviation The trTCM algorithm provides better policing accuracy for the traffic with larger standard deviation Result 3

19 19 Simple and Flexible 19 Summary  Policing/Rate Limiting Concept and its Needs A procedure to ensure a host does not violate its promised traffic characteristics. Needed to prevent possible congestion by excessive traffic.  Two-Rate Three-Color Marker Use 4 parameters of CIR, PIR, CBS, and PBS  When PIR is equal to CIR, policing result is most accurate. In this case, trTCM becomes srTCM.  When CBS is greater than twice of the maximum packet size, we can get 97%+ policing accuracy.  PBS has no effect on policing accuracy.

20 Thank You! YOUR SUCCESS IS CORECESS www.CORECESS.com Hakyong KIM www.hakyongkim.net


Download ppt "Simulation Study on the Effect of the trTCM Parameters Hakyong KIM R&D Center, Corecess Inc. Tel : +82-2-2056-5264 PCS : +82-505-254-1434 Mail :"

Similar presentations


Ads by Google