Skip to content

[Mellanox] Adjust dynamic minimum fan speed algorithm#4476

Merged
jleveque merged 2 commits intosonic-net:masterfrom
Junchao-Mellanox:dyn-no-dir
Apr 28, 2020
Merged

[Mellanox] Adjust dynamic minimum fan speed algorithm#4476
jleveque merged 2 commits intosonic-net:masterfrom
Junchao-Mellanox:dyn-no-dir

Conversation

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator

- What I did

The previous dynamic minimum fan speed is determined by air flow direction, ambient temperature and sensor state. We get air flow direction by comparing fan ambient and port ambient temperature, which is not so reliable during chamber test. The solution is to ignore the air flow direction in this algorithm.

- How I did it

Adjust code for dynamic minimum algorithm, now it doesn't care about the air flow direction. Also adjust unit test cases.

- How to verify it

Manual test, regression test and emulation test. In emulation test, I emulated ambient temperature change and watch the fan speed change.

- Description for the changelog

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

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator Author

retest vsimage please

@Junchao-Mellanox
Copy link
Copy Markdown
Collaborator Author

retest broadcom please

@abdosi
Copy link
Copy Markdown
Contributor

abdosi commented May 28, 2020

@Junchao-Mellanox Please create PR for 201911. There is merge conflict.
Removing Request for 201911 Label

@rlhui @liat-grozovik

Junchao-Mellanox added a commit to Junchao-Mellanox/sonic-buildimage that referenced this pull request Jun 1, 2020
* remove air flow direction from dynamic minimum algorithm
* adjust minimum table according to thermal data
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