Re: Revisiting disk layout on ZFS systems - Mailing list pgsql-performance

From Albe Laurenz
Subject Re: Revisiting disk layout on ZFS systems
Date
Msg-id A737B7A37273E048B164557ADEF4A58B17CF49B1@ntex2010i.host.magwien.gv.at
Whole thread Raw
In response to Revisiting disk layout on ZFS systems  (Karl Denninger <karl@denninger.net>)
Responses Re: Revisiting disk layout on ZFS systems  (Karl Denninger <karl@denninger.net>)
List pgsql-performance
Karl Denninger wrote:
> I've been doing a bit of benchmarking and real-world performance
> testing, and have found some curious results.

[...]

> The odd thing is that I am getting better performance with a 128k record
> size on this application than I get with an 8k one!

[...]

> What I am curious about, however, is the xlog -- that appears to suffer
> pretty badly from 128k record size, although it compresses even
> more-materially; 1.94x (!)
> 
> The files in the xlog directory are large (16MB each) and thus "first
> blush" would be that having a larger record size for that storage area
> would help.  It appears that instead it hurts.

As has been explained, the access patterns for WAL are quite different.

For your experiment, I'd keep them on different file systems so that
you can tune them independently.

Yours,
Laurenz Albe

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Slow queries on 9.3.1 despite use of index
Next
From: Karl Denninger
Date:
Subject: Re: Revisiting disk layout on ZFS systems