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

This is to address an issue where it was observed that SAI operations sometime make 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.
This commit is contained in:
gechiang 2021-11-08 11:50:44 -08:00 committed by GitHub
parent 8ada006302
commit baa00e6969
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 l2_mem_entries=32768
l3_mem_entries=16384 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -24,6 +24,9 @@ ipv6_lpm_128b_enable=1
l2_mem_entries=32768 l2_mem_entries=32768
l3_mem_entries=16384 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -4,6 +4,9 @@ ipv6_lpm_128b_enable=1
l2_mem_entries=32768 l2_mem_entries=32768
l3_mem_entries=16384 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -18,6 +18,9 @@ ipv6_lpm_128b_enable=1
l2_mem_entries=32768 l2_mem_entries=32768
l3_mem_entries=16384 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 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/ 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 sai_adjust_acl_drop_in_rx_drop=1
sai_verify_incoming_chksum=0 sai_verify_incoming_chksum=0
host_as_route_disable=1 host_as_route_disable=1

View File

@ -1,4 +1,5 @@
sai_load_hw_config=/etc/bcm/flex/bcm56870_a0_issu/b870.6.4.1/ 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 sai_adjust_acl_drop_in_rx_drop=1
sai_verify_incoming_chksum=0 sai_verify_incoming_chksum=0
host_as_route_disable=1 host_as_route_disable=1

View File

@ -1,5 +1,8 @@
# Arista 7060CX-32S # 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,5 +1,8 @@
# Arista 7060CX-32S # 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,5 +1,8 @@
# Arista 7060CX-32S # 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,5 +1,8 @@
# Arista 7060CX-32S # 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,5 +1,8 @@
# Arista 7060CX-32S # 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,5 +1,8 @@
# Arista 7060CX-32S # 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,5 +1,7 @@
# Disable Counting ACL Drop towards interface RX_DRP counter # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 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 arl_clean_timeout_usec=15000000
asf_mem_profile.0=2 asf_mem_profile.0=2
bcm_num_cos.0=8 bcm_num_cos.0=8

View File

@ -1,5 +1,7 @@
# Disable Counting ACL Drop towards interface RX_DRP counter # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 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 arl_clean_timeout_usec=15000000
asf_mem_profile.0=2 asf_mem_profile.0=2
bcm_num_cos.0=8 bcm_num_cos.0=8

View File

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

View File

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

View File

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

View File

@ -1,6 +1,9 @@
# Disable Counting ACL Drop towards interface RX_DRP counter # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 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_1=1:100
portmap_2=5:100 portmap_2=5:100
portmap_3=9: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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -17,6 +17,9 @@ l3_alpm_enable=2
ipv6_lpm_128b_enable=1 ipv6_lpm_128b_enable=1
mmu_lossless=0 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -17,6 +17,9 @@ l3_alpm_enable=2
ipv6_lpm_128b_enable=1 ipv6_lpm_128b_enable=1
mmu_lossless=0 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -19,6 +19,9 @@ ipv6_lpm_128b_enable=1
#Use MMU lossy configuration #Use MMU lossy configuration
mmu_lossless=0 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -10,6 +10,9 @@ ipv6_lpm_128b_enable=1
l2_mem_entries=32768 l2_mem_entries=32768
l3_mem_entries=16384 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -10,6 +10,9 @@ ipv6_lpm_128b_enable=1
l2_mem_entries=32768 l2_mem_entries=32768
l3_mem_entries=16384 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -10,6 +10,9 @@ ipv6_lpm_128b_enable=1
l2_mem_entries=32768 l2_mem_entries=32768
l3_mem_entries=16384 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -10,6 +10,9 @@ ipv6_lpm_128b_enable=1
l2_mem_entries=32768 l2_mem_entries=32768
l3_mem_entries=16384 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,4 +1,8 @@
#TH S6100 64x40 #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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -1,4 +1,8 @@
#TH S6100 64x40 #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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -4,6 +4,9 @@ dpr_clock_frequency=1000
device_clock_frequency=1325 device_clock_frequency=1325
port_flex_enable=1 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -4,6 +4,9 @@ dpr_clock_frequency=1000
device_clock_frequency=1325 device_clock_frequency=1325
port_flex_enable=1 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -4,6 +4,9 @@ dpr_clock_frequency=1000
device_clock_frequency=1325 device_clock_frequency=1325
port_flex_enable=1 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 # Disable Counting ACL Drop towards interface RX_DRP counter
sai_adjust_acl_drop_in_rx_drop=1 sai_adjust_acl_drop_in_rx_drop=1

View File

@ -238,3 +238,4 @@ buf.map.egress_pool1.ingress_pool
buf.map.egress_pool2.ingress_pool buf.map.egress_pool2.ingress_pool
sai_adjust_acl_drop_in_rx_drop sai_adjust_acl_drop_in_rx_drop
sai_verify_incoming_chksum sai_verify_incoming_chksum
l3_alpm_hit_skip