diff options
| author | luwenpeng <[email protected]> | 2024-08-30 10:21:44 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2024-08-30 18:56:35 +0800 |
| commit | d1d5e6e09e92361f16586f2f611351c45b2b932b (patch) | |
| tree | a49dffe75f62cb8b1f5fde0fd734e77ce76554fb /conf | |
| parent | 8935e5408b58885773e7db04403c2ae3fca590c7 (diff) | |
refactor packet IO, rename dumpfile mode to pcap mode, modify related configuration
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/stellar.toml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/conf/stellar.toml b/conf/stellar.toml index 360e6fe..880fad6 100644 --- a/conf/stellar.toml +++ b/conf/stellar.toml @@ -3,15 +3,13 @@ snowflake_base = 1 # [0, 31] snowflake_offset = 2 # [0, 127] [packet_io] -mode = "dumpfile" # dumpfile, dumpfilelist, marsio +mode = "pcapfile" # pcapfile, pcaplist, marsio app_symbol = "stellar" dev_symbol = "nf_0_fw" - -dumpfile_path = "/tmp/dumpfile/dumpfile.pcap" -#dumpfile_path = "/tmp/dumpfile/dumpfilelist" - -nr_worker_thread = 1 # [1, 256] +pcap_path = "/tmp/test.pcap" +nr_worker_thread = 1 # range: [1, 256] cpu_mask = [5, 6, 7, 8, 9, 10, 11, 12] +idle_yield_interval_ms = 900 # range: [0, 60000] (ms) [ip_reassembly] enable = 1 @@ -67,5 +65,3 @@ tcp_reassembly_max_segments = 256 # range: [2, 4096] [schedule] merge_stat_interval = 500 # range: [1, 60000] (ms) output_stat_interval = 2000 # range: [1, 60000] (ms) - -packet_io_yield_interval = 900 # range: [1, 60000] (ms) |
