sysctl
Hoy me he encontrado con una nueva aplicacion. Del man:
sysctl is used to modify kernel parameters at runtime. The parameters
available are those listed under /proc/sys/. Procfs is required for
sysctl(8) support in Linux. You can use sysctl(8) to both read and
write sysctl data.
El fichero de configuracion es sysctl.conf.
sysctrl -a -> lista todas las variables que pueden ser cambiadas.
Me lo he encontrado al configurar /proc/sys/vm/pagecache. En este fichero hace lo mismo que /proc/sys/vm/buffermem solo que para mapeo de memoria y cacheo genérico de ficheros.
De Administer Linux on the fly:
This controls the amount of the total system memory (as a percent) that will be used for buffer memory. It
holds three values that can be set by writing a space-separated list to the file:
1. Minimum percentage of memory that should be used for buffers
2. The system will try and maintain this amount of buffer memory when system memory is being
pruned in the event of a low amount of system memory remaining
3. Maximum percentage of memory that should be used for buffers
Default setting: 2 10 60
No hay comentarios:
Publicar un comentario