Red Hat ENTERPRISE LINUX AS 2.1 - Guide d'installation Page 18

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 160
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 17
Chapter 5. Memory Usage and Page Cache
12
Alternatively, you can use sysctl(8) to change it:
# sysctl -w vm.pagecache="1 15 30"
To make the change permanent, add the following line to the file /etc/sysctl.conf. This file is
used during the boot process.
# echo "vm.pagecache=1 15 30" >> /etc/sysctl.conf
With Red Hat Enterprise Linux 4 and 5, the pagecache is dynamically adjusted. You can adjust the
minimum free pages using the following command:
# echo 1024 > /proc/sys/vm/min_free_kbytes
To make the change permanent, add the following line to the file /etc/sysctl.conf:
# echo vm.min_free_kbytes=1024 >> /etc/sysctl.conf
The pagecache pages can be reclaimed by adjusting the swappiness percentage as described in
the next section.
Vue de la page 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 159 160

Commentaires sur ces manuels

Pas de commentaire