Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2020 15:52:56 +0000
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: some questions about disk partitioning and filesystems and booting
Message-ID:  <20200213155256.GD14144@bastion.zyxst.net>
In-Reply-To: <CAEJNuHxrVPfU_TB35AEXaq0QdM=p-v0rnuZWtmAgQdm_KRMNTw@mail.gmail.com>
References:  <20200213150229.GC14144@bastion.zyxst.net> <CAEJNuHxrVPfU_TB35AEXaq0QdM=p-v0rnuZWtmAgQdm_KRMNTw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Thu, Feb 13, 2020 at 03:18:51PM +0000, Ottavio Caruso via freebsd-questions wrote:
>On Thu, 13 Feb 2020 at 15:02, tech-lists <tech-lists@zyxst.net> wrote:
>> The bsdinstaller defaults to 4GB swap. Isn't this insufficient on a 32GB
>> system?
>
>With 32GB RAM you might not even need swap at all, ever. I,
>personally, wouldn't even bother, but that depends on the load.

The load can get rather high:
1. poudriere for a desktop, so lots of ports
2. poudriere will eat swap with a bulk run with the larger ports. I've watched
it run out of swap then the OS killed the running processes
3. the OS is on the ssd and data (including poudriere) run on zfs.

>> Doesn't swap need to be 2x RAM on a fast disk?
>
>No, this is really an old assumption.

OK, but doesn't it need to be at least the size of RAM if for example a panic
happens? I thought the contents of RAM were written to swap.

-- 
J.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl5FcOkACgkQs8o7QhFz
NAVWYxAAjTv3+fIy40/eq4DLa2zvFjcAQNcrfHF8y3pnTJWubZJ19jaX5hgOm7wi
tsqFqnQRP6rNxqBoVazSrw6piRkR3zzZnaRzugQbQcx54FglaSnBx8Jl2XYiGg4F
Dnmpkv+wadxOrpqTQFP46VOQwrwolJK4G88S7PSCC44Q3scxBLKlx9QGJRU9tNLd
frjjwEn6mNrtGvJLl3WEPTau01EgAdnKKZtmisLHmzQAenYp5qIW16jm0k/Wt6gF
CriM6eUEwcw1O6WJqINw2yXSbQ87DauoMbtwV4kGGPE0IuOYzrfM4mBZR734mVxL
kbfGsZGnu+Kr/68+MejBO+SHqAsD+L1YDROWj9udzoR9lMBvW2aGdtoEu9mLU1QB
cGfnWGKS6MlnZu9bNKv1i3K3+FeushNVtOm8R0AkatXKaQZd6RCfgMF3sXVcke3u
irGXdNkuu6poX970pQ/mcRRelOSulUvsnb+dRe+SRnevXffEp1YEbUlFCOnrAVLl
7NYP+Y36GBFlwroktjqxSq71PYB+d26cIZyOP8hAXGBEtsDgt48ZxatOHiY/wlMe
SjijY+7TImP0WeHiz3CAo8ALNJ1FmbiVj9av9e2J+4KJwTKreDqeYNF74oT6q37L
W3S3/KOMhZ5iHdGSxcwQ+ilYmYBK8pcWeme26nEIi99P8/A5W7E=
=VI/R
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200213155256.GD14144>