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

redfishpower: adapt status polling interval #167

Merged
merged 1 commit into from
Apr 8, 2024

Commits on Apr 8, 2024

  1. redfishpower: adapt status polling interval

    Problem: The status polling interval is hard coded to 1 second long.
    This can result in an excessive number of polling messages being sent
    when it is known that some hardware takes 20-60 seconds to complete
    a power operation.
    
    As an example, on an HPE Cray Supercomputing EX chassis, the power on
    of a node takes around 50 seconds, while a power off takes around 6 seconds.
    
    Solution: Support a modified "exponential backoff" of the status polling
    interval.  The modified algorithm is based on observations of how long it
    typically takes to complete power operations on hardware.  The status
    polling interval begins at one second, but it gets capped at 4 seconds.
    chu11 committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    2d295d9 View commit details
    Browse the repository at this point in the history