Tom Lane wrote:
> Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> > I have made a new version of pgbench which allows not to update
> > branches and tellers tables, which should significantly reduce the
> > contentions.
>
> I used this version of pgbench in some fresh runs on RedHat's 4-way SMP
> Linux box. I did several test runs under varying conditions (pgbench
> scale 500 or 50, checkpoint_segments/wal_files either default 3/0 or
> 30/5, fsync on or off). I compared current CVS tip (including the
> now-committed lwlock rev 2 patch) to 7.1.3. The results are attached.
> As you can see, current beats 7.1 pretty much across the board on that
> hardware. The reason seems to be revealed by looking at vmstat output.
> Typical "vmstat 5" output for 7.1.3 (here in a 6-client pgbench -N
> run) is
Those are dramatic graphs. Is it the WAL increase that made 7.2 much
faster?
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026