I have two RPI4s setup in a CAN test, one as a transmitter running
canplayer and the other as a receiver running
candump. (I based my work on this project but didn’t run the web service) The goal of my test was to understand the CPU utilization of the receiving PI running the CAN interface with a large amount of data on the bus.
I’m using MCP2515 CAN controllers in my test. The file I’m playing on
canplayer is a 30 minute dump of NMEA 2000.
During my testing I noticed the
candump container CPU utilization didn’t exceed more than ~5% but what struck me as odd was the supervisor container CPU utilization get spiking up to 30% and then sometimes 50%.
I thought may this was related to sending the logs to the VPN so I tried disabling that utilization spikes stopped hitting 50% but still constantly hit 30%.
Both PIs are running balenaOS 2.65.0+rev1 and supervisor 12.2.11.