Re: PostgreSQL and HugePage - Mailing list pgsql-hackers

From Tom Lane
Subject Re: PostgreSQL and HugePage
Date
Msg-id 3575.1287937780@sss.pgh.pa.us
Whole thread Raw
In response to Re: PostgreSQL and HugePage  (Hsien-Wen Chu <chu.hsien.wen@gmail.com>)
List pgsql-hackers
Hsien-Wen Chu <chu.hsien.wen@gmail.com> writes:
> as my known, FreeBSD implements this feature called superpage, it's similar
> with Solaris, so is it enabled in default? or any default parameter need to
> be set?

The Solaris-specific code is just that if SHM_SHARE_MMU is defined (by
<sys/ipc.h>, I think) we include it in the flags parameter for shmat(2).
If FreeBSD does it the same way as Solaris then that should work.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: WIP: extensible enums
Next
From: Terry Laurenzo
Date:
Subject: Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)