Преглед изворни кода

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 година
родитељ
комит
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:

- `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`

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:

- `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`

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).


Loading…
Откажи
Сачувај