Re: PostgreSQL and HugePage
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hsien-Wen Chu <chu.hsien.wen@gmail.com>
Cc: pgsql-hackers@postgresql.org, Robert Haas <robertmhaas@gmail.com>, daveg <daveg@sonic.net>, Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Date: 2010-10-24T16:29:40Z
Lists: 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