After reading 6 Months with the Pi Desktop talking about setting up zswap when using a Pi4 in a desktop application, and Ubuntu 22 for RaspberryPi coming with zswap by default to make the Ubuntu desktop fit on a Pi4 2GB, I wondered if this should become a standard when setting up a Pi4 with Legacy PiOS (desktop version) for the GoPiGo3, (even though there is no SSD usually)? Yuk, what a run-on sentence…
The article makes the statement the compression+i/o is faster than the i/o time for uncompressed swaps, so it would seem to improve the performance, and decrease the writes to the SDcard.
As to really putting a Pi4 in a GoPiGo3, I have been hesitant for two main reasons:
- Pi4 processing power is only needed on a GoPiGo3 for OpenCV or TensorFlow-Lite vision analysis
(and perhaps for folks that feel they just have to run a desktop environment on their robot…)
- GoPiGo3 to Raspberry Pi board mating does not provide for adequate cooling a Pi4 at high loads
and I have been opposed to putting a Pi4 in most use cases because:
- The idle current is higher than the Pi3B+ which takes 2 hours off the play time.
Now that I actually have a Pi4 to test with, I am first starting with the cooling and mounting issues.
My initial performance vs. heat test on the Pi4 with a PiMoroni heatsink case looks very promising for being able to get the full Pi4 performance in a GoPiGo3 use, but it looks like I will need to add a 40 pin “spacer” and additional hex spacers to the board mating.
That should be about 3 hours of “GoPiGo3 with Vision Decision”