Re: SHM_HUGETLB on Linux 2.6. - Mailing list pgsql-hackers

From Kohei KaiGai
Subject Re: SHM_HUGETLB on Linux 2.6.
Date
Msg-id 47942488.8030501@ak.jp.nec.com
Whole thread Raw
In response to SHM_HUGETLB on Linux 2.6.  (Kurt Roeckx <kurt@roeckx.be>)
List pgsql-hackers
Kurt Roeckx wrote:
> Hi,
> 
> Has anyone tried to use the huge tlb support of the Linux 2.6 kernel?
> If you compile the kernel with support for it (CONFIG_HUGETLBFS), you
> can call shmget() with a SHM_HUGETLB parameter so that it will use
> larger pages.
> 
> Has anyone tried to use it?  Is it worth trying to set it up?

I tried to apply HugeTlb on shared memory segment, but it does not
provide us statistically-meaningful difference on PostgreSQL.

pgbench gave us the following result, with shared_buffer_size=160mb
and Core2Duo E6400, total system memory=512MB.
Unfortunatelly, any other detailed parameters were lost.
     Transaction per sec       Average        STD   -----------------------------------------------     pgsql-8.2.5
(normal) :  656.6118    17.5006     pgsql-8.2.5 (hugetlb) :  655.3389    20.2623
 

A similar topic was also posted at Mar 2007.  http://archives.postgresql.org/pgsql-hackers/2007-03/msg00232.php

Regard,
-- 
OSS Platform Development Division, NEC
KaiGai Kohei <kaigai@ak.jp.nec.com>


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Anyone tried PG with Perl 5.10?
Next
From: "Hiroshi Saito"
Date:
Subject: mklink of pg_standby