Re: Insert Performance with WAL and Fsync

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mike Schroepfer <mike(at)raplix(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Insert Performance with WAL and Fsync
Date: 2002-01-11 00:45:04
Message-ID: 25831.1010709904@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mike Schroepfer <mike(at)raplix(dot)com> writes:
> b.1) 32tps 7.1.2 on the dual processor box again
> b.2) 31tps 7.2 tip of cvs on the dual processor box

> So 7.2 doesn't appear to help.

Mmm, yeah, I missed that you were only looking at the single-client
case; so the extra CPU has nothing to do anyway, and there's no spinlock
contention to cause a problem. Most of the work we've been doing for
7.2 was concerned with improving multi-client performance. But still,
seems odd that you can't do better than 32 tps on this setup.

> b.3) output of vmstat 5 during b.1:

> procs memory page disk faults cpu
> r b w swap free re mf pi po fr de sr s0 s1 s6 -- in sy cs us sy
> id
> 0 0 0 2140760 1820952 2 15 1 1 1 0 0 2 0 0 0 430 130 71 1 1
> 99
> 0 0 0 2093696 1690392 15 128 0 91 91 0 0 128 0 0 0 1232 1886 894 11 3
> 86

What are the "disk" numbers in this variant of vmstat? Given the low
CPU usage, one would hope that your disk is going flat out ... but if
128 is page transfers per second, it's not very impressive...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jelan 2002-01-11 01:06:02 Re: URGENT: pg_dump & Postgres 7.2b4
Previous Message GoodleafJ 2002-01-11 00:41:31 Can't load plperl.so