Difference between revisions of "Swap/fr"

Created page with "{{ic|vfs_cache_pressure}} est un pourcentage qui contrôle la tendence du noyau à ''récupérer'' la mémoire utilisé pour la mise en cache des objets inode ou répertoire...."
(Created page with "Pour ''la plupart'' des ordinateurs, la valeur recommandé est de 10. Théoriquement, le processus de swap ne commencera que quand l'utilisation de la mémoire vive atteint le...")
(Created page with "{{ic|vfs_cache_pressure}} est un pourcentage qui contrôle la tendence du noyau à ''récupérer'' la mémoire utilisé pour la mise en cache des objets inode ou répertoire....")
Line 228: Line 228:
Pour ''la plupart'' des ordinateurs, la valeur recommandé est de 10. Théoriquement, le processus de swap ne commencera que quand l'utilisation de la mémoire vive atteint les 90 pourcent.
Pour ''la plupart'' des ordinateurs, la valeur recommandé est de 10. Théoriquement, le processus de swap ne commencera que quand l'utilisation de la mémoire vive atteint les 90 pourcent.


{{ic|vfs_cache_pressure}} is a percentage value that controls the tendency of the kernel to *reclaim* the memory which is used for caching of directory and inode objectsThe default value is 100.  Increasing this value will increase the rate in which these objects are removed from the RAM cache.  Decreasing it will allow these objects to be cached in memory longer, consuming additional RAM over time.  Depending on your specific workload, increasing or decreasing this value too far can have significant negative impacts on system performance.  Experimentation is needed to find the appropriate balance and the default value is reasonable.  In general, it is more common to optimize swappiness before experimenting with vfs_cache_pressure.
{{ic|vfs_cache_pressure}} est un pourcentage qui contrôle la tendence du noyau à ''récupérer'' la mémoire utilisé pour la mise en cache des objets inode ou répertoireLa valeur par défaut est 100.  Increasing this value will increase the rate in which these objects are removed from the RAM cache.  Decreasing it will allow these objects to be cached in memory longer, consuming additional RAM over time.  Depending on your specific workload, increasing or decreasing this value too far can have significant negative impacts on system performance.  Experimentation is needed to find the appropriate balance and the default value is reasonable.  In general, it is more common to optimize swappiness before experimenting with vfs_cache_pressure.


To set these values you can use the command {{ic|sysctl}}.  For example, to set the swappiness value to 10 you could use:
To set these values you can use the command {{ic|sysctl}}.  For example, to set the swappiness value to 10 you could use:
Moderators, translator
286

edits