This command should significantly reduce any graph related problem:
sudo sed -iE -e 's/rrdtool/sleep 3.4; rrdtool/g' /home/pi/adsb-receiver/build/portal/graphs/make-collectd-graphs.sh
It will change the graph generation script so it pauses for 3 seconds before drawing each of the graphs.
That way the CPU usage is nicely split up over time and should be no issue.
Also you can make sure the graphs are not written to disk but rather kept in ram.
This can be done with these commands
sudo echo "tmpfs /var/www/html/graphs tmpfs rw,nodev,nosuid 0 0" >> /etc/fstab sudo mount /var/www/html/graphs
I’m curious though, did you install the database / flight history with the adsb receiver project?
In that case it may be easier to try the higher sample rate with a fresh piaware sd-card
That way you know if it is possible or not.
If you aren’t afraid of losing warranty on your Raspberry Pi you can also try to disable the variable cpu frequency, to do this add the following to
arm_freq=1000 #reduced by wiedehopf, the site actually uses 1200 force_turbo=1 #Voids Warranty! boot_delay=1 #helps to avoid sdcard corruption when force_turbo is enabled.
(see this page for details: https://haydenjames.io/raspberry-pi-3-overclock/)