On 05/04/2020 13.30, suse@a-domani.nl wrote:
On 2020-04-03 16:18, Carlos E. R. wrote:
El 2020-04-03 a las 14:24 +0100, Richmond escribió:
Excuse me for going on about swapping. I am using the same thread so anyone who has killed it won't be bothered.
I was running firefox and had plenty of tabs open, but reasoned that if these are swapped out (that is to say the memory used by them is swapped out) then it won't matter. But the system ground to a halt. What puzzles me is how long this goes on for. I am not sure how long it would take to swap the whole 1.5 G of RAM out but it seems to be stuck for much longer than that.
Because "swap fragmentation" causes excesive disk head movements. You need to put swap on an SSD device instead of rotating rust.
This is exactly how I destroyed my very first flash-disk...
Hardware has improved much.
Swap is like the safety lan on the highway, it should be there, but never (or hardly, only in case of emergencies) been used.
Define emergency :-) If you can not add more RAM for whatever reason (machine too old so modules hard to find, no money, motherboard is already maxed, etc) then the only alternative is swap. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)