[prev in list] [next in list] [prev in thread] [next in thread]
List: pgsql-performance
Subject: Re: NUMA settings
From: Laurenz Albe <laurenz.albe () cybertec ! at>
Date: 2020-05-05 8:25:57
Message-ID: 78e4af96a4b34f1280ef96ddf347d5f7b8a53380.camel () cybertec ! at
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic