소스 검색

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


불러오는 중...
취소
저장