And now where the list of DietPi supported devices has grown significantly, i would like to know what is the cheapest SBC to buy which has DietPi and PiHole support and has an Ethernet Port.
The Community of that SBC is irrelevant to me as the SBC’s sole purpose will be to block ads using PiHole. No other application will be installed on it and it won’t be used for anything else!
Another thing that needs to be taken into consideration is that it will run 24/7 so it should be “durable”.
I’d personally avoid the RPi Zero, due to latency with USB. Will delay website load times (dns resolves).
The NanoPi Neo is a good budget choice, but ideally, if your on a 1gbit network, you should aim for a device that has 1Gbit ethernet for maximum throughput and reduced latency.
Problem with 1Gbit is it brings price upto Odroid C1/OPi plus level.
Aside from the DNS request and lookup, how much data goes through pi-hole? (I appreciate that better is better and there are probably other reasons why a faster ethernet socket provides benefits but just got me wondering).
As far as i’am aware, it receives and sends DNS requests. So actual size of data should be really small, probably sent as a char with 1 byte for each character, minus any additional vars for confirmation and overheads from network packet.
eg (really cut back version lol):
At a guess, each dns request = 16bytes for address, maybe a few int’s for confirmation (lets say 2x int = 4bytes). 20 bytes, not including network packet.
PiHole (dnsmasq) also caches DNS requests as they are recieved, so it can actually reduce DNS request times and improve overall browsing speed for connected clients.
The main issue is adding latency to this. A RPi (due to USB <> Ethernet bus) or a USB network dongle will increase latency by 8ms (125hz polling rate), possibly in both receive and send. So, minus any CPU process, +16ms additional delay for each dns request. Depending on the USB dongle used, latency can actually be much worse than +16ms.
My Nano Pi Neo turned up today, it’s about the cutest thing this side of kitten land. :ugeek:
I got it with the (required) heatsink and the dinky little case for it, a very straightforward install - just loaded the image, plugged it all in, fixed its IP from the router and stuck Pi Hole on it away we go. The only tweak I did was to fix the ethernet setting in dietpi.txt to 100 as that’s the rate of the socket, not sure if it makes any difference but hey
I’m not noticing any slowdown from the regular router only setup so big thumbs up from me!
Yep, their cute alright lol . Just wish it had a 1GBit eth, then it would be more awesome
Yep, no need to set that value, its only to force a specific “down speed”. Mainly used for some Pine A64 boards that have a hardware failure under 1GBit.