What is the difference between "bootstrap.mlockall: true" and vm.swappiness=1.
Basically mlockall involves more works to do such as
- Setting memlock as unlimited in /etc/security/limits.conf
- jna issues
Rather vm.swappiness=1 or vm.swappiness=0 seems single straight forward solution. Assuming vm.swappiness only stop anonymous pages being swapped and OS swaps file backed pages if needed. (If not please correct me !)