> 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)

Reply via email to