summaryrefslogtreecommitdiff
path: root/conf/shaping.conf
diff options
context:
space:
mode:
author刘畅 <[email protected]>2023-03-28 10:35:04 +0000
committer刘畅 <[email protected]>2023-03-28 10:35:04 +0000
commit54d7bdfd760309474ed2bd13f7940d96fc007451 (patch)
tree955c23b1cd46b6837a2a6cb69b1a411e396b22ee /conf/shaping.conf
parentdaac158a2890ab58a826ae973a2e775625d6af07 (diff)
parentd6e6708cbeefcb90e09bb5fa76133d8f56a7f6ad (diff)
Merge branch 'shaping_fieldstat3' into 'rel'v1.1.0
Shaping fieldstat3 See merge request liuchang/shaping-engine!1
Diffstat (limited to 'conf/shaping.conf')
-rw-r--r--conf/shaping.conf41
1 files changed, 41 insertions, 0 deletions
diff --git a/conf/shaping.conf b/conf/shaping.conf
new file mode 100644
index 0000000..5a8adec
--- /dev/null
+++ b/conf/shaping.conf
@@ -0,0 +1,41 @@
+[SYSTEM]
+WORK_THREAD_NUM=2
+ENABLE_CPU_AFFINITY=1
+CPU_AFFINITY_MASK=1-2
+
+[MARSIO]
+DEV_INTERFACE="eth_interface"
+RX_BRUST_MAX=1
+APP_SYMBOL="shaping"
+
+[MAAT]
+INPUT_MODE=1
+TABLE_INFO="conf/table_info.conf"
+JSON_FILE="conf/shaping_maat.json"
+REDIS_DB_IDX=0
+REDIS_IP="127.0.0.1"
+REDIS_PORT="6379"
+
+
+[SWARMKV]
+SWARMKV_CLUSTER_NAME="shaping"
+SWARMKV_NODE_IP="127.0.0.1"
+SWARMKV_NODE_PORT=5210
+SWARMKV_CONSUL_IP="127.0.0.1"
+SWARMKV_CONSUL_PORT=8500
+SWARMKV_CLUSTER_ANNOUNCE_IP="127.0.0.1"
+SWARMKV_CLUSTER_ANNOUNCE_PORT=8501
+SWARMKV_HEALTH_CHECK_PORT=0
+SWARMKV_HEALTH_CHECK_ANNOUNCE_PORT=1111
+
+[METRIC]
+FIELDSTAT_OUTPUT_INTERVAL_MS=500
+LINE_PROTOCOL_SERVER_IP="127.0.0.1"
+LINE_PROTOCOL_SERVER_PORT=6667
+
+[CONFIG]
+#PROFILE_QUEUE_LEN_PER_PRIORITY_MAX=128
+SESSION_QUEUE_LEN_MAX=128
+QUEUEING_SESSIONS_PER_PRIORITY_PER_THREAD_MAX=1024
+POLLING_NODE_NUM_MAX={"polling_node_num_max":[ 3, 2, 2, 1, 1, 1, 1, 1, 1, 1 ]}
+