From f59dc50eaee4cf3bc1a16dc6603fa4573ee8f936 Mon Sep 17 00:00:00 2001 From: judyjoseph <53951155+judyjoseph@users.noreply.github.com> Date: Fri, 17 Nov 2023 14:50:59 -0800 Subject: [PATCH] [brcm]: Update Brcm SAI for DNX platforms (#17108) 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. --- platform/broadcom/sai.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/broadcom/sai.mk b/platform/broadcom/sai.mk index 883dd18cf4c5..0e906a93c57f 100644 --- a/platform/broadcom/sai.mk +++ b/platform/broadcom/sai.mk @@ -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)"