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 !)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.