dawarich icon indicating copy to clipboard operation
dawarich copied to clipboard

Constant low CPU load (~5 %)

Open noplan724 opened this issue 1 year ago • 4 comments

OS & Hardware: Proxmox LXC container, Debian 12 (but also same in an Ubuntu 24 LTS LXC), Linux 6.8.12-6-pve Allocated: 2 Cores (Intel Core i3-6100T), 2 GB RAM, 16 GB SSD for Dawarich

Describe the issue: Dawarich produces a low but constant CPU load of about 5%. This is not related to the amount of data (it happens with both a fresh install and with 230,000 data points) and occurs on both my server and a friend's server. This prevents the CPU from entering lower power states, leading to an extra power consumption of around 10W (in my case, with a low-power CPU).

The similarity between both servers is that they run as Docker containers within a Proxmox LXC (I'm not sure if this might be an issue).

Since none of my other 9 LXCs produce CPU load in idle, I suspect that something might be constantly measuring or checking for status changes?

Image

noplan724 avatar Feb 09 '25 12:02 noplan724

I think it duplicates https://github.com/Freika/dawarich/issues/541 and there is a workaround that might cover your needs

Freika avatar Feb 10 '25 19:02 Freika

Thank you for your reply and sorry for my late reply. I tried what is written in the other thread, but it does not affect the CPU load in my case.

Image

noplan724 avatar Feb 22 '25 20:02 noplan724

I have the same issue, but the workaround from #541 reduced the load and the spikes to 50% from container dawarich_sidekiq are gone and now max 2-4%. Yet there is still a constant load averaging around 3%.

Looking at container stats all containers produce spikes up to 5%. Spikes from container dawarich_app seem to be higher sometimes reaching 15-40%

Image

fs090 avatar Mar 23 '25 21:03 fs090

Same here, could this also be related to the network traffic and disk IO that is happening every ~5m?

Image

burgerga avatar May 12 '25 21:05 burgerga