Re: PostgreSQL 9.0 x64 bit pgbench TPC very low question? - Mailing list pgsql-performance

From tuanhoanganh
Subject Re: PostgreSQL 9.0 x64 bit pgbench TPC very low question?
Date
Msg-id AANLkTinfGOb8SRnf=1rKh5nJAqYZWaGeieH12DyDUxQg@mail.gmail.com
Whole thread Raw
In response to Re: PostgreSQL 9.0 x64 bit pgbench TPC very low question?  (Ivan Voras <ivoras@freebsd.org>)
Responses Re: PostgreSQL 9.0 x64 bit pgbench TPC very low question?  (Scott Marlowe <scott.marlowe@gmail.com>)
Re: PostgreSQL 9.0 x64 bit pgbench TPC very low question?  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-performance
Here is my new pgbench's point

pgbench -h 127.0.0.1 -p 9999 -U postgres -c 200 -t 100 -s 10 pgbench

Scale option ignored, using pgbench_branches table count = 10
starting vacuum...end.
transaction type: TPC-B (sort of)
scaling factor: 10
query mode: simple
number of clients: 200
number of threads: 1
number of transactions per client: 100
number of transactions actually processed: 20000/20000
tps = 202.556936 (including connections establishing)
tps = 225.498811 (excluding connections establishing)

PostgreSQL config with pgtune
default_statistics_target = 100 # pgtune wizard 2010-12-15
maintenance_work_mem = 480MB # pgtune wizard 2010-12-15
constraint_exclusion = on # pgtune wizard 2010-12-15
checkpoint_completion_target = 0.9 # pgtune wizard 2010-12-15
effective_cache_size = 2816MB # pgtune wizard 2010-12-15
work_mem = 8MB # pgtune wizard 2010-12-15
wal_buffers = 32MB # pgtune wizard 2010-12-15
checkpoint_segments = 64 # pgtune wizard 2010-12-15
shared_buffers = 960MB # pgtune wizard 2010-12-15
max_connections = 254 # pgtune wizard 2010-12-15

I have server computer install Windows 2008R2, PostgreSQL 9.0.1 64 bit, 8G RAM, RAID 10 - 4 disks

Is it common pgbench 's point with my server ?

Thanks you very much.

Tuan Hoang Anh

On Sun, Dec 19, 2010 at 5:27 AM, Ivan Voras <ivoras@freebsd.org> wrote:
On 12/18/10 20:42, tuanhoanganh wrote:
Here is my result without -C
pgbench -h 127.0.0.1 -p 9999 -U postgres -c 100 -t 10 -s 10 pgbench

You really should replace "-t 10" with something like "-T 60" or more.


--
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance

pgsql-performance by date:

Previous
From: Mladen Gogala
Date:
Subject: Re: CPU bound
Next
From: Scott Marlowe
Date:
Subject: Re: PostgreSQL 9.0 x64 bit pgbench TPC very low question?