<div dir="auto">I've done both as a hack yes.<div dir="auto"><br></div><div dir="auto">W.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 27, 2019, 11:51 AM Gary via talk, <<a href="mailto:talk@gtalug.org">talk@gtalug.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
So another 2 gigs of swap wouldn't hurt. Can I use a swap file IN
ADDITION TO a swap partition?<br>
/gary<br>
<br>
<div class="m_-2139060938471820353moz-cite-prefix">On 19-02-27 10:12 AM, Jason Shaw via
talk wrote:<br>
</div>
<blockquote type="cite">
<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" rel="noreferrer">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" rel="noreferrer">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>
<fieldset class="m_-2139060938471820353mimeAttachmentHeader"></fieldset>
<br>
<pre>---
Talk Mailing List
<a class="m_-2139060938471820353moz-txt-link-abbreviated" href="mailto:talk@gtalug.org" target="_blank" rel="noreferrer">talk@gtalug.org</a>
<a class="m_-2139060938471820353moz-txt-link-freetext" href="https://gtalug.org/mailman/listinfo/talk" target="_blank" rel="noreferrer">https://gtalug.org/mailman/listinfo/talk</a>
</pre>
</blockquote>
<br>
</div>
---<br>
Talk Mailing List<br>
<a href="mailto:talk@gtalug.org" target="_blank" rel="noreferrer">talk@gtalug.org</a><br>
<a href="https://gtalug.org/mailman/listinfo/talk" rel="noreferrer noreferrer" target="_blank">https://gtalug.org/mailman/listinfo/talk</a><br>
</blockquote></div>