Re: Very slow checkpoints

From: Ilya Kosmodemiansky <ilya(dot)kosmodemiansky(at)postgresql-consulting(dot)com>
To: Steven Jones <steven(dot)jones1201(at)outlook(dot)com>
Cc: "pgsql-performance(at)postgresql(dot)org" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Very slow checkpoints
Date: 2015-03-18 12:13:36
Message-ID: CAG95seW1=QHDDaO1Juh7g_Zzg_0-ebCZSgzTUdzKBJ05EVWwgg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Wed, Mar 18, 2015 at 12:58 PM, Steven Jones
<steven(dot)jones1201(at)outlook(dot)com> wrote:
> Yes BBU is on the controller; 1024Mb. It is a HP P410i controller, with write caching turned on the controller; off on disk level.

vm.dirty_background_bytes=67108864 and vm.dirty_bytes=536870912 looks
resonable for 512MB BBU, you can calculate them for 1024 or
recalculate them for dirty_background_ratio

By the way, which kernel do you use?

> We don't at this stage have any graphs, but we will set it up over the next 24hrs at least.

Do not forget to have iostat statistics on them, at least latency,
%iowait and %util, such parameters are very helpful.

And I am always suspicious about zfs under heavy writes. It is
reliable and quite comfortable in terms of configuration, but for
speed ext4 or xfs with disabled barrier looks more reasonable

>>
>> --
>> Ilya Kosmodemiansky,
>>
>> PostgreSQL-Consulting.com
>> tel. +14084142500
>> cell. +4915144336040
>> ik(at)postgresql-consulting(dot)com
>>
>>
>> --
>> Sent via pgsql-performance mailing list (pgsql-performance(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-performance
>

--
Ilya Kosmodemiansky,

PostgreSQL-Consulting.com
tel. +14084142500
cell. +4915144336040
ik(at)postgresql-consulting(dot)com

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Ilya Kosmodemiansky 2015-03-18 12:17:14 Re: Very slow checkpoints
Previous Message Steven Jones 2015-03-18 11:58:45 Re: Very slow checkpoints