Re: PostgreSQL and HugePage

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hsien-Wen Chu <chu(dot)hsien(dot)wen(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Robert Haas <robertmhaas(at)gmail(dot)com>, daveg <daveg(at)sonic(dot)net>, Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz>
Subject: Re: PostgreSQL and HugePage
Date: 2010-10-24 16:29:40
Message-ID: 3575.1287937780@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hsien-Wen Chu <chu(dot)hsien(dot)wen(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Terry Laurenzo 2010-10-24 16:36:00 Re: patch: Add JSON datatype to PostgreSQL (GSoC, WIP)
Previous Message Tom Lane 2010-10-24 16:20:22 Re: WIP: extensible enums