pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Imseih (AWS), Sami <simseih@amazon.com>
To: Andres Freund <andres@anarazel.de>
Cc: Nathan Bossart <nathandbossart@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: problems with "Shared Memory and Semaphores" section of docs
Date: Fri, 17 May 2024 19:34:06 +0000
Message-ID: <D4841AC0-6453-441A-A1FD-6836AA5D1437@amazon.com> (raw)
In-Reply-To: <20240517192820.vwom64qal36yxxrl@awork3.anarazel.de>
References: <20240517164452.GA1914161@nathanxps13>
	<2463906.1715965795@sss.pgh.pa.us>
	<20240517174837.GB1918496@nathanxps13>
	<B22D8E61-490D-4B89-9C62-41C36098011F@amazon.com>
	<20240517192820.vwom64qal36yxxrl@awork3.anarazel.de>

> postgres -D pgdev-dev -c shared_buffers=16MB -C shared_memory_size_in_huge_pages
> 13
> postgres -D pgdev-dev -c shared_buffers=16MB -c huge_page_size=1GB -C shared_memory_size_in_huge_pages
> 1


> Which is very useful to be able to actually configure that number of huge
> pages. I don't think a system view or such would not help here.

Oops. Totally missed the -C flag. Thanks for clarifying!

Regards,

Sami 



view thread (20+ messages)  latest in thread

Message-ID: <D4841AC0-6453-441A-A1FD-6836AA5D1437@amazon.com>
Permalink:  ../D4841AC0-6453-441A-A1FD-6836AA5D1437@amazon.com/
Also on:    postgresql.org/message-id/D4841AC0-6453-441A-A1FD-6836AA5D1437@amazon.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: simseih@amazon.com, andres@anarazel.de, nathandbossart@gmail.com, tgl@sss.pgh.pa.us, pryzby@telsasoft.com
  Subject: Re: problems with "Shared Memory and Semaphores" section of docs
  In-Reply-To: <D4841AC0-6453-441A-A1FD-6836AA5D1437@amazon.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