From: John Lister <john.lister@kickstone.com>
To: pgsql-performance@postgresql.org
Subject: Re: Linux memory zone reclaim
Date: Tue, 24 Jul 2012 19:36:25 +0100
Message-ID: <500EEB29.3030503@kickstone.com> (raw)
In-Reply-To: <500616CB.3070408@2ndQuadrant.com>
References: <500616CB.3070408@2ndQuadrant.com>
On Tue, Jul 18, 2012 at 2:38 AM, Claudio Freire wrote:
>It must have been said already, but I'll repeat it just in case:
>I think postgres has an easy solution. Spawn the postmaster with
>"interleave", to allocate shared memory, and then switch to "local" on
>the backends.
Do you have a suggestion about how to do that? I'm running Ubuntu 12.04
and PG 9.1, I've modified pg_ctlcluster to cause pg_ctl to use a wrapper
script which starts the postmaster using a numactl wrapper, but all
subsequent client processes are started with interleaving enabled as
well. Any ideas how to make just the postmaster process start with
interleaving?
Thanks
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-performance@postgresql.org
Cc: john.lister@kickstone.com
Subject: Re: Linux memory zone reclaim
In-Reply-To: <500EEB29.3030503@kickstone.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