Swappiness question

Has anyone noticed an improvement by using this ?

sudo sysctl vm.swappiness=10

No opinion on this ?

I used to play with that by 4GB RAM but rather in the other direction as I used to have problems with this issue:

Some weeks ago I bought 8GB RAM and the swap partition disappeared automatically as I only started the system.

I didn't noticed any big changes when I switched the swappiness between 10 and 90 % as I had 4GB. I changed to 80-90% and still had full RAM from Firefox though in a system monitor I could see that definitely more swap was used. I recommend You to observe Your memory usage in a system monitor. If Your system do not use swap (or hardly use it) by swappiness=60 or 80% than switching to 10 or 5% will not make any huge difference. Everything depends on Your hardware and programs that You use. 4-5 hrs Youtube videos on Firefox eats my memory as hell but as my laptop as pretty old I do not expect an old processor to beat the speed records even with 8GB ram. However for a virtual machine 8GB ram and an old processor works great and that is where the swappiness can make a change.

Thanks for the detailed explanation.

I’ll keep my swappiness at the default.