sonic-net / sonic-swss

SONiC Switch State Service (SwSS)
https://azure.github.io/SONiC
Other
170 stars 503 forks source link

[action] [PR:3036] [Mellanox] PFC watchdog long term solution to reduce false alarm (#3036) #3213

Closed mssonicbld closed 1 month ago

mssonicbld commented 1 month ago

What I did

Adjust PFC watchdog detection algorithm to reduce false alarms.

In the old PFC watchdog detection algorithm, the PFC watchdog can be triggered if either of the following conditions is satisfied in a detection interval:

There are packets accumulated in the queue && there is no packet sent out of the queue && there are PFC frames received in the queue There is no packet accumulated in the queue and there are PFC frames received and blocking more than 80% of the detection interval. The new PFC watchdog detection algorithm merges two conditions into one: The PFC watchdog is triggered only if:

There are packets accumulated in the queue && there is no packet sent out of the queue && there are PFC frames received and blocking more than 99% of the detection interval.

mssonicbld commented 1 month ago

Original PR: https://github.com/sonic-net/sonic-swss/pull/3036

mssonicbld commented 1 month ago

/azp run Azure.sonic-swss

azure-pipelines[bot] commented 1 month ago
Azure Pipelines successfully started running 1 pipeline(s).