[202106]Disable ALPM distributed hitbit thread that is used for debug purpose only but interfered with Other functional operations (#9293)

This is to address an issue where it was observed that SAI operations sometime may take a very long to time complete (over 45ms). It was determined that the ALPM distributed thread was causing this issue.
The fix is to disable this debug thread that has no functional purpose.

Preliminary tests looks fine. BGP neighbors were all up with proper routes programmed
interfaces are all up
Manually ran the fib test cases on 7050CX3 (TD3), TD2, TH, TH2, and TH3 based platforms and
thy all passed.
Note: the testing was done over 20201230 image and are porting this change to master branch.
No need to port this to 20201230 branch as a separate PR was already done for that branch. (#9190)

this PR is created to port the changes made by (#9199) but could not be cherry picked directly to 202106 branch.
This commit is contained in:
gechiang 2021-11-17 20:58:25 -08:00 committed by GitHub
parent 84226bdc57
commit e0209f745a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
33 changed files with 87 additions and 0 deletions

View File

@ -24,6 +24,9 @@ ipv6_lpm_128b_enable=1
l2_mem_entries=32768
l3_mem_entries=16384
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -24,6 +24,9 @@ ipv6_lpm_128b_enable=1
l2_mem_entries=32768
l3_mem_entries=16384
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -4,6 +4,9 @@ ipv6_lpm_128b_enable=1
l2_mem_entries=32768
l3_mem_entries=16384
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -18,6 +18,9 @@ ipv6_lpm_128b_enable=1
l2_mem_entries=32768
l3_mem_entries=16384
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,4 +1,5 @@
sai_load_hw_config=/etc/bcm/flex/bcm56870_a0_issu/b870.6.4.1/
l3_alpm_hit_skip=1
sai_adjust_acl_drop_in_rx_drop=1
host_as_route_disable=1
use_all_splithorizon_groups=1

View File

@ -1,4 +1,5 @@
sai_load_hw_config=/etc/bcm/flex/bcm56870_a0_issu/b870.6.4.1/
l3_alpm_hit_skip=1
sai_adjust_acl_drop_in_rx_drop=1
host_as_route_disable=1
use_all_splithorizon_groups=1

View File

@ -1,5 +1,8 @@
# Arista 7060CX-32S
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,5 +1,8 @@
# Arista 7060CX-32S
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,5 +1,8 @@
# Arista 7060CX-32S
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,5 +1,8 @@
# Arista 7060CX-32S
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,5 +1,8 @@
# Arista 7060CX-32S
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,5 +1,8 @@
# Arista 7060CX-32S
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,5 +1,7 @@
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
arl_clean_timeout_usec=15000000
asf_mem_profile.0=2
bcm_num_cos.0=8

View File

@ -1,5 +1,7 @@
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
arl_clean_timeout_usec=15000000
asf_mem_profile.0=2
bcm_num_cos.0=8

View File

@ -19,6 +19,7 @@
{%- endif %}
{# The following is the common soc properties that used to be named "th2-a7260cx3-64-64x100G-t1.config.bcm" #}
l3_alpm_hit_skip=1
sai_adjust_acl_drop_in_rx_drop=1
PHY_AN_ALLOW_PLL_CHANGE=1
arl_clean_timeout_usec=15000000

View File

@ -9,6 +9,7 @@
{%- endif %}
{%- endif %}
{# The following is the common soc properties that used to be named "th2-a7260cx3-64-112x50G+8x100G.config.bcm" #}
l3_alpm_hit_skip=1
sai_adjust_acl_drop_in_rx_drop=1
PHY_AN_ALLOW_PLL_CHANGE=1
arl_clean_timeout_usec=15000000

View File

@ -18,6 +18,7 @@
{%- endif %}
{%- endif %}
{# The following is the common soc properties that used to be named "th2-a7260cx3-64-64x40G.config.bcm" #}
l3_alpm_hit_skip=1
sai_adjust_acl_drop_in_rx_drop=1
PHY_AN_ALLOW_PLL_CHANGE=1
arl_clean_timeout_usec=15000000

View File

@ -1,6 +1,9 @@
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
portmap_1=1:100
portmap_2=5:100
portmap_3=9:100

View File

@ -1,3 +1,6 @@
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -17,6 +17,9 @@ l3_alpm_enable=2
ipv6_lpm_128b_enable=1
mmu_lossless=0
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -17,6 +17,9 @@ l3_alpm_enable=2
ipv6_lpm_128b_enable=1
mmu_lossless=0
# Disable bcmALPMDH (ALPM distributed hitbit) thread that is used for debug only
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,6 +1,9 @@
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
os=unix
l2xmsg_mode=1
parity_enable=0

View File

@ -19,6 +19,9 @@ ipv6_lpm_128b_enable=1
#Use MMU lossy configuration
mmu_lossless=0
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -13,6 +13,9 @@ l3_mem_entries=16384
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# From old config file
os=unix
higig2_hdr_mode=1

View File

@ -13,6 +13,9 @@ l3_mem_entries=16384
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# From old config file
os=unix
higig2_hdr_mode=1

View File

@ -10,6 +10,9 @@ ipv6_lpm_128b_enable=1
l2_mem_entries=32768
l3_mem_entries=16384
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -10,6 +10,9 @@ ipv6_lpm_128b_enable=1
l2_mem_entries=32768
l3_mem_entries=16384
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,4 +1,8 @@
#TH S6100 64x40
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,4 +1,8 @@
#TH S6100 64x40
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -4,6 +4,9 @@ dpr_clock_frequency=1000
device_clock_frequency=1325
port_flex_enable=1
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -4,6 +4,9 @@ dpr_clock_frequency=1000
device_clock_frequency=1325
port_flex_enable=1
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -4,6 +4,9 @@ dpr_clock_frequency=1000
device_clock_frequency=1325
port_flex_enable=1
# disables bcmALPMDH (ALPM distributed hitbit) thread. This thread is purely for debug purpose
l3_alpm_hit_skip=1
# Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1

View File

@ -257,3 +257,4 @@ appl_param_module_id
serdes_lane_config_cl72_auto_polarity_en
serdes_lane_config_cl72_restart_timeout_en
bist_enable
l3_alpm_hit_skip