Re: Improve catcache/syscache performance.

From: tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Improve catcache/syscache performance.
Date: 2017-09-26 10:41:58
Message-ID: e58c4c27-b69e-2ec4-5307-e0130010250f@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09/22/2017 11:45 AM, Andres Freund wrote:
> Here's a variant that cleans up the previous changes a bit, and adds
> some further improvements:

I tested with different pgbench options with master v/s patch and found an improvement. I have applied 001 and 003 patch on PG Head ,patch 0002 was already committed.

Virtual Machine configuration - Centos 6.5 x64 / 16 GB RAM / 8 VCPU core processor

Scaling factor=30

pgbench -M prepared -T 200 postgres

PG Head - tps = 902.225954 (excluding connections establishing).
PG HEAD+patch - tps = 1001.896381 (10.97+% vs. head)

pgbench -M prepared -T 300 postgres

PG Head - tps = 920.108333 (excluding connections establishing).
PG HEAD+patch - tps = 1023.89542 (11.19+% vs. head)

pgbench -M prepared -T 500 postgres

PG Head - tps = 995.178227 (excluding connections establishing)
PG HEAD+patch - tps = 1078.32222 (+8.34% vs. head)

Later I modified the create_many_cols.sql file (previously attached) and instead of
only using int , I mixed it with varchar/int4/numeric/float and run pgbench
with different time duration

pgbench -M prepared -f /tmp/pgbench-many-cols.sql -T 300 postgres

PG Head - tps = 5540.143877 (excluding connections establishing).
PG HEAD+patch - tps = 5679.713493 (2.50+% vs. head)

pgbench -M prepared -f /tmp/pgbench-many-cols.sql -T 500 postgres

PG Head - tps = 5519.212709 (excluding connections establishing).
PG HEAD+patch - tps = 5967.059155 (8.11+% vs. head)

pgbench -M prepared -f /tmp/pgbench-many-cols.sql -T 700 postgres

PG Head - tps = 5640.314495(excluding connections establishing).
PG HEAD+patch - tps = 6012.223147 (6.59+% vs. head)

-- regards,tushar
EnterpriseDBhttps://www.enterprisedb.com/
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message amul sul 2017-09-26 11:30:28 Re: Improve catcache/syscache performance.
Previous Message Masahiko Sawada 2017-09-26 10:04:05 Re: logical replication and statistics