Re: Bgwriter behavior - Mailing list pgsql-hackers

From John Hansen
Subject Re: Bgwriter behavior
Date
Msg-id 1104271086.2196.7.camel@localhost.localdomain
Whole thread Raw
In response to Re: Bgwriter behavior  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Bgwriter behavior
List pgsql-hackers
> > > 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
> > > 

don't you have to specify the scaling factor for the benchmark as well?
as in pgbench -c 10 -t 10000 -s 10 bench ?

> I just tried and got 115tps with fsync off vs 100 with fsync on, so
> fsync is certainly doing something.

well, I usually get results that differ by that much from run to run.
Probably you ran in to more checkpoints on the second test.

Also, did you reinitialize the bench database with pgbench -i ?

... John



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: buildfarm NetBSD/m68k tsearch regression failure
Next
From: Bruce Momjian
Date:
Subject: Re: Bgwriter behavior