supabase-postgres.git / summary / log / commit / refs
commit 6dfd0e6eebb9d53f31b26e187c8c295afca6f6e4
Author: Douglas J Hunley <doug.hunley@gmail.com>
Commit: GitHub <noreply@github.com>
Date: Tue Jul 07 16:33:39 2026 +0000
feat(ansible): add vm dirty/writeback tuning params to tuned profile (#2249)
Add vm.dirty_background_ratio, vm.dirty_expire_centisecs, vm.dirty_ratio,
and vm.dirty_writeback_centisecs to the sysctl section of the PostgreSQL
tuned profile.
ansible/tasks/setup-tuned.yml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/ansible/tasks/setup-tuned.yml b/ansible/tasks/setup-tuned.yml
index 3472cad8..dab03990 100644
--- a/ansible/tasks/setup-tuned.yml
+++ b/ansible/tasks/setup-tuned.yml
@@ -161,6 +161,14 @@
value: '62500'
- option: 'net.netfilter.nf_conntrack_max'
value: '250000'
+ - option: 'vm.dirty_background_ratio'
+ value: '10'
+ - option: 'vm.dirty_expire_centisecs'
+ value: '3000'
+ - option: 'vm.dirty_ratio'
+ value: '40'
+ - option: 'vm.dirty_writeback_centisecs'
+ value: '500'
- option: 'vm.panic_on_oom'
value: '1'
loop_control: