Update Unicorn Worker recommendation
Update the Unicorn worker documentation based on the new scaling formula. https://gitlab.com/gitlab-org/omnibus-gitlab/issues/4535
This commit is contained in:
parent
407de0417d
commit
0f91eadc87
|
@ -146,8 +146,8 @@ CREATE EXTENSION postgres_fdw;
|
||||||
|
|
||||||
## Unicorn Workers
|
## Unicorn Workers
|
||||||
|
|
||||||
For most instances we recommend using: CPU cores + 1 = unicorn workers.
|
For most instances we recommend using: (CPU cores * 1.5) + 1 = unicorn workers.
|
||||||
So for a machine with 2 cores, 3 unicorn workers is ideal.
|
For example a node with 4 cores would have 7 unicorn workers.
|
||||||
|
|
||||||
For all machines that have 2GB and up we recommend a minimum of three unicorn workers.
|
For all machines that have 2GB and up we recommend a minimum of three unicorn workers.
|
||||||
If you have a 1GB machine we recommend to configure only two Unicorn workers to prevent excessive swapping.
|
If you have a 1GB machine we recommend to configure only two Unicorn workers to prevent excessive swapping.
|
||||||
|
|
Loading…
Reference in New Issue