Mike Leong
2016-04-26 22:43:34 UTC
Hi,
I have a blacklist of 1.5 million entries loaded into dnsmasq via "address"
definitions. eg:
address="/bad-site.com/192.168.5.1"
The 1.5 million entries are a list of porn/warze sites collected from
various blacklists.
According to top, dnsmasq uses about 200MB of RAM w/ that list loaded.
I'm noticing high CPU usage w/ that blacklist. (spikes to about 80% on an
i7)
dnsmasq version: 2.62-3+deb7u3 (from debian wheezy)
Are there any tuning (compiler options, code changes) what would reduce the
CPU usage?
I also tried using addn-hosts format but CPU usage was the same.
thx
mike
I have a blacklist of 1.5 million entries loaded into dnsmasq via "address"
definitions. eg:
address="/bad-site.com/192.168.5.1"
The 1.5 million entries are a list of porn/warze sites collected from
various blacklists.
According to top, dnsmasq uses about 200MB of RAM w/ that list loaded.
I'm noticing high CPU usage w/ that blacklist. (spikes to about 80% on an
i7)
dnsmasq version: 2.62-3+deb7u3 (from debian wheezy)
Are there any tuning (compiler options, code changes) what would reduce the
CPU usage?
I also tried using addn-hosts format but CPU usage was the same.
thx
mike