Skip to content

Commit

Permalink
[brcm]: Update Brcm SAI for DNX platforms (#17108)
Browse files Browse the repository at this point in the history
Update the Brcm SAI 7.0 with following fixes

Offical Brcm SDK fix for memory leak
(CS00012315073 [7.0][J2C+] : PFCWD counter polling causing continuous mem leak on production device)

Official Brcm fix for CPU high
(CS00012317195 High CPU due to SDK calling soc_dnxc_port_resource_get for few stats counters even with bcmCNTR thread)

Offical Brcm SAI fix for getting voq counters working.
CSP CS00012319503: DNX SAI 7.1.60.4 has broken Voq counters support

How to verify it
Validated by running the nightly pipeline on a chassis platform.

Validated that the voq counters, by sensind traffic from T1 VM --> T3 VM 

                              Port    Voq    Counter/pkts    Counter/bytes    Drop/pkts    Drop/bytes
----------------------------------  -----  --------------  ---------------  -----------  ------------
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ0               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ1              27             1968            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ2               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ3               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ4               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ5               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ6               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet48   VOQ7               0                0            0             0
 
                              Port    Voq    Counter/pkts    Counter/bytes    Drop/pkts    Drop/bytes
----------------------------------  -----  --------------  ---------------  -----------  ------------
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ0               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ1            7099           625680            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ2               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ3               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ4               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ5               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ6               0                0            0             0
svcstr-xxxx-lc1-1|asic0|Ethernet56   VOQ7               0                0            0             0

---------------

The CPU usage has come down in SUP

System 'xxxx-sup-1'
  status                       Running
  monitoring status            Monitored
  monitoring mode              active
  on reboot                    start
  load average                 [7.94] [8.70] [7.54]
  cpu                          2.6%us 45.0%sy 0.0%wa     <<<<-- it is 45%
  memory usage                 8.9 GB [28.6%]
  swap usage                   0 B [0.0%]
  uptime                       21m
  boot time                    Fri, 17 Nov 2023 21:55:55
  data collected               Fri, 17 Nov 2023 22:16:59

-------------

syncd memory usage no increasing.
  • Loading branch information
judyjoseph authored Nov 17, 2023
1 parent 2765e80 commit f59dc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/broadcom/sai.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
LIBSAIBCM_XGS_VERSION = 7.1.62.4
LIBSAIBCM_DNX_VERSION = 7.1.60.4-1
LIBSAIBCM_DNX_VERSION = 7.1.66.4
LIBSAIBCM_BRANCH_NAME = REL_7.0_202205
LIBSAIBCM_XGS_URL_PREFIX = "https://sonicstorage.blob.core.windows.net/public/sai/bcmsai/$(LIBSAIBCM_BRANCH_NAME)/$(LIBSAIBCM_XGS_VERSION)"
LIBSAIBCM_DNX_URL_PREFIX = "https://sonicstorage.blob.core.windows.net/public/sai/bcmsai/$(LIBSAIBCM_BRANCH_NAME)/$(LIBSAIBCM_DNX_VERSION)"
Expand Down

0 comments on commit f59dc50

Please sign in to comment.