09-11-2019, 05:46 PM
(09-09-2019, 07:17 AM)rick1959 Wrote: Could the emphasis on a small swap file be to keep the program full in RAM for faster operation?
You can adjust how much the Linux kernel likes to swap stuff by changing vm.swappiness. If set to a lower value, it is more likely to keep everything in RAM if it can, irrespective of the amount of swap available. Whether this results in a speed improvement depends somewhat on whether everything fits in the available RAM (if it doesn't, execution may be e.g. held up swapping out stuff that might have been swapped out earlier with a higher swappiness).