Re: NUMA settings

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Marc Rechté <marc4(at)rechte(dot)fr>, pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: NUMA settings
Date: 2020-05-05 08:25:57
Message-ID: 78e4af96a4b34f1280ef96ddf347d5f7b8a53380.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, 2020-05-05 at 10:11 +0200, Marc Rechté wrote:
> > I think that "vm.swappiness" should be 0.
> > PostgreSQL does its own memory management, any swapping by the kernel
> > would go against that.
> >
> > Yours,
> > Laurenz Albe
> >
> As said in the post, we wish the idle backends to be swapped out if
> necessary. Therefore lowering swappiness would produce the opposite
> effect: swapping out Linux file cache rather than backends memory.

I see. Sorry for not paying attention.

An idle backend consumes only a few MB of RAM, though.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Justin Pryzby 2020-05-05 19:28:36 Re: Please help! Query jumps from 1s -> 4m
Previous Message Marc Rechté 2020-05-05 08:11:20 Re: NUMA settings