mmap on Linux

Mark Santcroos mark at NLnetLabs.nl
Fri Jun 29 17:22:26 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
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:
> http://developers.sun.com/solaris/articles/subprocess/subprocess.html#overcom
> 
> 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

- --
Mark Santcroos
NLnet Labs
http://www.nlnetlabs.nl/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGhSOyvgq6Qtvn644RAnWMAKCVRN+hWVDaiqytzz/5G/EJtAo2HgCeOckC
Z6rRjVUB1XUhUQr7NNls0zo=
=m2pN
-----END PGP SIGNATURE-----


More information about the nsd-users mailing list