Re: NUMA settings - Mailing list pgsql-performance

From Laurenz Albe
Subject Re: NUMA settings
Date
Msg-id 78e4af96a4b34f1280ef96ddf347d5f7b8a53380.camel@cybertec.at
Whole thread Raw
In response to Re: NUMA settings  (Marc Rechté <marc4@rechte.fr>)
List 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




pgsql-performance by date:

Previous
From: Marc Rechté
Date:
Subject: Re: NUMA settings
Next
From: Justin Pryzby
Date:
Subject: Re: Please help! Query jumps from 1s -> 4m