HugeTLB support (in 8.3)

From: "Simon Riggs" <simon(at)2ndquadrant(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: HugeTLB support (in 8.3)
Date: 2006-11-27 10:49:39
Message-ID: 1164624579.3778.115.camel@silverbirch.site
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Solaris port already uses Intimate Shared Memory (ISM) which provides
for huge pages (amongst other things).

Linux also supports HugeTLB, but the linux port doesn't allow this to be
used, as yet. There was a previous objection to supporting this:

http://archives.postgresql.org/pgsql-general/2004-04/msg01176.php

but that restriction has now been removed. When that comment was made we
were still running 7.4 as the main release and it was definitely true at
that time, but many advances have been made since then.

It seems straightforward to allow this as an option when the sysadmin
has preconfigured vm tunables correctly.

This is not appropriate for all cases, but it seems better to allow the
sysadmins to judge those cases for themselves than to prevent any access
to this feature.

Comments?

--
Simon Riggs
EnterpriseDB http://www.enterprisedb.com

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2006-11-27 11:30:41 Configuring BLCKSZ and XLOGSEGSZ (in 8.3)
Previous Message Simon Riggs 2006-11-27 10:40:36 PrivateRefCount (for 8.3)