Hi,
On Monday 29 October 2012 16:33:25 Tom Lane wrote:
> Christian Kruse <cjk+postgres@defunct.ch> writes:
> > I created a patch which implements MAP_HUGETLB for sysv shared memory
> > segments (PGSharedMemoryCreate). It is based on tests of Tom Lane and
> > Andres Freund, I added error handling, huge page size detection and a GUC
> > variable.
> My recollection is we'd decided not to pursue that because of fears that
> it could make performance horribly worse on some platforms.
This is why I created a GUC variable huge_tlb_pages = on|off|try to
enable/disable this feature.
A performance improvement up to 10% seems worth the trouble of setting another
config value, IMO.
Greetings,
CK