fudgeswap acts as follows:
If set to non zero (defualt is 512k):
Check for the amount of SWAP_FREE space avalible
If > 0KB is avalible:
if fudgeswap > swapfree:
other_file += swapfree
else:
other_file += fugeswap
In short: we will add in fugeswap as long as its less then the free swap
Setting this to a very large positive number will indicate swap ought
to be fully used as free (and will slow the system down)
smaller numbers will allow you to put some pressure on SWAP without
slowing the system down as much.
small negitive numbers will allow the system to be faster at the same
minfree level.
default is 512 to give a very little bit of pressure to use some swap
but this can be modified at runtime via:
/sys/module/lowmemorykiller/parameters/fugeswap
originally by ezterry
Please enter the commit message for your changes. Lines starting