Configuração de shmmax, shmmni, shmall e shmall

Para RHEL / OEL / CentOS x32-64:

64GB de RAM:
kernel.shmmax=34359738368
kernel.shmmni=4096
kernel.shmall=16777216
vm.nr_hugepages=16384

32GB de RAM:
kernel.shmmax=17179869184
kernel.shmmni=4096
kernel.shmall=8388608
vm.nr_hugepages=8192

16GB de RAM:
kernel.shmmax=8589934592
kernel.shmmni=4096
kernel.shmall=4194304
vm.nr_hugepages=4096

8GB de RAM:
kernel.shmmax=4294967295
kernel.shmmni=4096
kernel.shmall=2097152
vm.nr_hugepages=2048

4GB de RAM:
kernel.shmmax=2147483648
kernel.shmmni=4096
kernel.shmall=1048576
vm.nr_hugepages=1024

1GB de RAM:
kernel.shmmax=536870912
kernel.shmmni=4096
kernel.shmall=262144

Leave a Reply

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

This site uses Akismet to reduce spam. Learn how your comment data is processed.