grafana / grafana-kiosk

Kiosk Utility for Grafana
Apache License 2.0
343 stars 57 forks source link

7 to 10 % CPU #116

Open cn-schuh opened 8 months ago

cn-schuh commented 8 months ago

Hello, first of all, grafana-kiosk is really great and runs perfect.

But unfortunately i figured out a minimum CPU utilization of 7-10 %.

ENVIRONMENT: Pi4 - 4 GB: PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" NAME="Debian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=debian

Grafana:
v8.2.1
Grafana-Kiosk configuraed with a Dashboard and a refresh rate of 20 sec.

Grafana Kiosk:
v1.0.6
Tested Executables:
grafana-kiosk.linux.armv7
grafana-kiosk.linux.arm64

PROBLEM: The Grafana-Kiosk runs as systemd. The Dasboard itself will be refreshed all 20 sec. During the 20 sec idle time i figured out a 7-10 % CPU utilization. During the refresh the CPU utilization increase up to 80 % (that's ok).

Running the same Dashboard without Grafana-Kiosk as a bash file (just open a link) the CPU utilization is arround 1 %.

Best Regards Chris

briangann commented 7 months ago

I'll try running it in both modes and see where this difference is coming from. Anything to lower cpu usage here would be very useful