From 63c536fc9688bbd4115cd59fbed4be51e3ce479b Mon Sep 17 00:00:00 2001 From: lxchx Date: Tue, 19 Nov 2024 06:31:09 +0000 Subject: [PATCH] conf: optimize init attribute --- conf/dpvs.bond.conf.sample | 14 +++++++------- conf/dpvs.conf.items | 1 - conf/dpvs.conf.sample | 12 ++++++------ conf/dpvs.conf.single-bond.sample | 10 +++++----- conf/dpvs.conf.single-nic.sample | 10 +++++----- 5 files changed, 23 insertions(+), 24 deletions(-) diff --git a/conf/dpvs.bond.conf.sample b/conf/dpvs.bond.conf.sample index d35d10328..cc9bb66d8 100644 --- a/conf/dpvs.bond.conf.sample +++ b/conf/dpvs.bond.conf.sample @@ -14,9 +14,9 @@ global_defs { log_level WARNING ! log_file /var/log/dpvs.log - ! log_async_mode off - ! kni on - ! pdump off + ! log_async_mode off + ! kni on + ! pdump off lldp on } @@ -277,7 +277,7 @@ timer_defs { ! dpvs neighbor config neigh_defs { unres_queue_length 128 - timeout 60 + timeout 60 } ! dpvs ipset config @@ -323,7 +323,7 @@ ipvs_defs { conn_pool_cache 256 conn_init_timeout 3 ! expire_quiescent_template - ! fast_xmit_close + ! fast_xmit_close ! redirect off } @@ -379,6 +379,6 @@ ipvs_defs { ! sa_pool config sa_pool { - pool_hash_size 16 - flow_enable on + pool_hash_size 16 + flow_enable on } diff --git a/conf/dpvs.conf.items b/conf/dpvs.conf.items index 80f2e123a..449a45507 100644 --- a/conf/dpvs.conf.items +++ b/conf/dpvs.conf.items @@ -212,7 +212,6 @@ ipv6_defs { ! control plane config ctrl_defs { lcore_msg { - #bucket_number 256 ring_size 4096 <4096, 256-524288> sync_msg_timeout_us 2000 <2000, 1-∞> priority_level low diff --git a/conf/dpvs.conf.sample b/conf/dpvs.conf.sample index 002aab56f..8c40b5ad3 100644 --- a/conf/dpvs.conf.sample +++ b/conf/dpvs.conf.sample @@ -14,9 +14,9 @@ global_defs { log_level WARNING ! log_file /var/log/dpvs.log - ! log_async_mode on - ! kni on - ! pdump off + ! log_async_mode on + ! kni on + ! pdump off lldp on } @@ -287,7 +287,7 @@ ipvs_defs { conn_pool_cache 256 conn_init_timeout 3 ! expire_quiescent_template - ! fast_xmit_close + ! fast_xmit_close ! redirect off } @@ -344,6 +344,6 @@ ipvs_defs { ! sa_pool config sa_pool { - pool_hash_size 16 - flow_enable on + pool_hash_size 16 + flow_enable on } diff --git a/conf/dpvs.conf.single-bond.sample b/conf/dpvs.conf.single-bond.sample index b0c1c375a..d53416b40 100644 --- a/conf/dpvs.conf.single-bond.sample +++ b/conf/dpvs.conf.single-bond.sample @@ -14,8 +14,8 @@ global_defs { log_level WARNING ! log_file /var/log/dpvs.log - ! log_async_mode on - ! kni on + ! log_async_mode on + ! kni on lldp on } @@ -228,7 +228,7 @@ ipvs_defs { conn_pool_cache 256 conn_init_timeout 3 ! expire_quiescent_template - ! fast_xmit_close + ! fast_xmit_close ! redirect off } @@ -285,6 +285,6 @@ ipvs_defs { ! sa_pool config sa_pool { - pool_hash_size 16 - flow_enable on + pool_hash_size 16 + flow_enable on } diff --git a/conf/dpvs.conf.single-nic.sample b/conf/dpvs.conf.single-nic.sample index bb9ce994e..085a4efca 100644 --- a/conf/dpvs.conf.single-nic.sample +++ b/conf/dpvs.conf.single-nic.sample @@ -14,8 +14,8 @@ global_defs { log_level WARNING ! log_file /var/log/dpvs.log - ! log_async_mode on - ! kni on + ! log_async_mode on + ! kni on lldp on } @@ -202,7 +202,7 @@ ipvs_defs { conn_pool_cache 256 conn_init_timeout 3 ! expire_quiescent_template - ! fast_xmit_close + ! fast_xmit_close ! redirect off } @@ -259,6 +259,6 @@ ipvs_defs { ! sa_pool config sa_pool { - pool_hash_size 16 - flow_enable on + pool_hash_size 16 + flow_enable on }