Skip site navigation (1) Skip section navigation (2)

Re: PostgreSQL and HugePage

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Hsien-Wen Chu <chu(dot)hsien(dot)wen(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: PostgreSQL and HugePage
Date: 2010-10-20 02:10:41
Message-ID: AANLkTik3DTOnrotJW9oC-CFXc0dxDJdbYKcPOnOJo2MU@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Tue, Oct 19, 2010 at 8:39 PM, Hsien-Wen Chu <chu(dot)hsien(dot)wen(at)gmail(dot)com> wrote:
> I want to use hugepage function on Linux platform, my question is if
> PostgreSQL supports hugepage in default, if not, what's the code need to be
> modified?

Unfortunately, I don't think this is too simple.  PostgreSQL uses sysv
shared memory, not POSIX shared memory.  I don't know of a way to use
sysv shared memory with hugetlb.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

pgsql-hackers by date

Next:From: Robert HaasDate: 2010-10-20 02:13:19
Subject: ECPG regression tests need .gitignore update?
Previous:From: Robert HaasDate: 2010-10-20 02:06:39
Subject: Re: Domains versus arrays versus typmods

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group