[Dnsmasq-discuss] Huge hosts file and CPU usage
Mike Leong
leongmzlist at gmail.com
Tue Apr 26 23:43:34 BST 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20160426/77e70496/attachment.html>
More information about the Dnsmasq-discuss
mailing list