-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/01/2020 11.57, jdd@dodin.org wrote: | Le 12/01/2020 à 11:47, Carlos E. R. a écrit : | |> Now, 5 gigs of ram + 5 gigs of swap approximates 10 gigs of |> memory. That imprecise saying is good enough for me :-) | | in my present understanding, more ram is much better than more | swap. Obviously, yes :-) For everybody, if we can obtain and install it. For example, my motherboard is maxed at 8 GiB, I can not install more. | I situation is so that ram is nearly full, swap is of little use if | there is only one application using most of the ram (it can't be | swapped) It can be partially swapped. The kernel doesn't normally swap applications fully, just portions of it. | | when one reaches 512Gb ram and have only 1 Tb ssd for swap I wonder | if we are not at the extreme possibility of the system? | | if 1Tb of swap is *really* useful, go for 1Tb more ram. Well, it depends :-) For example, if the situation happens only once a month, it makes sense to go for swap. There is money involved, capability of the motherboard, etc. It may happen that the running processes have ram areas that they use once and then not again till seconds later. Or minutes, hours or even days. In that situation, swapping those areas has limited impact. It depends on the workload. Also, if the swap is on nvme disk, the impact is much reduced, by orders of magnitude. You can choose not to pay for that ram increase and accept some impact in speed. | | look like in case of lack of ram situation swap is only a solution | if several memory chunks are not really used (for example unseen | tabs in firefox), Yes. | and if crash can happen it will happen also soon or later with | swap No, the crash should not happen. It will happen if there is neither RAM nor Swap. If there is swap, it will happen if the kernel can not juggle with the ram and swap to make some ram available for the processing, and gets stuck. It will kill "something". - -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXhsMvwAKCRC1MxgcbY1H 1ePBAKCHiJSPnvqgAl+A/JwMafiCWd37BwCcCnHu4fnaUxv3YJ5QcX4giv0qFvc= =slK2 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org