[GTALUG] optimum swap size
Gary
technologynut at rogers.com
Wed Feb 27 11:49:35 EST 2019
Excellent! thank you so much.
/gary
On 19-02-27 10:22 AM, Mauro Souza via talk wrote:
> 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.
> I don't even create a swap partition anymore, I create a small swap
> file
> (https://linuxize.com/post/how-to-add-swap-space-on-ubuntu-18-04/).
> This way, I can increase/decrease its size without having to mess with
> partitioning.
>
>
>
> Mauro
> http://mauro.limeiratem.com - registered Linux User: 294521
> Scripture is both history, and a love letter from God.
>
>
> Em qua, 27 de fev de 2019 às 12:12, Jason Shaw via talk
> <talk at gtalug.org <mailto:talk at gtalug.org>> escreveu:
>
> On Wed, Feb 27, 2019 at 7:02 AM Gary via talk <talk at gtalug.org
> <mailto:talk at 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 List
> talk at gtalug.org <mailto:talk at gtalug.org>
> https://gtalug.org/mailman/listinfo/talk
>
>
>
> ---
> Talk Mailing List
> talk at gtalug.org
> https://gtalug.org/mailman/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/talk/attachments/20190227/d361d8ec/attachment.html>
More information about the talk
mailing list