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

Re: PostgreSQL and HugePage

From: Hsien-Wen Chu <chu(dot)hsien(dot)wen(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, daveg <daveg(at)sonic(dot)net>, Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: PostgreSQL and HugePage
Date: 2010-10-24 11:52:13
Message-ID: AANLkTikKu_MSCt4EnjmLFdznGg_oNgxov=NPRpwL3gZt@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
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?

Many thank

Hsien-Wen


On Wed, Oct 20, 2010 at 10:10 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> > On Tue, Oct 19, 2010 at 11:30 PM, daveg <daveg(at)sonic(dot)net> wrote:
> >> On Wed, Oct 20, 2010 at 04:08:37PM +1300, Mark Kirkwood wrote:
> >>> Heh - provided you specify
> >>> SHM_HUGETLB
> >>> in the relevant call that is :-)
>
> >> I had a patch for this against 8.3 that I could update if there is any
> >> interest. I suspect it is helpful.
>
> > I think it would be a good feature.  Of course, we would need
> > appropriate documentation, and some benchmarks showing that it really
> > works.
>
> I believe that for the equivalent Solaris option, we just automatically
> enable it when available.  So there'd be no need for user documentation.
> However, I definitely *would* like to see some benchmarks proving that
> the change actually does something useful.  I've always harbored the
> suspicion that this is just a knob to satisfy people who need knobs to
> frob.
>
>                        regards, tom lane
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>

In response to

Responses

pgsql-hackers by date

Next:From: Dean RasheedDate: 2010-10-24 12:01:26
Subject: Re: WIP: extensible enums
Previous:From: Martijn van OosterhoutDate: 2010-10-24 09:50:09
Subject: Re: ask for review of MERGE

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