Просмотр исходного кода

Fix unit inaccuracy in documentation for cache-autotuning-related variables

Related to: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3017
pull/3188/head
Slavi Pantaleev 2 лет назад
Родитель
Сommit
1cd82cf068
2 измененных файлов: 4 добавлений и 4 удалений
  1. +2
    -2
      CHANGELOG.md
  2. +2
    -2
      docs/maintenance-synapse.md

+ 2
- 2
CHANGELOG.md Просмотреть файл

@@ -9,8 +9,8 @@ The playbook has always used a very conservative cache factor (`matrix_synapse_c


The playbook now uses **a 20x larger cache factor** (currently `10`), adjusts a few other cache-related variables, and **enables cache auto-tuning** via the following variables: The playbook now uses **a 20x larger cache factor** (currently `10`), adjusts a few other cache-related variables, and **enables cache auto-tuning** via the following variables:


- `matrix_synapse_cache_autotuning_max_cache_memory_usage` - defaults to 1/8 of total RAM with a cap of 2GB; values are specified in bytes
- `matrix_synapse_cache_autotuning_target_cache_memory_usage` - defaults to 1/16 of total RAM with a cap of 1GB; values are specified in bytes
- `matrix_synapse_cache_autotuning_max_cache_memory_usage` - defaults to 1/8 of total RAM with a cap of 2GB; values are specified in KB
- `matrix_synapse_cache_autotuning_target_cache_memory_usage` - defaults to 1/16 of total RAM with a cap of 1GB; values are specified in KB
- `matrix_synapse_cache_autotuning_min_cache_ttl` - defaults to `30s` - `matrix_synapse_cache_autotuning_min_cache_ttl` - defaults to `30s`


These values should be good defaults for most servers, but may change over time as we experiment further. These values should be good defaults for most servers, but may change over time as we experiment further.


+ 2
- 2
docs/maintenance-synapse.md Просмотреть файл

@@ -86,8 +86,8 @@ Tuning the cache factor is useful only to a limited degree (as its crude to do i


Cache autotuning is **enabled by default** and controlled via the following variables: Cache autotuning is **enabled by default** and controlled via the following variables:


- `matrix_synapse_cache_autotuning_max_cache_memory_usage` - defaults to 1/8 of total RAM with a cap of 2GB; values are specified in bytes
- `matrix_synapse_cache_autotuning_target_cache_memory_usage` - defaults to 1/16 of total RAM with a cap of 1GB; values are specified in bytes
- `matrix_synapse_cache_autotuning_max_cache_memory_usage` - defaults to 1/8 of total RAM with a cap of 2GB; values are specified in KB
- `matrix_synapse_cache_autotuning_target_cache_memory_usage` - defaults to 1/16 of total RAM with a cap of 1GB; values are specified in KB
- `matrix_synapse_cache_autotuning_min_cache_ttl` - defaults to `30s` - `matrix_synapse_cache_autotuning_min_cache_ttl` - defaults to `30s`


You can **learn more about cache-autotuning and the global cache factor settings** in the [Synapse's documentation on caches and associated values](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#caches-and-associated-values). You can **learn more about cache-autotuning and the global cache factor settings** in the [Synapse's documentation on caches and associated values](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#caches-and-associated-values).


Загрузка…
Отмена
Сохранить