Re: Bgwriter behavior

From: John Hansen <john(at)geeknet(dot)com(dot)au>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Bgwriter behavior
Date: 2004-12-28 07:23:50
Message-ID: 1104218630.3105.7.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

> I ran some tests last week and can report results similar on Tom's test:
>
> pgbench -i -s 10 bench
> pgbench -c 10 -t 10000 bench
>
> The tests were on a machine with a single SCSI drive that doesn't lie
> about fsync. I found 7.4.X got around 75tps while 8.0 got 100tps, very
> similar to the 65/107 numbers Tom had.

You do realize, that pgbench result comparisons are about as useful as a
fork for eating soup?

On another note, how do you know for sure, that your drive does not lie
about fsync?

Did you run the tests with fsync turned off vs fsync on?

> First, I am confused why we have such a large improvement in 8.0. Does
> anyone know? This is a pretty long test so a 33-50% increase is a big
> jump.

bgwriter is responsible I imagine,... I experienced the same improvement
in an early 7.5, just after the bgwriter was added.
(tho my results was about 4-5 times higher in terms of tps rates, hehe)

... John

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2004-12-28 11:13:31 Re: Ready for RC3?
Previous Message Benjamin Arai 2004-12-28 02:02:59 Where do I get the spec for PostgreSQL

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-12-28 18:04:54 Re: Bgwriter behavior
Previous Message Bruce Momjian 2004-12-27 22:56:33 Re: RC2 and open issues