On Thu, Jul 15, 2010 at 5:46 PM, Clint Byrum <cl...@ubuntu.com> wrote: > One other approach that works on Linux is to use HugeTLB. This post details > the process for doing so with a jvm: > > http://andrigoss.blogspot.com/2008/02/jvm-performance-tuning.html > > Basically when mmapping using HUGETLB you don't have to be root, but your > memory ends up being effectively locked, so that would prevent the swapping, > and might have the added bonus of slightly faster memory allocation/access.
Very interesting! That could be the simplest approach for us. -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of Riptano, the source for professional Cassandra support http://riptano.com