pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: yanliang lei <msdnchina@163.com>
To: pgsql-docs@lists.postgresql.org
Subject: huge_page_size parameter description in the pg 14 docs is not exact
Date: Wed, 20 Jul 2022 21:56:37 +0800 (CST)
Message-ID: <4310e627.5be8.1821be570d5.Coremail.msdnchina@163.com> (raw)




https://www.postgresql.org/docs/15/runtime-config-resource.html#GUC-HUGE-PAGE-SIZE




the following is from the above website:

Some commonly available page sizes on modern 64 bit server architectures include: 

2MB and 1GB (Intel and AMD), 16MB and 16GB (IBM POWER), and 64kB, 2MB, 32MB and 1GB (ARM). For more information about usage and support,




but after my test, I found that: 

in the RHEL7.9(kernel version 3.10.0-1160),when I set the non default huge page size for huge_page_size parameter ,PG14 can not start;

in the RHEL8.5(kernel version 4.18.0-348),when I set the non default huge page size for huge_page_size parameter ,PG14 can start 。




so ,
I think that:
the huge_page_size parameter description in the PostgreSQL 14 documents is not exact.




I suggest that :

Some one should modify the postgreSQL 14 documents(https://www.postgresql.org/docs/15/runtime-config-resource.html#GUC-HUGE-PAGE-SIZE) like the following:

in the RHEL7.x (kernel version 3.10.0-xxx), huge_page_size parameter can not set to the non default huge page size.

view thread (3+ messages)  latest in thread

Message-ID: <4310e627.5be8.1821be570d5.Coremail.msdnchina@163.com>
Permalink:  ../4310e627.5be8.1821be570d5.Coremail.msdnchina@163.com/
Also on:    postgresql.org/message-id/4310e627.5be8.1821be570d5.Coremail.msdnchina@163.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: msdnchina@163.com, pgsql-docs@lists.postgresql.org
  Subject: Re: huge_page_size parameter description in the pg 14 docs is not exact
  In-Reply-To: <4310e627.5be8.1821be570d5.Coremail.msdnchina@163.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox