Is there a guide with, or a discussion about, a recommendation of swap partition size for a guest O/S?
It somehow seems wrong to allocate virtual disk for the possibility of swapping for a virtual machine. Wouldn't giving more RAM to the guest in the first place be more effective? I would think that a swapping guest will be using more host resources than just giving it more ram and not allocating any disk.
For example, I'm setting up a CentOS VM and giving it 256 MB ram and I expect my applications to actually need less than that. The general rule for swap size is 2x RAM, or a 512MB partition. Would it be better to just give the guest 768MB RAM, and 0 MB disk, and let VMWare manage the virtual ram? I'm thinking about this under a scenario where the host that has several gigabytes of RAM available.
Thanks for your links and thoughts.