Define the ratio of your RAM usage
To force or diminish the use of your RAM as memory, you can adjust your swappiness
as following:
sysctl -w vm.swappiness=<ratio>
More your ratio is low, more data will be in the RAM. More it is High, more data will be in the swap.
Written by Sébastien Quioc
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#