en:dpi:opt_cgnat:faq:start [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:dpi:opt_cgnat:faq:start [2023/08/28 14:17] elena.krasnobryzhen:dpi:opt_cgnat:faq:start [2024/07/29 12:53] (current) – removed elena.krasnobryzh
Line 1: Line 1:
-====== Questions and answers ====== 
-{{indexmenu_n>6}} 
- 
-  - [[cgnat_faq_1]] 
-  - [[cgnat_faq_2]] 
-  - [[cgnat_faq_3]] 
-  - [[cgnat_faq_4]] 
-  - [[cgnat_faq_5]] 
-  - [[cgnat_faq_6]] 
-  - [[cgnat_faq_7]] 
- 
-====== Why an address pool of at least 2 or 4 addresses is recommended to create? ====== 
-{{indexmenu_n>1}} 
-Lock free scheduling algorithm implemented in the DPI is designed to distribute sessions over the working threads, so it imposes restrictions on the public IP address which can be assigned to subscriber from the pool: 
- 
- - It is required that the number of addresses within the pool is at least the number of working threads (2 for the Stingray SG-6 and 4 for the Stingray SG-10 and further) in order to ensure that public address is assigned to subscriber.  
- 
-To find out the number of working threads flows: 
-<code> 
-expr $(ps -p `pidof fastdpi` H -o comm|grep wrk|wc -l) / $(ps -p `pidof fastdpi` H -o comm|grep rx|wc -l) 
-</code> 
- 
- - If there is the only address in the pool, then the address can be assigned just for those subscribers that are used by balancing algorithm, not all subscribers. 
-