Re: Big Memory Boxes and pgtune

From: Kevin Grittner <kgrittn(at)gmail(dot)com>
To: "Warner, Gary, Jr" <gar(at)uab(dot)edu>
Cc: postgres performance list <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Big Memory Boxes and pgtune
Date: 2016-10-28 17:09:51
Message-ID: CACjxUsNN6JEHaUd1dZn0234UdvtCW=SM7jJ15kmEHJ5E73=78A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Fri, Oct 28, 2016 at 10:44 AM, Warner, Gary, Jr <gar(at)uab(dot)edu> wrote:

> I've recently been blessed to move one of my databases onto a
> huge IBM P8 computer. Its a power PC architecture with 20 8-way
> cores (so postgres SHOULD believe there are 160 cores available)
> and 1 TB of RAM.

> So . . . what would I want to do differently based on the fact
> that I have a "very high memory system"?

What OS are you looking at?

The first advice I would give is to use a very recent version of
both the OS and PostgreSQL. Such large machines are a recent
enough phenomenon that older software is not likely to be optimized
to perform well on it. For similar reasons, be sure to stay up to
date with minor releases of both.

If the OS has support for them, you probably want to become
familiar with these commands:

numactl --hardware
lscpu

You may want to benchmark different options, but I suspect that you
will see better performance by putting each database on a separate
cluster and using cpusets (or the equivalent) so that each cluster
uses a subset of the 160 cores and the RAM directly attached to the
subset.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Joshua D. Drake 2016-10-28 19:33:10 Re: Big Memory Boxes and pgtune
Previous Message Warner, Gary, Jr 2016-10-28 15:44:13 Big Memory Boxes and pgtune