forked from sonic-net/SONiC
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: liora <liora@nvidia.com>
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# FW Burn Init Issue | ||
# Overview | ||
- We have an issue in init flow when FW burn takes place. | ||
- We can see that SWSS Orchagent tries to configure Syncd while FW burn takes place. | ||
- Since the flow is valid the decision that was taken is to increase timeout for Orchagent calls. | ||
![fw_burn_init_issue](issue_description.svg "Figure 1: BFD in SONiC Architecture") | ||
|
||
# High-Level Design | ||
- We set the timeout for SAI Redis calls in Orchagent init flow. | ||
- Timeout value determined by system type. | ||
- We have 2 system types, with and without Gearbox. | ||
- In systems without Gearbox, FW burn takes ~2 min -> set timeout to 150 seconds | ||
- In systems with Gearbox, FW burn takes ~7 min -> set timeout to 480 seconds | ||
- See below table with time measurements | ||
|
||
|Operation|SPC1|SPC2|SPC3|SPC2 with Gearbox | ||
|--|--|--|--|--| | ||
|MST start|2s|2s|2s|2s | ||
|FW burn|1m55s|1m27s|1m32s|1m35s | ||
|SXD start|3s|12s|42s|5m26s | ||
|Whole process|2m|1m41s|2m16s|7m3s | ||
|
||
# API | ||
- This API allows us to set the timeout for SAI Redis API calls. | ||
- Identifier: SAI_REDIS_SWITCH_ATTR_GET_RESPONSE_TIMEOUT_MS | ||
- Value: determined by system type. |