On Mon, Apr 30, 2012 at 6:48 PM, Jonathan Ellis <jbel...@gmail.com> wrote:
> On Mon, Apr 30, 2012 at 7:49 PM, Cord MacLeod <cordmacl...@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 - rc...@palominodb.com
YAHOO - rcoli.palominob
SKYPE - rcoli_palominodb

Reply via email to