Skip to content
Contents
GuidesOpenWrt

Does adblock-lean slow down a gigabit connection? Separate DNS, list updates and forwarding

A page that takes time to start loading and a file that transfers slowly after the connection is open call for different tests. adblock-lean downloads and processes lists for dnsmasq. Established IP traffic does not need a domain lookup for every packet, but list updates and forwarding share CPU and memory.

A page that takes time to start loading and a file that transfers slowly after the connection is open call for different tests. adblock-lean downloads and processes lists for dnsmasq. Established IP traffic does not need a domain lookup for every packet, but list updates and forwarding share CPU and memory.

Pause one test list and compare a name with a numeric address

The recording uses an isolated OpenWrt 25.12.6 x86/64 router, adblock-lean v0.8.1 and 128 synthetic names. Its private upstream returns 1.1.1.1 for ad17.gm51.test. The test only reads that answer. Separately, the test client reaches a private HTTP echo server by numeric address through an existing tunnel. Run the commands in the lab router's SSH session. Replace the namespace pc51 and the service address with your own lab equivalents. Pausing affects all clients using this instance. Use an isolated instance or a maintenance window and resume filtering afterwards.

adblock-lean v0.8.1 · 128

grep -E '^raw_block_lists|^local_blocklist_path' /etc/adblock-lean/config
wc -l /etc/adblock-lean/blocklist
service adblock-lean pause
dig @127.0.0.1 ad17.gm51.test A +noall +comments +answer
ip netns exec pc51 curl -fsS --noproxy '*' --max-time 3 http://198.19.51.51:18051/
service adblock-lean resume
dig @127.0.0.1 ad17.gm51.test A +noall +comments +answer
ip netns exec pc51 curl -fsS --noproxy '*' --max-time 3 http://198.19.51.51:18051/

While paused the DNS lookup returned the test address. After resume it returned NXDOMAIN. The allowed name ok.gm51.test still resolved in both tests. The HTTP echo returned 192.0.2.51 both times. This confirms reachability. Gigabit throughput was not measured.

Compare before, during and after list updates

With the list loaded and no update running, compare a fresh lookup with a cached one. Transfer the same file to a wired server in another subnet and record received bytes and elapsed time. Slow DNS with normal numeric-IP transfers points to the resolver, cache or upstream. If both are slow, check endpoints, negotiation and route. Repeat through one normal update and sample memory, CPU and the update log before and during the job. A single reading afterwards misses the lowest headroom.

grep -E 'MemAvailable|SwapFree' /proc/meminfo
top -bn1
logread -e adblock-lean

Back up the configuration. Remove one redundant source or change one update time, then repeat the same test. Keep minimum list-size checks appropriate for your usual input: 128 is a lab count. A lower threshold can accept truncated downloads. If internal names fail, restore the known-good list and settings, test one allowed and one blocked name and open the actual service. Rescheduling an update changes the disruption window; it does not establish higher forwarding capacity. Can't save the adblock-fast update schedule in LuCI? Check the cron entry · Measure 2.5 GbE throughput with an iperf3 endpoint on each side

Reference

Reference

Check the model, region and hardware revision on the label before selecting firmware.

Explore hardware

Comments