summary refs log tree commit diff
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
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
-rw-r--r--changelog.d/11467.misc1
-rw-r--r--docs/postgres.md3
2 files changed, 4 insertions, 0 deletions
diff --git a/changelog.d/11467.misc b/changelog.d/11467.misc
new file mode 100644
index 0000000000..84e8a5ab4e
--- /dev/null
+++ b/changelog.d/11467.misc
@@ -0,0 +1 @@
+Add a note about postgres memory management and hugepages to postgres doc.
\ No newline at end of file
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