incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Linux HugePages and mmap
Date Mon, 14 Mar 2011 22:25:41 GMT
On Mon, Mar 14, 2011 at 3:01 PM, mcasandra <mohitanchlia@gmail.com> wrote:
>
> Jonathan Ellis-3 wrote:
>>
>> Wrong.  The recommendation is to leave it on auto.
>>
> this is where I see mmap recommended for index.
> http://wiki.apache.org/cassandra/StorageConfiguration

FTFY.

>> HugePages has nothing to do with disk access mode.
>>
> Can you explain little more? Isn't mmap pinning the process memory in RAM
> similar to HugePages?

mmap is about mapping address space to data files.

HugePages affects how the kernel tracks address space via TLB.  It
does NOT affect what is actually mapped there.

http://wiki.apache.org/cassandra/FAQ#mmap
http://lwn.net/Articles/374424/

-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com

Mime
View raw message