Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nr_hugepages on ocp13 and ocp23 #517

Open
jpmckinney opened this issue Aug 17, 2024 · 1 comment
Open

Update nr_hugepages on ocp13 and ocp23 #517

jpmckinney opened this issue Aug 17, 2024 · 1 comment
Labels
postgresql Relating to PostgreSQL services S: kingfisher Relating to the Kingfisher servers S: registry Relating to the Registry service/server
Milestone

Comments

@jpmckinney
Copy link
Member

I reduced shared_buffers to 8GB, because apparently there might not be much advantage to go over that: https://github.com/jberkus/annotated.conf/blob/master/postgresql.10.simple.conf#L84-L87

I originally set nr_hugepages following this process:
https://www.postgresql.org/docs/14/kernel-resources.html#LINUX-HUGE-PAGES

As documented here: https://ocdsdeploy.readthedocs.io/en/latest/develop/update/postgres.html

However, this requires us to "start PostgreSQL without huge pages enabled"

I think there is no great consequence to having a larger nr_hugepages than necessary, but logging here in case easy to do.

@jpmckinney jpmckinney added the postgresql Relating to PostgreSQL services label Aug 17, 2024
@jpmckinney jpmckinney added this to the Priority milestone Aug 17, 2024
@jpmckinney jpmckinney added S: kingfisher Relating to the Kingfisher servers S: registry Relating to the Registry service/server labels Aug 19, 2024
@jpmckinney
Copy link
Member Author

@RobHooper Do we want to update nr_hugepages on ocp27?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
postgresql Relating to PostgreSQL services S: kingfisher Relating to the Kingfisher servers S: registry Relating to the Registry service/server
Projects
None yet
Development

No branches or pull requests

1 participant