On 15 December 2017 at 18:24, Carlos E. R. <robin.listas@telefonica.net> wrote:
My guideline: with 8 GiB of RAM, make it 10..20 GiB of swap: possibly 16, which is double the RAM :-p.
If you don't intend to ever hibernate, 6 should suffice. Many people could go along with nothing - you see, it does depend on what is your actual workload.
2 GiB is too little: I'm using 3.3 this instant.
Yesterday I was using "shotwell", a photo program. It alone had more than 2 GB in swap, and my total was 6, IIRC.
Disk space is cheap, nowdays, so make it big. I just looked at mine: 25 GiB in SSD. I made it real big because SSD likes emtpy space to play with, although I don't know if I did it right for sure.
Carlos This is bad advice As I already provided in my earlier posts on this thread The more swap space you allocate, the more the kernel will try to use it Of course if you have a swap space larger than 6GB, you will be using more than 2GB The 2.4 and later swap algorithms will always try to use a good chunk of the available swap space But this can lower your overall system performance generally This WILL lower your overall system performance in the case of a memory leak This WILL cause delays of HOURS during a legitimate OOM condition, because your system will take HOURS paging to disk before killing applications during the OOM killer You are giving _bad_advice_ to suggest people use 25GB SWAP space in all but the most extreme conditions (eg. large, on disk, not in-memory, databases, of a size 1TB or larger, with something like 64GB of tables in memory at one time, for example) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org