DigitalShoestringSolutions / PowerMonitoring

GNU General Public License v3.0
0 stars 1 forks source link

Slow running on Pi 4B 2GB #17

Closed tobyaharris closed 1 week ago

tobyaharris commented 1 month ago

Another test build in the lab (basic single phase grove)

Everything is running very slowly. It takes several minutes to create a query in Influx's data explorer (Loading tag values.. etc). Resubmitting the query takes 10-20s to fetch the data from the last 5 minutes. The Grafana dashboard took about 10 minutes to display the first data and only manages to update once every few minutes (autorefresh set to 5s). I have to wait >10s for what I type to appear in the terminal.

This is the only solution installed on the pi. The SD card is 32GB ,15GB is free. I have run a docker system prune. I'm using the Live Individual Simple dashboard, not even going near the Trend graphs.

This repo is considerably computationally heavier than PowerMonitoringBasic. I would consider the 2GB RAM Pi4 unsupported. Is there anything we can do to lightweight this solution? It's creeping out of the remit of Minimal and Low Cost Hardware.

Greg-Hawkridge commented 1 week ago

Yes

tobyaharris commented 1 week ago

^ that is to say, we officially consider the 2gb to be unsupported hardware for use of this code and we should recommend the 4/8gb as standard.