Re: Linux HugePages and mmap

2011-03-15 Thread Oleg Anastasyev
mcasandra mohitanchlia at gmail.com writes: Thanks! I think it still is a good idea to enable HiugePages and use UseLargePageSize option in JVM. What do you think? I experimented with it. It was about 10% performance improvement. But this was on 100% row cache hit. On smaller cache hit

Linux HugePages and mmap

2011-03-14 Thread mcasandra
a very good experience using HugePages with Oracle. -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Linux-HugePages-and-mmap-tp6170193p6170193.html Sent from the cassandra-u...@incubator.apache.org mailing list archive at Nabble.com.

Re: Linux HugePages and mmap

2011-03-14 Thread Jonathan Ellis
On Mon, Mar 14, 2011 at 1:59 PM, mcasandra mohitanch...@gmail.com wrote: Currently, in cassandra.yaml disk_access_mode is set to auto but the recommendation seems to be to use 'mmap_index_only'. Wrong. The recommendation is to leave it on auto. If we use HugePages then do we still need to

Re: Linux HugePages and mmap

2011-03-14 Thread mcasandra
with disk access mode. Can you explain little more? Isn't mmap pinning the process memory in RAM similar to HugePages? -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Linux-HugePages-and-mmap-tp6170193p6170423.html Sent from the cassandra-u

Re: Linux HugePages and mmap

2011-03-14 Thread Jonathan Ellis
On Mon, Mar 14, 2011 at 3:01 PM, mcasandra mohitanch...@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

Re: Linux HugePages and mmap

2011-03-14 Thread mcasandra
Thanks! I think it still is a good idea to enable HiugePages and use UseLargePageSize option in JVM. What do you think? -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Linux-HugePages-and-mmap-tp6170193p6171008.html Sent from the cassandra-u