Re: Revisiting disk layout on ZFS systems

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Karl Denninger <karl(at)denninger(dot)net>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Revisiting disk layout on ZFS systems
Date: 2014-04-28 18:22:36
Message-ID: 535E9C6C.7090407@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 04/28/2014 09:07 PM, Karl Denninger wrote:
>> The WAL is fsync'd frequently. My guess is that that causes a lot of
>> extra work to repeatedly recompress the same data, or something like
>> that.
>
> It shouldn't as ZFS re-writes on change, and what's showing up is not
> high I/O*count* but rather percentage-busy, which implies lots of head
> movement (that is, lots of sub-allocation unit writes.)

That sounds consistent frequent fsyncs.

> Isn't WAL essentially sequential writes during normal operation?

Yes, it's totally sequential. But it's fsync'd at every commit, which
means a lot of small writes.

- Heikki

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jeff Janes 2014-04-28 18:26:26 Re: Revisiting disk layout on ZFS systems
Previous Message Karl Denninger 2014-04-28 18:07:22 Re: Revisiting disk layout on ZFS systems