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

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
en:dpi:opt_cgnat:faq:cgnat_faq_1 [2023/08/28 14:08] – ↷ Page moved from en:dpi:opt_cgnat:cgnat_faq:cgnat_faq_1 to en:dpi:opt_cgnat:faq:cgnat_faq_1 elena.krasnobryzhen:dpi:opt_cgnat:faq:cgnat_faq_1 [2023/08/28 14:17] (current) – removed elena.krasnobryzh
Line 1: Line 1:
-====== 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.