summary refs log tree commit diff
path: root/docs/postgres.md
diff options
context:
space:
mode:
authorShay <hillerys@element.io>2021-11-30 19:05:20 -0800
committerGitHub <noreply@github.com>2021-11-30 19:05:20 -0800
commitf1795463bf503a6fca909d77f598f641f9349f56 (patch)
tree72ea9258e3e03eb77f93ad91fd3095b3e01f0e4c /docs/postgres.md
parentDon't start Synapse master process if `worker_app` is set (#11416) (diff)
downloadsynapse-f1795463bf503a6fca909d77f598f641f9349f56.tar.xz
Add a note about huge pages to our Postgres doc (#11467)
* Add note to postgres doc about hugepages

* Newsfragment
Diffstat (limited to 'docs/postgres.md')
-rw-r--r--docs/postgres.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/postgres.md b/docs/postgres.md
index 083b0aaff0..e4861c1f12 100644
--- a/docs/postgres.md
+++ b/docs/postgres.md
@@ -118,6 +118,9 @@ performance:
 Note that the appropriate values for those fields depend on the amount
 of free memory the database host has available.
 
+Additionally, admins of large deployments might want to consider using huge pages
+to help manage memory, especially when using large values of `shared_buffers`. You
+can read more about that [here](https://www.postgresql.org/docs/10/kernel-resources.html#LINUX-HUGE-PAGES).
 
 ## Porting from SQLite