pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Fujii Masao <masao.fujii@oss.nttdata.com>
Cc: Shinoda, Noriyoshi (PN Japan FSIP) <noriyoshi.shinoda@hpe.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: pgsql-hackers@postgresql.org
Cc: rjuju123@gmail.com
Cc: tgl@sss.pgh.pa.us
Subject: Re: Improve logging when using Huge Pages
Date: Tue, 21 Sep 2021 19:23:22 -0500
Message-ID: <20210922002322.GS831@telsasoft.com> (raw)
In-Reply-To: <80872660-ad16-3040-0a25-bd741faa5fc0@oss.nttdata.com>
References: <20210907131653.GK26465@telsasoft.com>
	<20210908.111736.355857044349579789.horikyota.ntt@gmail.com>
	<7ad09915-d8b1-1bce-b962-7062e2cf346a@oss.nttdata.com>
	<20210917.131430.1276120422145591578.horikyota.ntt@gmail.com>
	<TU4PR8401MB1152B1A4158D609472ABD51DEEA09@TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM>
	<80872660-ad16-3040-0a25-bd741faa5fc0@oss.nttdata.com>

On Wed, Sep 22, 2021 at 02:03:11AM +0900, Fujii Masao wrote:
> Another idea is to output "Anonymous shared memory was allocated with
>  huge pages" when it's successfully allocated with huge pages, and to output
>  "Anonymous shared memory was allocated without huge pages"
>  when it's successfully allocated without huge pages. I'm not sure if users
>  may think even this message is noisy, though.

+1

Maybe it could show the page size instead of "with"/without:
"Shared memory allocated with 4k/1MB/1GB pages."

-- 
Justin





view thread (93+ messages)  latest in thread

Message-ID: <20210922002322.GS831@telsasoft.com>
Permalink:  ../20210922002322.GS831@telsasoft.com/
Also on:    postgresql.org/message-id/20210922002322.GS831@telsasoft.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-hackers@postgresql.org
  Cc: pryzby@telsasoft.com, masao.fujii@oss.nttdata.com, noriyoshi.shinoda@hpe.com, horikyota.ntt@gmail.com, rjuju123@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Improve logging when using Huge Pages
  In-Reply-To: <20210922002322.GS831@telsasoft.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