[Dnsmasq-discuss] Dnsmasq with Gigantic hosts file
kaffeemonster at googlemail.com
Sun Jan 22 11:28:15 GMT 2012
2012/1/22 Preston Crow <pc-dnsmasq at crowcastle.net>:
> I built with that patch (updating to compile with 2.59),
> and it made no difference. I've attached it. Perhaps it's something simple.
It can't work, since the slow check, the one you commented out in your
second patch, is an open coded search over the hash chains, it does
not go by any function which would use the tree.
But looking at it again: this needs generally more work.
There has to be some tuning done where to hook in the cache code. And
the cache code is complicated...
> I also found that if I define CONFIG_NO_REVERSE_TREE, then it doesn't work
> at all, but I didn't play with that much.
With CONFIG_NO_REVERSE_TREE this should be a NOP, the code should be
in "pristine" form then....
I have to look
Remember to eat a healthy breakfast, for tonight we dine in hell!
More information about the Dnsmasq-discuss