[rbldnsd] memory usage 32bit vs 64bit
Per Jessen
per at computer.org
Tue Dec 4 19:41:14 MSK 2007
Michael Tokarev wrote:
> (**) In theory I can optimize memory usage here, by using an
> indirect reference to A+TXT template - building a table (an
> array of pointers) to A+TXT things and using an index into
> this table in struct entry. This will not slow down things
> and will only require 8 bytes per entry even on 64bit arches.
> It saves nothing on 32bits, and when I wrote rbldnsd 64bits
> arches were not this common as nowadays. Also, such an indirect
> scheme is necessary for on-disk format I'm still planning to
> implement for rbldnsd-1.0. So I think one day 64bit memory
> usage will shrink back to one needed for 32bit, and it should
> be soon... ;)
Thanks for explanation, Michael. I don't have real issue with the
memory usage, I was just curious.
> By the way, 400mb is quite a few -- looks like you
> loaded alot of data... ;)
Yeah. I have some 300.000 image "signatures" plus a few mirrored lists
from e.g. surbl, uribl, rfc-ignorant, uceprotect etc.
/Per Jessen, Zürich
More information about the rbldnsd
mailing list