<div dir="ltr"><div dir="ltr"><div>Unless you use suspend to disk, swap is not really needed. I don't believe you would load so many programs it would use all your 20GB of RAM. I have 8GB RAM and 2GB swap, no issues so far.<br></div><div>I don't even create a swap partition anymore, I create a small swap file (<a href="https://linuxize.com/post/how-to-add-swap-space-on-ubuntu-18-04/">https://linuxize.com/post/how-to-add-swap-space-on-ubuntu-18-04/</a>). This way, I can increase/decrease its size without having to mess with partitioning.</div><div><br></div><div><br></div><div><br></div><div><div><div dir="ltr" class="gmail_signature">Mauro<br><a href="http://mauro.limeiratem.com" target="_blank">http://mauro.limeiratem.com</a> - registered Linux User: 294521<br>Scripture is both history, and a love letter from God.</div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em qua, 27 de fev de 2019 às 12:12, Jason Shaw via talk <<a href="mailto:talk@gtalug.org">talk@gtalug.org</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr" class="gmail_attr">On Wed, Feb 27, 2019 at 7:02 AM Gary via talk <<a href="mailto:talk@gtalug.org" target="_blank">talk@gtalug.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I have kubuntu 18.04 with 20 gigs ram. Does anyone know what the optimum <br>
size swap area that I should have? Currently, my swap partition is 2 <br>
gigs. Can I increase that by creating a swap file in addition to the <br>
swap partition?<br>
<br>
/gary<br>
<br></blockquote><div>Is swap size still as relevant as it was a decade ago? On a host with 20G RAM, I'd imagine the likelihood of hitting swap being much lower.  Having a couple of G available just in case seems like a good idea, but I'm unsure if the old (Total RAM * 2)=swap equation still rings true.  <br><br></div><div>*does some quick internet sleuthing* <br></div><div><br></div><div>According to this article: <a href="https://www.cyberciti.biz/tips/linux-swap-space.html" target="_blank">https://www.cyberciti.biz/tips/linux-swap-space.html</a> RedHat basically says that for CentOS server 7, a minimum of 4G is recommended.  The caveat to this is that if your system needs to hibernate/suspend-to-disk, in which case you'll want 1.5-2x RAM as swap in order to write in-use memory to disk.</div><div><br></div><div>-jason<br></div><div><br><br></div></div></div></div>
---<br>
Talk Mailing List<br>
<a href="mailto:talk@gtalug.org" target="_blank">talk@gtalug.org</a><br>
<a href="https://gtalug.org/mailman/listinfo/talk" rel="noreferrer" target="_blank">https://gtalug.org/mailman/listinfo/talk</a><br>
</blockquote></div>