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

CPU Speed a little loads the CPU and raises temperature of the CPU #71388

Closed
Enzokot opened this issue May 6, 2022 · 11 comments
Closed

CPU Speed a little loads the CPU and raises temperature of the CPU #71388

Enzokot opened this issue May 6, 2022 · 11 comments

Comments

@Enzokot
Copy link

Enzokot commented May 6, 2022

The problem

The integration CPU Speed a little loads the CPU and raises temperature of the CPU
2022-05-06_09-21-19
I restarted the instance 2 times and delete the integration, after that the temperature of the CPU normalized.
I added the debug log for the integration, but nothing logged.

What version of Home Assistant Core has the issue?

core-2022.4.7

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

CPU Speed

Link to integration documentation on our website

https://www.home-assistant.io/integrations/cpuspeed/

Diagnostics information

config_entry-cpuspeed-9110886256fcc7b758944fe70a2a9e26.json.txt

Example YAML snippet

logger:
  default: error
  logs:
    homeassistant.components.cpuspeed: debug

Anything in the logs that might be useful for us?

The debug log is empty

Additional information

No response

@probot-home-assistant
Copy link

cpuspeed documentation
cpuspeed source
(message by IssueLinks)

@probot-home-assistant
Copy link

Hey there @fabaff, @frenck, mind taking a look at this issue as it has been labeled with an integration (cpuspeed) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)

@fabaff
Copy link
Member

fabaff commented May 6, 2022

More load usually means higher temperatures. There are temperature peaks (approx. 63 °C) at 03.00 every day according the provided graphs. Your measures show also that the monitored CPU run between 43 °C and and 52 °C.

I highly doubt that the cpuspeed integration is the cause of the increased temperature as this integration runs with Home Assistant's default interval and this would produce higher temperatures over the whole day.

@Enzokot
Copy link
Author

Enzokot commented May 6, 2022

Why then i don't see this behavior once cpuspeed integration disabled? Same configs, same hardware. Only one difference - cpuspeed removed.

@frenck
Copy link
Member

frenck commented May 16, 2022

The CPU Speed integration reads a single, local, file descriptor every 30 seconds. It is hard to accept such an action can cause any of the reported issues in this issue.

Have you tried keeping the integration active, but disabling the updates? (for the sake of science).

@Enzokot
Copy link
Author

Enzokot commented May 17, 2022

Can't reproduce the problem. I suggest waiting 1-2 days.
Sorry, but I really want to hear the opinion of the developers: what is better for HomeAssistant performance (in terms HomeAssistant restart or ESPHome compilation) - add more cores or CPU with higher frequency

@Enzokot
Copy link
Author

Enzokot commented May 19, 2022

Only disable the integration, nothing else. Will try to check the temperature with host command.
image

@Enzokot
Copy link
Author

Enzokot commented May 21, 2022

Only disable the sensor, nothing else
image

@Enzokot
Copy link
Author

Enzokot commented May 21, 2022

Same with host
image

@fabaff
Copy link
Member

fabaff commented Jun 3, 2022

I guess the root cause here is that cpuspeed only works properly with Home Assistant Core (which is mentioned in the documentation). Actually, I'm a bit surprised that the sensor is able to work in a container .

@Enzokot
Copy link
Author

Enzokot commented Jun 19, 2022

Thanks

@Enzokot Enzokot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 19, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jul 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants