Stellt sich raus: #CachyOS stellt eine #Swappiness von 150 ein, um tatsächlich rasch auszulagern, aber unter der Prämisse, dass es *nicht* auf ne Swap-Partition setzt, sondern #zram, was ein komprimierter Bereich im RAM ist. Für mich ist das nicht gangbar, weil ich regelmäßig mein RAM überlaufen lasse, ich brauche also ein herkömmliches Swap – und das liegt auf ner SSD. Damit die Swappiness zurück auf Wert 6.
»Roughly speaking, it is a hint to the kernel as to the cost of bringing an anonymous page back into memory, as compared to the cost bringing back a file-backed page. 100 says that the costs are equal. The default value, 60, says that anonymous pages are slightly more costly than file-backed pages. In other words, by default the kernel should have a mild preference toward evicting pages it could reload from the filesystem rather than pages that would need to go into #swap
#Swappiness
Swap Linux : c'est quoi, utilité et quelle taille de partition swap - malekal.com https://www.malekal.com/swap-linux-cest-quoi-utilite-quelle-taille-partition-swap/ #malekal.com #swappiness #linux #swap
Augmenter/Réduire l'utilisation du swap sous Linux (swappiness) - malekal.com https://www.malekal.com/augmenter-reduire-utilisation-swap-linux-swappiness/ #malekal.com #swappiness #linux #swap
We have a little book swap #library in the Science Building at #MaynoothUniversity brought in 5 for 1 JM Coetzee 😎👍 #swappiness

Your Linux machine maybe swapping to disk at only 60% RAM usage, this is how to fix it easily

https://gadgeteer.co.za/wp-content/uploads/2022/09/gears_devops_learn_troubleshooti-400x224.jpg Swappiness is the kernel parameter that defines how much (and how often) your Linux kernel will copy RAM contents to swap. This parameter’s default value is “60” and it can take anything from “0” to […]

https://gadgeteer.co.za/your-linux-machine-maybe-swapping-to-disk-at-only-60-ram-usage-this-is-how-to-fix-it-easily/

https://gadgeteer.co.za/your-linux-machine-maybe-swapping-to-disk-at-only-60-ram-usage-this-is-how-to-fix-it-easily/

Swappiness is the kernel parameter that defines how much (and how often) your Linux kernel will copy RAM contents to swap. This parameter's default value is “60” and it can take anything from “0” to “100”. The higher the value of the swappiness parameter, the more aggressively your kernel will swap.

Linux usually has a default swappiness set at 60, which means when the RAM utilisation reaches 40% capacity, it starts swapping to disc (which is a slower operation). Today, with most PC's having 16 GB or 32 GB or more RAM, there is no need to be so conservative with this setting.

Many recommend changing this setting to 10 which means it will utilise 90% of the RAM before starting to swap to disk.

See How I troubleshoot swappiness and startup time on Linux

#technology #Linux #swappiness #performance #memory



I recently experienced another interesting problem in the Linux startup sequence that has a circumvention–not a solution. It started quite unexpectedly.
How I troubleshoot swappiness and startup time on Linux

I recently experienced another interesting problem in the Linux startup sequence that has a circumvention–not a solution. It started quite unexpectedly.

Swappines, Optimizar uso de memoria SWAP

Como optimizar o equilibrar el uso de memoria Swap en tu sistema linux. Puedes equilibrar el uso para usar mas Swap y dejar antes mas RAM libre, o también puedes priorizar la RAM y que solo utilice swap en el ultimo momento cuando agotes la RAM al completo.

Hacer swappiness es modificar el valor con el que se usa la SWAP.

https://youtu.be/e8ET51Rd2ik

#laguialinux #lgl #memoria #ram #swap #swappiness
Swappines, Optimizar uso de memoria SWAP

YouTube