informatique:nix:linux:tuning

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
informatique:nix:linux:tuning [2018/02/09 16:43] – [Sémaphores] beninformatique:nix:linux:tuning [2018/02/09 16:44] (Version actuelle) – [Calcul des valeurs] ben
Ligne 353: Ligne 353:
  
 ==== Calcul des valeurs ==== ==== Calcul des valeurs ====
 +Source ((https://gerardnico.com/wiki/linux/semaphore))
  
   * Calculate the minimum total semaphore requirements using the following formula:   * Calculate the minimum total semaphore requirements using the following formula:
Ligne 363: Ligne 364:
 Set semmsl (semaphores per set) to 256.\\ Set semmsl (semaphores per set) to 256.\\
 Set semmni (total semaphores sets) to semmns / semmsl rounded up to the nearest multiple of 1024.\\ Set semmni (total semaphores sets) to semmns / semmsl rounded up to the nearest multiple of 1024.\\
 +\\
 The following formula can be used as a guide, although in practice, SEMMNS and SEMMNU can be much less than SEMMNI * SEMMSL because not every program in the system needs semaphores. The following formula can be used as a guide, although in practice, SEMMNS and SEMMNU can be much less than SEMMNI * SEMMSL because not every program in the system needs semaphores.
  
 SEMMNS = SEMMNU = (SEMMNI * SEMMSL) SEMMNS = SEMMNU = (SEMMNI * SEMMSL)
  • informatique/nix/linux/tuning.1518191011.txt.gz
  • Dernière modification : 2018/02/09 16:43
  • de ben