<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-family: Verdana,Geneva,sans-serif'>
<p>Hello all,</p>
<p>This is my first time mailing to this mailing list. &nbsp;I just have a question I haven't really found any solid answer for with Google.</p>
<p>What is the best practice for managing swap within VM images? &nbsp;Regardless of distro, should I be including a swap partition inside the main VM image? &nbsp;I've been giving my VMs around 768M-2G of memory (on a test vmhost). &nbsp;With a base install (pretty much any distro) between 4-6G, all my partitions add up to only about 1.2G. &nbsp;Is this overhead from a swap partition? &nbsp;And if so, does it shrink down considerably with image compression? I just want to find the most efficient management. &nbsp;I usually set the kernel to use the least swap it can, and I find that used swap (from free -m) is 0. &nbsp;These are all testing images, and as such do not see very high load. &nbsp;If they get pushed to production (which is a possibility depending on testing), should I leave the swap partition intact within the vm images?</p>
<p>Thanks in advance for any replies!<br />R. G.</p>
</body></html>