![Citrix NetScaler EE Installation And Configuration Manual Download Page 370](http://html.mh-extra.com/html/citrix/netscaler-ee/netscaler-ee_installation-and-configuration-manual_2611005370.webp)
© 1999-2017 Citrix Systems, Inc. All rights reserved.
p.370
https://docs.citrix.com
QoS Fairness With Random Early Detection (RED)
Oct 04, 2016
The QoS fairness feature improves the fairness of multiple virtual path flows by using QoS classes and Random Early
Detection (RED). A virtual path can be assigned to one of 16 different classes. A class can be one of three basic types:
Realtime classes serve traffic flows that demand prompt service up to a certain bandwidth limit. Low latency is preferred
over aggregate throughput.
Interactive classes have lower priority than realtime but have absolute priority over bulk traffic.
Bulk classes get what is left over from realtime and interactive classes, because latency is less important for bulk traffic.
Users specify different bandwidth requirements for different classes, which enables the virtual path scheduler to arbitrate
competing bandwidth requests from multiple classes of the same type. The scheduler uses the Hierarchical Fair Service
Curve (HFSC) algorithm to achieve fairness among the classes.
HFSC services classes in first-in, first-out (FIFO) order. Before scheduling packets, NetScaler SD-WAN examines the amount
of traffic pending for the packets' class. When excessive traffic is pending, the packets are dropped instead of being put
into the queue (tail dropping).
Why Does TCP Cause Queuing?
TCP cannot control how quickly the network can transmit data. To control bandwidth, TCP implements the concept of a
bandwidth window, which is the amount of unacknowledged traffic that it will allow in the network. It initially starts with a
small window and doubles the size of that window whenever acknowledgments are received. This is called the slow start or
exponential growth phase.
TCP identifies network congestion by detecting dropped packets. If the TCP stack sends a burst of packets that introduce
a 250 ms delay, TCP does not detect congestion if none of the packets are discarded, so it continues to increase the size
of the window. It might continue to do so until the wait time reaches 600-800 ms.
When TCP is not in the slow start mode, it reduces the bandwidth by half when packet loss is detected, and increases the
allowed bandwidth by one packet for each acknowledgment received. TCP therefore alternates between putting upward
pressure on the bandwidth and backing off. Unfortunately, if the wait time reaches 800ms by the time packet loss is
detected, the bandwidth reduction causes a transmission delay.
Impact on QoS Fairness
When TCP transmission delay occurs, providing any kind of fairness guarantee within a virtual-path class is difficult. The
virtual path scheduler must apply tail-drop behavior to avoid holding enormous amounts of traffic. The nature of TCP
connections is such that a small number of traffic flows to fill the virtual path, making it difficult for a new TCP connection
to achieve a fair share of the bandwidth. Sharing bandwidth fairly requires making sure that bandwidth is available for new
packets to be transmitted.
Random Early Detection
Random Early Detection (RED) prevents traffic queues from filling up and causing tail-drop actions. It prevents needless
queuing by the virtual path scheduler, without affecting the throughput that a TCP connection can achieve.
How To Use RED
Summary of Contents for NetScaler EE
Page 21: ... 1999 2017 Citrix Systems Inc All rights reserved p 21 https docs citrix com ...
Page 111: ... 1999 2017 Citrix Systems Inc All rights reserved p 111 https docs citrix com ...
Page 270: ... 1999 2017 Citrix Systems Inc All rights reserved p 270 https docs citrix com ...
Page 310: ... 1999 2017 Citrix Systems Inc All rights reserved p 310 https docs citrix com ...
Page 344: ... 1999 2017 Citrix Systems Inc All rights reserved p 344 https docs citrix com ...
Page 349: ... 1999 2017 Citrix Systems Inc All rights reserved p 349 https docs citrix com ...
Page 352: ... 1999 2017 Citrix Systems Inc All rights reserved p 352 https docs citrix com ...
Page 357: ... 1999 2017 Citrix Systems Inc All rights reserved p 357 https docs citrix com ...
Page 372: ... 1999 2017 Citrix Systems Inc All rights reserved p 372 https docs citrix com ...
Page 489: ... 1999 2017 Citrix Systems Inc All rights reserved p 489 https docs citrix com ...
Page 713: ... 1999 2017 Citrix Systems Inc All rights reserved p 713 https docs citrix com ...
Page 727: ... 1999 2017 Citrix Systems Inc All rights reserved p 727 https docs citrix com VLAN Support ...
Page 738: ... 1999 2017 Citrix Systems Inc All rights reserved p 738 https docs citrix com ...
Page 790: ... 1999 2017 Citrix Systems Inc All rights reserved p 790 https docs citrix com ...
Page 929: ... 1999 2017 Citrix Systems Inc All rights reserved p 929 https docs citrix com ...
Page 930: ... 1999 2017 Citrix Systems Inc All rights reserved p 930 https docs citrix com ...
Page 931: ... 1999 2017 Citrix Systems Inc All rights reserved p 931 https docs citrix com ...
Page 932: ... 1999 2017 Citrix Systems Inc All rights reserved p 932 https docs citrix com ...
Page 933: ... 1999 2017 Citrix Systems Inc All rights reserved p 933 https docs citrix com ...
Page 934: ... 1999 2017 Citrix Systems Inc All rights reserved p 934 https docs citrix com ...
Page 935: ... 1999 2017 Citrix Systems Inc All rights reserved p 935 https docs citrix com ...
Page 936: ... 1999 2017 Citrix Systems Inc All rights reserved p 936 https docs citrix com ...
Page 938: ... 1999 2017 Citrix Systems Inc All rights reserved p 938 https docs citrix com ...
Page 939: ... 1999 2017 Citrix Systems Inc All rights reserved p 939 https docs citrix com ...
Page 940: ... 1999 2017 Citrix Systems Inc All rights reserved p 940 https docs citrix com ...
Page 941: ... 1999 2017 Citrix Systems Inc All rights reserved p 941 https docs citrix com ...
Page 942: ... 1999 2017 Citrix Systems Inc All rights reserved p 942 https docs citrix com ...
Page 943: ... 1999 2017 Citrix Systems Inc All rights reserved p 943 https docs citrix com ...
Page 944: ... 1999 2017 Citrix Systems Inc All rights reserved p 944 https docs citrix com ...
Page 945: ... 1999 2017 Citrix Systems Inc All rights reserved p 945 https docs citrix com ...
Page 946: ... 1999 2017 Citrix Systems Inc All rights reserved p 946 https docs citrix com ...
Page 947: ... 1999 2017 Citrix Systems Inc All rights reserved p 947 https docs citrix com ...
Page 948: ... 1999 2017 Citrix Systems Inc All rights reserved p 948 https docs citrix com ...
Page 949: ... 1999 2017 Citrix Systems Inc All rights reserved p 949 https docs citrix com ...
Page 950: ... 1999 2017 Citrix Systems Inc All rights reserved p 950 https docs citrix com ...
Page 951: ... 1999 2017 Citrix Systems Inc All rights reserved p 951 https docs citrix com ...
Page 952: ... 1999 2017 Citrix Systems Inc All rights reserved p 952 https docs citrix com ...
Page 953: ... 1999 2017 Citrix Systems Inc All rights reserved p 953 https docs citrix com ...
Page 954: ... 1999 2017 Citrix Systems Inc All rights reserved p 954 https docs citrix com ...
Page 955: ... 1999 2017 Citrix Systems Inc All rights reserved p 955 https docs citrix com ...
Page 956: ... 1999 2017 Citrix Systems Inc All rights reserved p 956 https docs citrix com ...
Page 957: ... 1999 2017 Citrix Systems Inc All rights reserved p 957 https docs citrix com ...
Page 958: ... 1999 2017 Citrix Systems Inc All rights reserved p 958 https docs citrix com ...
Page 959: ... 1999 2017 Citrix Systems Inc All rights reserved p 959 https docs citrix com ...
Page 960: ... 1999 2017 Citrix Systems Inc All rights reserved p 960 https docs citrix com ...
Page 961: ... 1999 2017 Citrix Systems Inc All rights reserved p 961 https docs citrix com ...
Page 962: ... 1999 2017 Citrix Systems Inc All rights reserved p 962 https docs citrix com ...
Page 963: ... 1999 2017 Citrix Systems Inc All rights reserved p 963 https docs citrix com ...
Page 964: ... 1999 2017 Citrix Systems Inc All rights reserved p 964 https docs citrix com ...
Page 965: ... 1999 2017 Citrix Systems Inc All rights reserved p 965 https docs citrix com ...
Page 966: ... 1999 2017 Citrix Systems Inc All rights reserved p 966 https docs citrix com ...
Page 967: ... 1999 2017 Citrix Systems Inc All rights reserved p 967 https docs citrix com ...
Page 968: ... 1999 2017 Citrix Systems Inc All rights reserved p 968 https docs citrix com ...
Page 969: ... 1999 2017 Citrix Systems Inc All rights reserved p 969 https docs citrix com ...
Page 970: ... 1999 2017 Citrix Systems Inc All rights reserved p 970 https docs citrix com ...
Page 971: ... 1999 2017 Citrix Systems Inc All rights reserved p 971 https docs citrix com ...
Page 972: ... 1999 2017 Citrix Systems Inc All rights reserved p 972 https docs citrix com ...
Page 973: ... 1999 2017 Citrix Systems Inc All rights reserved p 973 https docs citrix com ...
Page 974: ... 1999 2017 Citrix Systems Inc All rights reserved p 974 https docs citrix com ...
Page 975: ... 1999 2017 Citrix Systems Inc All rights reserved p 975 https docs citrix com ...
Page 976: ... 1999 2017 Citrix Systems Inc All rights reserved p 976 https docs citrix com ...
Page 977: ... 1999 2017 Citrix Systems Inc All rights reserved p 977 https docs citrix com ...
Page 978: ... 1999 2017 Citrix Systems Inc All rights reserved p 978 https docs citrix com ...
Page 979: ... 1999 2017 Citrix Systems Inc All rights reserved p 979 https docs citrix com ...
Page 980: ... 1999 2017 Citrix Systems Inc All rights reserved p 980 https docs citrix com ...
Page 981: ... 1999 2017 Citrix Systems Inc All rights reserved p 981 https docs citrix com ...
Page 982: ... 1999 2017 Citrix Systems Inc All rights reserved p 982 https docs citrix com ...
Page 983: ... 1999 2017 Citrix Systems Inc All rights reserved p 983 https docs citrix com ...
Page 984: ... 1999 2017 Citrix Systems Inc All rights reserved p 984 https docs citrix com ...
Page 985: ... 1999 2017 Citrix Systems Inc All rights reserved p 985 https docs citrix com ...
Page 986: ... 1999 2017 Citrix Systems Inc All rights reserved p 986 https docs citrix com ...
Page 987: ... 1999 2017 Citrix Systems Inc All rights reserved p 987 https docs citrix com ...
Page 988: ... 1999 2017 Citrix Systems Inc All rights reserved p 988 https docs citrix com ...
Page 989: ... 1999 2017 Citrix Systems Inc All rights reserved p 989 https docs citrix com ...
Page 990: ... 1999 2017 Citrix Systems Inc All rights reserved p 990 https docs citrix com ...
Page 991: ... 1999 2017 Citrix Systems Inc All rights reserved p 991 https docs citrix com ...
Page 992: ... 1999 2017 Citrix Systems Inc All rights reserved p 992 https docs citrix com ...
Page 993: ... 1999 2017 Citrix Systems Inc All rights reserved p 993 https docs citrix com ...
Page 994: ... 1999 2017 Citrix Systems Inc All rights reserved p 994 https docs citrix com ...
Page 995: ... 1999 2017 Citrix Systems Inc All rights reserved p 995 https docs citrix com ...
Page 996: ... 1999 2017 Citrix Systems Inc All rights reserved p 996 https docs citrix com ...
Page 997: ... 1999 2017 Citrix Systems Inc All rights reserved p 997 https docs citrix com ...
Page 998: ... 1999 2017 Citrix Systems Inc All rights reserved p 998 https docs citrix com ...
Page 999: ... 1999 2017 Citrix Systems Inc All rights reserved p 999 https docs citrix com ...
Page 1000: ... 1999 2017 Citrix Systems Inc All rights reserved p 1000 https docs citrix com ...
Page 1001: ... 1999 2017 Citrix Systems Inc All rights reserved p 1001 https docs citrix com ...
Page 1002: ... 1999 2017 Citrix Systems Inc All rights reserved p 1002 https docs citrix com ...
Page 1003: ... 1999 2017 Citrix Systems Inc All rights reserved p 1003 https docs citrix com ...
Page 1004: ... 1999 2017 Citrix Systems Inc All rights reserved p 1004 https docs citrix com ...
Page 1005: ... 1999 2017 Citrix Systems Inc All rights reserved p 1005 https docs citrix com ...
Page 1006: ... 1999 2017 Citrix Systems Inc All rights reserved p 1006 https docs citrix com ...
Page 1007: ... 1999 2017 Citrix Systems Inc All rights reserved p 1007 https docs citrix com ...
Page 1008: ... 1999 2017 Citrix Systems Inc All rights reserved p 1008 https docs citrix com ...
Page 1009: ... 1999 2017 Citrix Systems Inc All rights reserved p 1009 https docs citrix com ...
Page 1010: ... 1999 2017 Citrix Systems Inc All rights reserved p 1010 https docs citrix com ...
Page 1011: ... 1999 2017 Citrix Systems Inc All rights reserved p 1011 https docs citrix com ...
Page 1012: ... 1999 2017 Citrix Systems Inc All rights reserved p 1012 https docs citrix com ...