Setting huge_pages=off when HugePages are allocated in Linux?

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Setting huge_pages=off when HugePages are allocated in Linux?
Date: 2026-01-28 15:31:36
Message-ID: CANzqJaD0Nj2SvXrGCM-p_TUaeN84TzRteo7jxqSdARaZDiXABA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

In the example in this (quite helpful) Cybertec post, 10475 HugePages are
allocated.
https://www.cybertec-postgresql.com/en/huge-pages-postgresql/

If we set "huge_pages = off" within PG and then restart PG, will Linux see
those 10475 HugePages as off-limits to normal 4KiB allocations?

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Laurenz Albe 2026-01-28 17:02:26 Re: Setting huge_pages=off when HugePages are allocated in Linux?
Previous Message Олег Самойлов 2026-01-28 03:06:38 Re: autoanalyze did not run