vm.swappiness ?

Alex Rice alex at mindlube.com
Wed Oct 16 16:33:28 EDT 2013


Thanks for confirming, Matthew! That might be a good check for the
startup script, much like I think it currently complains about ulimit
is not set to the Max.

On Wed, Oct 16, 2013 at 2:31 PM, Matthew Von-Maszewski
<matthewv at basho.com> wrote:
> recommend value for Riak is zero.
>
> On Oct 16, 2013, at 4:28 PM, Alex Rice <alex at mindlube.com> wrote:
>
>> Just an informal poll- what is preferred for Linux vm.swappiness
>> setting for Riak in a *cloud* environment? The default is 60 - a lot
>> of stuff gets swapped out. This is good for OS disk cache.
>>
>> I am thinking vm.swappiness = 0
>>
>> - Avoid slow & potentially costly I/O operations in the virtualized environment
>> - Make it easier to see if bitcask is running low of memory, as soon
>> as the Swap partition has been touched at all (1st out of memory
>> condition)
>> - Disk cache wont be as effective.
>> - I just like seeing Swap: 0% when I log in :0
>>
>> Does this setting even matter at all, practically speaking?
>>
>> _______________________________________________
>> riak-users mailing list
>> riak-users at lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>




More information about the riak-users mailing list