Re: 2GB RAM, how much swap needed?
Swap-space has at least two uses. First, obviously, is to hold contents of RAM when copied from idle parts of running processes. Second, and not obvious at all, swap-partition ( partition not swap file) space gets used during suspend-to-ram and suspend-to-disk. Your swap partition must be large enough to hold 100% of system ram and some additional space for administrative details.
I've fought this issue for some time and do not find a formal formula:
Code:
swap-partition-size = ram-size + Q
where 'Q' is some amount for overhead either as a constant or as a function of ram size.
~~~ 0;-Dan
"All government spending, regardless of the motives, uses YOUR money."
Bookmarks