@@ -127,7 +127,9 @@ administrators to keep NFS server delegation disabled.
...
@@ -127,7 +127,9 @@ administrators to keep NFS server delegation disabled.
### Improving NFS performance with GitLab
### Improving NFS performance with GitLab
#### Improving NFS performance with Unicorn
NFS performance with GitLab can in some cases be improved with
[direct Git access](gitaly/index.md#direct-access-to-git-in-gitlab) using
[Rugged](https://github.com/libgit2/rugged).
NOTE: **Note:**
NOTE: **Note:**
From GitLab 12.1, it will automatically be detected if Rugged can and should be used per storage.
From GitLab 12.1, it will automatically be detected if Rugged can and should be used per storage.
...
@@ -138,18 +140,16 @@ If you previously enabled Rugged using the feature flag, you will need to unset
...
@@ -138,18 +140,16 @@ If you previously enabled Rugged using the feature flag, you will need to unset
sudo gitlab-rake gitlab:features:unset_rugged
sudo gitlab-rake gitlab:features:unset_rugged
```
```
If the Rugged feature flag is explicitly set to either true or false, GitLab will use the value explicitly set.
If the Rugged feature flag is explicitly set to either `true` or `false`, GitLab will use the value explicitly set.
#### Improving NFS performance with Puma
#### Improving NFS performance with Puma
NOTE: **Note:**
NOTE: **Note:**
From GitLab 12.7, Rugged auto-detection is disabled if Puma thread count is greater than 1.
From GitLab 12.7, Rugged is not automatically enabled if Puma thread count is greater than `1`.
If you want to use Rugged with Puma, it is recommended to [set Puma thread count to 1](https://docs.gitlab.com/omnibus/settings/puma.html#puma-settings).
If you want to use Rugged with Puma, [set Puma thread count to `1`](https://docs.gitlab.com/omnibus/settings/puma.html#puma-settings).
If you want to use Rugged with Puma thread count more than 1, Rugged can be enabled using the [feature flag](../development/gitaly.md#legacy-rugged-code)
If you want to use Rugged with Puma thread count more than `1`, Rugged can be enabled using the [feature flag](../development/gitaly.md#legacy-rugged-code).
If the Rugged feature flag is explicitly set to either true or false, GitLab will use the value explicitly set.