diff options
| author | luwenpeng <[email protected]> | 2024-03-14 10:56:09 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2024-03-14 18:03:34 +0800 |
| commit | ce0012255735ca2d680d23acf9f954dbf5bc7d39 (patch) | |
| tree | a9b24e1b5542391757676f07d6d1bba49b3eb854 /conf | |
| parent | 639614622b2cbe937740af078b76b4956f9ce7ce (diff) | |
Refactor the session manager using session transformation 2D array & Update test case
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/stellar.toml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/conf/stellar.toml b/conf/stellar.toml index 9fe5f78..01cd25e 100644 --- a/conf/stellar.toml +++ b/conf/stellar.toml @@ -4,47 +4,47 @@ device_offset = 2 # [0, 127] [packet_io] mode = dumpfile # dumpfile, marsio -dumpfile_dir = "/tmp/dumpfile/" app_symbol = stellar dev_symbol = nf_0_fw +dumpfile_dir = "/tmp/dumpfile/" nr_threads = 1 # [1, 256] cpu_mask = [5, 6, 7, 8, 9, 10, 11, 12] [ip_reassembly] enable = 1 -timeout = 10 # seconds +timeout = 10000 # ms bucket_entries = 8 bucket_num = 4096 [session_manager] # max session number -max_tcp_session_num = 100 -max_udp_session_num = 100 +max_tcp_session_num = 40960 +max_udp_session_num = 40960 # session overload evict tcp_overload_evict_old_sess = 1 # 1: evict old session, 0: bypass new session udp_overload_evict_old_sess = 1 # 1: evict old session, 0: bypass new session # TCP timeout -tcp_timeout_init = 5 # seconds, Range: 1-60 -tcp_timeout_handshake = 10 # seconds, Range: 1-60 -tcp_timeout_data = 3600 # seconds, Range: 1-15,999,999 -tcp_timeout_half_closed = 120 # seconds, Range: 1-604,800 -tcp_timeout_time_wait = 15 # seconds, Range: 1-600 -tcp_timeout_discard = 90 # seconds, Range: 1-15,999,999 +tcp_timeout_init = 5000 # ms, Range: 1-60,000 +tcp_timeout_handshake = 10000 # ms, Range: 1-60,000 +tcp_timeout_data = 3600000 # ms, Range: 1-15,999,999,000 +tcp_timeout_half_closed = 120000 # ms, Range: 1-604,800,000 +tcp_timeout_time_wait = 15000 # ms, Range: 1-600,000 +tcp_timeout_discard = 90000 # ms, Range: 1-15,999,999,000 # UDP timeout -udp_timeout_data = 10 # seconds, Range: 1-15,999,999 +udp_timeout_data = 10000 # ms, Range: 1-15,999,999,000 # duplicate packet filter duplicated_packet_filter_enable = 1 duplicated_packet_filter_capacity = 1000000 -duplicated_packet_filter_timeout = 10 # seconds, Range: 1-60 +duplicated_packet_filter_timeout = 10000 # ms, Range: 1-60,000 duplicated_packet_filter_error_rate = 0.00001 # evicted session filter evicted_session_filter_enable = 1 evicted_session_filter_capacity = 1000000 -evicted_session_filter_timeout = 10 # seconds, Range: 1-60 +evicted_session_filter_timeout = 10000 # ms, Range: 1-60,000 evicted_session_filter_error_rate = 0.00001 |
