public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* PostgreSQL block size vs. LVM2 stripe width
@ 2004-03-26 22:00 markw
  2004-03-27 22:03 ` [HACKERS] " Manfred Koizar
  0 siblings, 1 reply; 5+ messages in thread
From: markw @ 2004-03-26 22:00 UTC (permalink / raw)
  To: pgsql-hackers; +Cc: linux-ia64, linux-lvm

I have some results from DBT-2 testing PostgreSQL with difference block
sizes against different lvm stripe widths on Linux.  I've found that
iostat appears to report more erratic numbers as the block size of the
database increases but I'm not able to see any reason for it.

I have pg_xlog on a separate set of drives from the rest of the database
and was wondering if having different block sizes for the log and the
data has been discusses?

Or does anyone have any tips for an optimal combination of settings?

Here's a summary from an Itanium2 system, where bigger is better:

                        Linux-2.6.3, LVM2 Stripe Width
                        (going across)
PostgreSQL
BLCKSZ
(going down)    16 KB   32 KB   64 KB   128 KB  256 KB  512 KB
2 KB            2617    2656    2652    2664    2667    2642
4 KB            4393    4486    4577    4557    4511    4448
8 KB            4337    4423    4471    4576    4111    3642
16 KB           4412    4495    4532    4536    2985    2312
32 KB           3705    3784    3886    3925    2936    2362

Links to more data:
	http://developer.osdl.org/markw/lvm2/blocks.html

Mark

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-03-29 22:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-26 22:00 PostgreSQL block size vs. LVM2 stripe width markw
2004-03-27 22:03 ` [HACKERS] " Manfred Koizar
2004-03-29 16:50   ` markw
2004-03-29 22:42     ` Manfred Koizar
2004-03-29 22:52   ` markw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox