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

Delay pmon non-critical daemon #18907

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

yuazhe
Copy link
Contributor

@yuazhe yuazhe commented May 8, 2024

Why I did it

After this pull request #19190 , the pmon has been added to the start list in fast/warm reboot scenarios. However, certain non-critical daemons of pmon could be delayed, resulting in a saving of approximately 1 second in the reboot process. For performance considerations, especially as the current time usage of fast reboot is closer to 30 seconds limitation, this change could ease the pressure.

Work item tracking
  • Microsoft ADO (number only):

How I did it

add a script as fast/warm reboot monitor and relative supervisord rlues.
once the script exited means the reboot process has ended, other delayed daemon would then initialize.

How to verify it

check the fast/warm reboot time usage

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)

  • 202311

Description for the changelog

Link to config_db schema for YANG module changes

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

Signed-off-by: Yuanzhe, Liu <yualiu@nvidia.com>
@yuazhe yuazhe requested a review from lguohan as a code owner May 8, 2024 06:29
@yuazhe
Copy link
Contributor Author

yuazhe commented May 9, 2024

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yuazhe
Copy link
Contributor Author

yuazhe commented May 13, 2024

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yuazhe
Copy link
Contributor Author

yuazhe commented May 15, 2024

/AzurePipelines run Azure.sonic-buildimage

Copy link

Commenter does not have sufficient privileges for PR 18907 in repo sonic-net/sonic-buildimage

@yuazhe
Copy link
Contributor Author

yuazhe commented May 15, 2024

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yuazhe
Copy link
Contributor Author

yuazhe commented May 16, 2024

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yuazhe yuazhe marked this pull request as draft May 31, 2024 09:35
@yuazhe yuazhe marked this pull request as ready for review June 7, 2024 07:55
@keboliu
Copy link
Collaborator

keboliu commented Jun 19, 2024

Hi @prgeor would you please review?

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

Successfully merging this pull request may close these issues.

4 participants