4 ms·
I appreciate that, thanks for the explanation. I understand the difference between hugepages and transparent huge pages, I just don't understand how not using h
by pocketarc 4y ago
I appreciate that, thanks for the explanation. I understand the difference between hugepages and transparent huge pages, I just don't understand how not using hugepages was impacting the parent's Postgres, or causing OOM errors.
@menaerus actually has a great comment on this that digs deeper into it, looking forward to seeing what comes out of that thread as well.
- gnfargbl 4y agoI gave a more detailed response on the post by 'menaerus, but to answer your question on config directly, you first need to enable the appropriate number of hugepages with a kernel boot parameter, e.g. hugepagesz=1G hugepages=940 and then add these config lines to postgresql.conf: huge_pages = on huge_page_size = 1GB