Set up HugePages for PostgreSQL: size shared_buffers, get the page count from the server, disable Transparent HugePages and verify the result.