Huge pages support on Windows

From: Andrea caldarone <andrea(dot)caldarone75(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Huge pages support on Windows
Date: 2017-06-15 16:04:25
Message-ID: CAP=EKryr8gwqEgZoNtNPKfHiBOA1yOaOyYkdHzfxzedKKhFK-A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,

First of all bear with me since I'm new in PostgreSQL world, I'm SQL Server
DBA with 20yrs experience.
I've seen the thread started by Tsunakawa Takayuki about huge pages support
on windows and his version of pg_ctl.c in commit fest.
I see no information anywhere about how to recompile only the pg_ctl.exe in
Windows or how to apply a .patch file in Windows.
I've used Mingw64 to build the whole PostgreSQL from source code and I
succeded, then I tried to the pg_ctl.c in source files with the pg_ctl.exe
modified by Tsunakawa Takayuki, I've taken only the pg_ctl.exe generated
and put in my Windows machine, it works but when I try to enable huge pages
in the postresql.conf, the service fails to start with the message "CEST
FATAL: huge pages not supported on this platform"

Anyone can point me in the right direction?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2017-06-15 16:06:49 Re: WIP: Data at rest encryption
Previous Message Tom Lane 2017-06-15 15:57:40 Re: Making server name part of the startup message