compiletimeflags, revisited:
so anyway im recommending these compiletime flags:
-DUSE_LOCMAPS only if one wants to use ipdb lookups. if you dont need
ipdblookups you still gain speed with this patch since it contains a
lot of things not only ipdblookup stuff. in original tinydns ip is
searched for every request (4 db lookups) either you want it or not.
-DUSE_TOUCH_RELOADS only if you want to force reloading data.cdb into
memory by touching it
-DUSE_SFHASH - use this. its faster and you get less hashtable
collisions and more elements with shorter distances
-DHAVE_MMAP_READAHEAD - better dont use this. read the mmap(2) page
see if it is of any help to you. to be honest i just saw it there and
included it in mmap() call if one will need it