mmap on Linux

Mark Santcroos mark at
Fri Jun 29 15:22:26 UTC 2007

Hash: SHA1

Mark Santcroos wrote:
> Anand Buddhdev wrote:
>> This question is mainly directed to the developers. I am building an RPM
>> package of NSD 2.3.7 for use on CentOS 4.5. I notice that one of the
>> options available during the configure phase is "--enable-mmap". The
>> release notes briefly mention it as being useful on Solaris, but don't
>> talk about any other OS. Since it is not enabled by default, I'd like to
>> ask whether there is any benefit to be had on enabling it on CentOS.
> It has to do with memory overcommit. A usefull reference is:
> To answer your question, you don't need it on Linux.

Some further info:

This feature is not present in NSD v3.
To make you even sleep better tonight, it is also not part of the entire
history of NSD v2 :-)
The last version that had this was NSD v1.

So what you have stumbled upon is leftover configure magic that should
have been removed ages ago (and will be gone in the next release).


- --
Mark Santcroos
NLnet Labs
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla -


More information about the nsd-users mailing list