Under the hood a process needs permissions for kernel capabilities in order to
pin memory.
Under linux a process needs the CAP_IPC_LOCK capability to call mlockall (which
is used by C*), 99% of the time you don't have to worry about this unless you
run SE linux or are messing about with your l
On 08/19/2013 02:49 PM, CROCKETT, LEONARD P wrote:
Must Cassandra 1.2.5 run as root for JNA jar to effectively disable swapping?
It doesn't globally disable swap (which would require root), but "don't
swap this block of memory".
, 2013 12:40 PM
To: dev@cassandra.apache.org
Subject: Re: JNA to activate cassandra row cache
Well- as I said there isn't a reason not to. Licensing issues have even
recently been worked out but I forgot about the sun.misc.unsafe work in 1.1+ so
thanks Jonathan for correcting me.
> On Aug
I thought that "When installed and configured, Linux does not swap out
the JVM" was pretty straightforward.
On Wed, Aug 14, 2013 at 2:36 PM, José Elias Queiroga da Costa Araújo
wrote:
> Hi Michael,
>
> In my investigation about Cassandra cache, there is an implementation
> off-heap provided to Ro
Well- as I said there isn't a reason not to. Licensing issues have even
recently been worked out but I forgot about the sun.misc.unsafe work in 1.1+ so
thanks Jonathan for correcting me.
> On Aug 14, 2013, at 12:36 PM, "José Elias Queiroga da Costa Araújo"
> wrote:
>
> Hi Michael,
>
> In my
Hi Michael,
In my investigation about Cassandra cache, there is an implementation
off-heap provided to RowCache,
but this implementation is based on ByteBuffer mechanish to allocate native
memory using JNI.
However, In Datastax Cassandra documentation they say that:
"Installing JNA can improve Ca
We only use JNA for keeping the heap from being swapped out and faster
snapshotting. Off-heap allocation does not require JNA.
On Wed, Aug 14, 2013 at 2:15 PM, Michael Kjellman
wrote:
> No- not required, but there is zero reason not to. Keep as much off heap as
> possible.
>
>> On Aug 14, 2013,
No- not required, but there is zero reason not to. Keep as much off heap as
possible.
> On Aug 14, 2013, at 12:13 PM, "José Elias Queiroga da Costa Araújo"
> wrote:
>
> Hi all, I have a question.
>
> In order to activate cassandra row cache is necessary to have JNA
> installed?
>
>