Re: checkpointer continuous flushing - V16 - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: checkpointer continuous flushing - V16
Date
Msg-id CAB7nPqThnaegrUSvzLd4MH_tM2tXUncVYuVvM03METHPjmt-eQ@mail.gmail.com
Whole thread Raw
In response to Re: checkpointer continuous flushing - V16  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
On Sat, Feb 20, 2016 at 5:08 AM, Fabien COELHO <coelho@cri.ensmp.fr> wrote:
>> Kernel 3.2 is extremely bad for Postgresql, as the vm seems to amplify IO
>> somehow. The difference to 3.13 (the latest LTS kernel for 12.04) is huge.
>>
>>
>>
https://medium.com/postgresql-talk/benchmarking-postgresql-with-different-linux-kernel-versions-on-ubuntu-lts-e61d57b70dd4#.6dx44vipu
>
>
> Interesting! To summarize it, 25% performance degradation from best kernel
> (2.6.32) to worst (3.2.0), that is indeed significant.

As far as I recall, the OS cache eviction is very aggressive in 3.2,
so it would be possible that data from the FS cache that was just read
could be evicted even if it was not used yet. Thie represents a large
difference when the database does not fit in RAM.
-- 
Michael



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: checkpointer continuous flushing - V18
Next
From: Corey Huinker
Date:
Subject: psql metaqueries with \gexec