Skip to content
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

internal [202311][IM] Remove the PMON and XCVRD delay on system boot #41

Closed
wants to merge 1 commit into from

Conversation

vadymhlushko-mlnx
Copy link
Owner

@vadymhlushko-mlnx vadymhlushko-mlnx commented Feb 29, 2024

Why I did it

To support the fastboot feature alongside independent module mgmt feature.
Because if the independent module feature is enabled we need the XCVRD to start as soon as possible to identify if the port is SW or FW controlled and bring the port to the UP state.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Remove the delays for the PMON docker and XCVRD daemon on the SONiC image start.

How to verify it

Run the sonic-mgmt/tests/platform_tests/test_advanced_reboot.py - test_fast_reboot

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@@ -1,7 +1,7 @@
{
"skip_ledd": true,
"skip_fancontrol": true,
"delay_xcvrd": true,
"delay_xcvrd": false,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need to specify this flag explicitly as 'false' or we can just remove it?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about removing this, because for some systems which are not going to participate in the fastboot it could be useful, but on the other hand leaving the delay_xcvrd: true going to increase an interface link up time up to 3 min

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants