[Dnsmasq-discuss] Huge hosts file and CPU usage
Chen Wei
weichen302 at icloud.com
Wed May 4 09:04:25 BST 2016
On Tue, Apr 26, 2016 at 03:43:34PM -0700, Mike Leong wrote:
> I have a blacklist of 1.5 million entries loaded into dnsmasq via "address"
> definitions. eg:
> address="/bad-site.com/192.168.5.1"
https://github.com/infinet/dnsmasq
> 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.
--
Chen Wei
More information about the Dnsmasq-discuss
mailing list