incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Coli <rc...@palominodb.com>
Subject Re: JNA + Cassandra security
Date Tue, 01 May 2012 15:56:29 GMT
On Mon, Apr 30, 2012 at 6:48 PM, Jonathan Ellis <jbellis@gmail.com> wrote:
> On Mon, Apr 30, 2012 at 7:49 PM, Cord MacLeod <cordmacleod@gmail.com> wrote:
>> Hello group,
>>
>> I'm a new Cassandra and Java user so I'm still trying to get my head around a few
things.  If you've disabled swap on a machine what is the reason to use JNA?
>
> Faster snapshots, giving hints to the page cache with fadvise.

If you are running in Linux, you really do want this enabled.
Otherwise, for example, compaction blows out your page cache.

(FWIW, in case it is not immediately apparent what sort of hints
Cassandra might give to the page cache with fadvise..)

https://issues.apache.org/jira/browse/CASSANDRA-1470

=Rob

-- 
=Robert Coli
AIM&GTALK - rcoli@palominodb.com
YAHOO - rcoli.palominob
SKYPE - rcoli_palominodb

Mime
View raw message