mmap vs alloc

Jakob Schlyter jakob at rfc.se
Wed Sep 24 14:46:52 UTC 2003


On Mon, 22 Sep 2003, Michael Richardson wrote:

>   But, a *Linux* system in default overcommit mode might kill NSD off
> randomly. (or other processes) Solaris does different things.
>
>   If the data can, and should be shared (read-only), then the *correct* thing
> is to mmap() things appropriately. That is the right thing to do, even on a
> system that supports overcommit.

I'd like to second this - do not rely on overcommit.

is performance worse with mmap?


	jakob



More information about the nsd-users mailing list