Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:dpi_bestpractice:opt_uplink:start [2018/03/22 12:54] – [SCAT helps reduce uplink expenses by 25% and enhance QoE at the same time. How is it possible?] lexx26 | en:dpi:dpi_bestpractice:opt_uplink:start [2020/08/26 10:42] (current) – removed lexx26 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 1 Optimizing uplink channel ====== | ||
- | {{indexmenu_n> | ||
- | ==== SCAT helps reduce uplink expenses by 25% and enhance QoE at the same time. How is it possible? ==== | ||
- | |||
- | ===Initial conditions: | ||
- | |||
- | {{ : | ||
- | |||
- | Let us examine a weekly chart of channel usage by the common household operator. One can see that the maximum typically takes place on Saturday' | ||
- | |||
- | ===What do we want to get:=== | ||
- | |||
- | One is tempted not to pay for the " | ||
- | |||
- | ===Tools: | ||
- | |||
- | SCAT options " | ||
- | |||
- | ===Configuration: | ||
- | |||
- | Let us split the traffic into channels defined by protocols in use. One can assign up to 8 classes. SCAT uses them to mark packets in DSCP/TOS of IP headers as well as VLAN/MPLS priority field. An external platform can further control QOS. We shall consider a case where SCAT itself controls it. Let us place services that we can restrict during peak hours to the lowest priority class. They are typically those services that depend on external factors by their speed; services that are used in background mode. They are: torrent download, SW update services and may be something else in your case. | ||
- | |||
- | Further, we place services of online broadcasting in a class with higher priority. Such services typically can adapt themselves to an available bandwidth and to adjust their quality. The interactive services that are used in an interactive mode we place into the highest priority class. Problems with such services are immediately noticed by subscribers. The typical examples of such services are: WEB browsing, online games, IP calls (SIP, | ||
- | |||
- | We limit the maximum bandwidth available for each class traffic. Alternatively, | ||
- | |||
- | SCAT starts limiting the outbound traffic for a class when the bandwidth for this class exceeds the upper limit. The bandwidth limitations are shared in a uniform way between subscribers. Limitations implied on the outbound traffic lead to restriction on the inbound one due to the bi-directional operation of most of protocols: query - reply, transmission - confirmation). In the automatic control mode, the degree of this influence is determined by SCAT by the feedback method. First, the lowest priority traffic is restricted until it reaches the minimal threshold set. In case this restriction is not enough, limitations are applied to the traffic of the next priority and so on. Both modes allow using of the borrowing method, when the available bandwidth is distributed between classes according to the current needs and it is redistributed when it is close to the limit. | ||
- | |||
- | === Configuration example to implement the method described: === | ||
- | First, we create the file protocols.txt: | ||
- | < | ||
- | default cs0 | ||
- | mpeg cs1 | ||
- | bittorrent cs7 | ||
- | </ | ||
- | |||
- | Then we convert protocols.txt to protocols.dscp | ||
- | < | ||
- | cat protocols.txt|lst2dscp / | ||
- | </ | ||
- | |||
- | We add the strict limits by classes into the configuration file / | ||
- | < | ||
- | #Limit outbound torrent | ||
- | tbf_class7=rate 50mbit | ||
- | #Limit inbound torrent | ||
- | tbf_inbound_class7=rate 50mbit | ||
- | </ | ||
- | |||
- | Alternatively, | ||
- | < | ||
- | htb_inbound_root=rate 180mbit | ||
- | htb_inbound_class0=rate 100mbit ceil 180mbit | ||
- | htb_inbound_class1=rate 50mbit ceil 180mbit | ||
- | htb_inbound_class2=rate 8bit ceil 180mbit | ||
- | htb_inbound_class3=rate 8bit ceil 180mbit | ||
- | htb_inbound_class4=rate 8bit ceil 180mbit | ||
- | htb_inbound_class5=rate 8bit ceil 180mbit | ||
- | htb_inbound_class6=rate 8bit ceil 180mbit | ||
- | htb_inbound_class7=rate 10mbit ceil 100mbit | ||
- | htb_root=rate 180mbit | ||
- | htb_class0=rate 100mbit ceil 180mbit | ||
- | htb_class1=rate 50mbit ceil 180mbit | ||
- | htb_class2=rate 8bit ceil 180mbit | ||
- | htb_class3=rate 8bit ceil 180mbit | ||
- | htb_class4=rate 8bit ceil 180mbit | ||
- | htb_class5=rate 8bit ceil 180mbit | ||
- | htb_class6=rate 8bit ceil 180mbit | ||
- | htb_class7=rate 10mbit ceil 100mbit | ||
- | </ | ||
- | |||
- | Then we need to restart DPI: | ||
- | < | ||
- | service fastdpi restart | ||
- | </ | ||
- | |||
- | ===The outcome:=== | ||
- | |||
- | Only the traffic that is less critical and important for subscribers is restricted during peak hours. Operation of online services that are important for customers (they immediately notice problems in such services) is faster and has less delays - thanks to prioritization. We manage to reduce the channel bandwidth requirements while Internet becomes more nimble for the users. | ||
- | An additional advantage is: other operator' | ||
- | |||
- | Do you wish to get further savings on the channel? Please read [[en: | ||