cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Schuller <peter.schul...@infidyne.com>
Subject Re: JNA to avoid swap but physical memory increase
Date Fri, 15 Jul 2011 16:04:04 GMT
> Also our experience shows that the jna call does not prevent swapping so the
> general advice is disable swap.

That sounds extremely non-likely as it would imply the kernel fails to
honor a successful mlockall(), unless other processes on the same
machine are being swapped out. Did the process really have permission
to do the mlockall()?

(Not that I disagree in any way that swap should be disabled, +1 on that.)

-- 
/ Peter Schuller (@scode on twitter)

Mime
View raw message