Re: Linux HugePages and mmap

2011-03-15 Thread Oleg Anastasyev
mcasandra 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 ratios the perfor

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

Re: Linux HugePages and mmap

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

Re: Linux HugePages and mmap

2011-03-14 Thread mcasandra
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? -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Linux-HugePages-and-mmap-tp6170193p6170423.html Se

Re: Linux HugePages and mmap

2011-03-14 Thread Jonathan Ellis
On Mon, Mar 14, 2011 at 1:59 PM, mcasandra 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 worry about setting

Linux HugePages and mmap

2011-03-14 Thread mcasandra
option in JVM. I had 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.