
I've done both as a hack yes. W. On Wed, Feb 27, 2019, 11:51 AM Gary via talk, <talk@gtalug.org> wrote:
So another 2 gigs of swap wouldn't hurt. Can I use a swap file IN ADDITION TO a swap partition? /gary
On 19-02-27 10:12 AM, Jason Shaw via talk wrote:
On Wed, Feb 27, 2019 at 7:02 AM Gary via talk <talk@gtalug.org> wrote:
I have kubuntu 18.04 with 20 gigs ram. Does anyone know what the optimum size swap area that I should have? Currently, my swap partition is 2 gigs. Can I increase that by creating a swap file in addition to the swap partition?
/gary
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.
*does some quick internet sleuthing*
According to this article: https://www.cyberciti.biz/tips/linux-swap-space.html 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.
-jason
--- Talk Mailing Listtalk@gtalug.orghttps://gtalug.org/mailman/listinfo/talk
--- Talk Mailing List talk@gtalug.org https://gtalug.org/mailman/listinfo/talk