[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: LMDB mmap usage
- To: Howard Chu <hyc@symas.com>
- Subject: Re: LMDB mmap usage
- From: Kristoffer Sjögren <stoffe@gmail.com>
- Date: Fri, 5 Feb 2016 22:46:09 +0100
- Cc: openldap-technical@openldap.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=6GIc4UWHPL49VnLiFBDOvkqlAVsLoNmKWoUITi4vC1I=; b=MX/Ql9F5JhI2BHm7JhaR+iO+r577hqXqGd8b+9ly01YIUxJ0eybDoqxC6qf7F35kEh RLSdsugxwLh7T8NfYd3Ko3/FMXEMYh96JPLXgXhhialcXvmvFsdpe7hhLo98LkPj+h3e HxLJTP+Qg1qNMcXSw85LFi8ixvRum5rB8qsCDJUQ6Su0hrR+h6a9yPtTIgTn7vf6OL5J kNbM8TegFhJ9T0uhumnRAFbbMxxzaGavMJBaf/hR+iOVBazQuD/3lnJ/rZx7uPVVqt9E SCxxneTEtMM9Tnqip0Jz8IbHiX71J1msmSciqlpmuoOBuXe3b8mQlCL0cTFceKvXmU+E M6nA==
- In-reply-to: <56B5152C.2090105@symas.com>
- References: <CADSBNAgx3cujsogaqV6CDTfiT1BCjZOMTpzOO2jCASh34XCp-A@mail.gmail.com> <56B5152C.2090105@symas.com>
Thanks Howard. What's the best documentation on mmap you know, aside
from read kernel source code?
On Fri, Feb 5, 2016 at 10:33 PM, Howard Chu <hyc@symas.com> wrote:
> Kristoffer Sjögren wrote:
>>
>> Hi
>>
>> Our application do lots of caching using vmtouch, up to a point where
>> there isn't a lot of memory left on the machine. We would like to use
>> LMDB on the same machine to store around 40GiB data of a few hundred
>> million entries.
>>
>> How can we best understand the interaction and behavior of the OS
>> cache and sharing of memory between processes? Is LMDB doing something
>> to help the OS?
>
>
> Nope, LMDB does nothing special with its mmap.
>
> --
> -- Howard Chu
> CTO, Symas Corp. http://www.symas.com
> Director, Highland Sun http://highlandsun.com/hyc/
> Chief Architect, OpenLDAP http://www.openldap.org/project/