Skip to content

Use a moving average for temperatures - #482

Closed
crawfxrd wants to merge 1 commit into
masterfrom
moving-average
Closed

Use a moving average for temperatures#482
crawfxrd wants to merge 1 commit into
masterfrom
moving-average

Conversation

@crawfxrd

@crawfxrd crawfxrd commented Jul 8, 2024

Copy link
Copy Markdown
Member

Mitigate some fan noise by using a moving average instead of instantaneous points for thermal logic.

When starting a load, CPU will report rapid jumps in temp temperature. These spikes end up getting recorded by the cooldown table, and will cause the fans to run at higher than necessary duties for the actual loads.

Current logic is set to update every 250ms, so use 4 points to average over 1s.

TODO:

  • Evaluate interaction with HEATUP/COOLDOWN, and if that needs to change as well.

Resolves: #480

Base automatically changed from fan2 to master July 17, 2024 22:28
Mitigate some fan noise by using a moving average instead of
instantaneous points for thermal logic.

Current logic is set to update every 250ms, so use 4 points to average
over 1s.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
@crawfxrd

crawfxrd commented Sep 4, 2024

Copy link
Copy Markdown
Member Author

Included in #500.

@crawfxrd crawfxrd closed this Sep 4, 2024
@crawfxrd
crawfxrd deleted the moving-average branch September 4, 2024 18:53
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.

Use a moving average for temperatures

1 participant