Hi,
I've run some DNS query benchmark from my PC, and I was surprised to see that adblock significantly slow DNS queries. Hence the questions I have:
- At these levels (see test below), will it make any difference if I try to optimize adblock or dnsmasq?
- Do you face the same thing? Could I have incorrectly setup adblock using too many lists? Should I use something faster than dnsmasq?
Thank you for your suggestions!
Technical background:
- My router is a Xiaomi mi 3G (MediaTek MT7621 dual core 880MHz), running 18.06.4 with dnsmasq and adblock. I also added a few custom entries in dnsmasq for my local network. Its Cpu and ram usage are fairly low.
- Probably useless info, my network is gigabit ethernet, connected to ISP with fiber network via a local modem/router (the 'ISP box').
- I use default adblock lists + FR easylist + winspy, so activaled lists are adaway, disconnect, malware, reg_fr, winspy, yoyo, accounting for 35131 entries.
Benchmark results:
dnsmasq alone | Min | Avg | Max |Std.Dev|Reliab%|
Cached Name | 0,000 | 0,000 | 0,001 | 0,000 | 100,0 |
Uncached Name | 0,008 | 0,041 | 0,253 | 0,065 | 100,0 |
DotCom Lookup | 0,014 | 0,017 | 0,019 | 0,001 | 100,0 |
dnsmasq+adblock | Min | Avg | Max |Std.Dev|Reliab%|
Cached Name | 0,000 | 0,000 | 0,001 | 0,000 | 100,0 |
Uncached Name | 0,055 | 0,083 | 0,313 | 0,057 | 100,0 |
DotCom Lookup | 0,062 | 0,065 | 0,068 | 0,001 | 100,0 |
ISP (direct) | Min | Avg | Max |Std.Dev|Reliab%|
Cached Name | 0,000 | 0,000 | 0,001 | 0,000 | 100,0 |
Uncached Name | 0,006 | 0,036 | 0,256 | 0,062 | 100,0 |
DotCom Lookup | 0,013 | 0,015 | 0,017 | 0,001 | 100,0 |