I am planning on moving my Pi-Hole implementation from a RPi 3 to a Rock64 board shortly. I have two Rock64's, a 4GB and a 2GB. Planning on running Debian Stretch. My current Pi-Hole is also running PiVPN.
Any reason to use the 4GB board for Pi-Hole server? Performance has been OK on the RPi, so I don't think the extra 2GB will make a difference. Just wanted the opinions of folks more learned than I.
2GB should be fine for any smallish network (let's say < 15 clients with moderate activity, but those numbers are very vague). Pi-hole v4.0, which is already in beta testing phase, improves again on the memory requirements.
Today i installed a fresh pihole 5.1 with the latest rasperry-OS with all updates, i wonder that it used even less memory with 1,2 million domains blocked
We've made great progress on RAM usage with Pi-hole v5.0 by holding only a B-tree instead of all the domains themselves in memory. This allows us to query the domain lists with higher performance + allows adding hundreds of millions of domains even on small devices.
The downside of the B-tree is that the gravity (pihole -g) run takes notably longer, however, this is only run once a week so the advantages clearly outweigh this.