Re: Configuring BLCKSZ and XLOGSEGSZ (in 8.3)

From: "Mike Rylander" <mrylander(at)gmail(dot)com>
To: "Peter Eisentraut" <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org, "Simon Riggs" <simon(at)2ndquadrant(dot)com>
Subject: Re: Configuring BLCKSZ and XLOGSEGSZ (in 8.3)
Date: 2006-11-27 16:03:47
Message-ID: b918cf3d0611270803g3321acc7n5b79c608d4877de7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On 11/27/06, Peter Eisentraut <peter_e(at)gmx(dot)net> wrote:
> Am Montag, 27. November 2006 12:30 schrieb Simon Riggs:
> > It seems possible to vary both BLCKSZ and XLOGSEGSZ rather than have
> > them set within pg_config_manual. There are a number of use-cases where
> > varying these values will offer increased performance
>
> Such as?

Reading 32k at a time from my SAN, instead of 8k, gave me a ~15%
increase in overall I/O throughput. Now, I'm not certain that I
didn't do something else stupid that the BLCKSZ partially counter
acts, but dd bears out my results (and 64k is even faster for dd).

>
> --
> Peter Eisentraut
> http://developer.postgresql.org/~petere/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>

--
Mike Rylander
mrylander(at)gmail(dot)com
GPLS -- PINES Development
Database Developer
http://open-ils.org

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2006-11-27 16:35:30 Re: Shared pg_xlog directory/partition and warm standby
Previous Message Greg Mitchell 2006-11-27 15:57:43 Storing a dynahash for an entire connection or transaction?

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2006-11-27 17:02:28 Re: Configuring BLCKSZ and XLOGSEGSZ (in 8.3)
Previous Message Peter Eisentraut 2006-11-27 13:01:07 Re: Configuring BLCKSZ and XLOGSEGSZ (in 8.3)