-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DellEMC S6100 Enabling Polling Mode for Miim Operation #3133
Conversation
where to define the polling interval? |
Hi Gouhan, "miim_intr_enable", are the only two variables that are user configurable. miim_timeout_usec is the config variable that is of our interest. In Master branch , By default it is set to 1 sec. drivshell>config show miim_timeout_usec drivshell>mtim So i did not add this in the code change. |
also what is the average cpu overhead once switch to polling mode? |
what is the average cpu overhead once switch to polling mode? |
Hi Gouhan, Please find the average load measured
SYNCD PROCESS UTILIZATIONAVERAGE
Attached the text document for detailed Utilisation captures |
…lly (#19026) #### Why I did it src/sonic-swss ``` * a280e367 - (HEAD -> master, origin/master, origin/HEAD) [COPP]Fix coppmgr when there are multiple features using same trap (#3144) (10 hours ago) [Sudharsan Dhamal Gopalarathnam] * 1ff61602 - revert requests from 2.32.0 to 2.31.0 (#3154) (11 hours ago) [Liu Shilong] * 9e80dc82 - Update setHostTxReady() to receive Port instead of portId (#3133) (35 hours ago) [noaOrMlnx] ``` #### How I did it #### How to verify it #### Description for the changelog
…lly (#19202) #### Why I did it src/sonic-swss ``` * 9e2df9a9 - (HEAD -> 202311, origin/202311) Do not apply QoS mapping item on the switch until the object is created (#3163) (10 hours ago) [Stephen Sun] * c52f0840 - Update setHostTxReady() to receive Port instead of portId (#3133) (#3157) (10 hours ago) [noaOrMlnx] ``` #### How I did it #### How to verify it #### Description for the changelog
- What I did
Enabled Polling to verify Miim Operation Completion in S6100
BCM is running in User Mode in Sonic Image. Verifying the Miim Operation completion via interrupt will exhibit performance degradation during high CPU utilization times. We might take more time in handling interrupts. This might lead BCM to declare MIIM timeout.
Moving to MIIM Poller approach will help in mitigating these conditions.
- How I did it
miim_intr_enable = 0
- How to verify it
drivshell>config show miim_intr_enable
config show miim_intr_enable
miim_intr_enable=0
- Description for the changelog
[DellEMC] [S6100] Enabling Polling Mode for Miim Operation
- A picture of a cute animal (not mandatory but encouraged)