Open vuntz opened 7 years ago
Forgot to mention:
+effective_cache_size = '88GB'
That's of course the one that may be an issue when colocating with openstack services.
And somehow I forgot to link to the patch: https://github.com/crowbar/crowbar-openstack/compare/stable/3.0...vuntz:pgtune-3.0?expand=1 (not submitted to this org -- I need to create the staging branch for crowbar-openstack first)
@mkoderer mentioned in a mail the use of dynamic_shared_memory_type = posix
, but my understanding is that this is already the default here.
@vuntz I think we should start testing this. Can you open-up a pull request? Related to sap custom wrapper (crowbar-sapcustom-soc6/blob/master/recipes/postgres.rb#L9)
For the record, with the wrapper cookbook, the config change is:
effective_cache_size = '16GB'
work_mem = '64MB'
wal_buffers = '16MB'
checkpoint_segments = 5
maintenance_work_mem = '256MB'
So the pgtune recipe is more aggressive.
Needs testing
@mkoderer since this is fixed in custom wrapper cookbook, I'd drop the critical tag here.
For a node with 131840784kB of memory, this result in this change:
This looks good to me. @mkoderer: can you check if this is sensible?