pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Subject: User concurrency thresholding: where do I look?
Date: Thu, 19 Jul 2007 08:28:59 -0700
Message-ID: <200707190828.59088.josh@agliodbs.com> (raw)

Folks,

I've run into this a number of times with various PostgreSQL users, so we 
tested it at Sun.  What seems to be happening is that at some specific number 
of connections average throughput drops 30% and response time quadruples or 
worse.  The amount seems to vary per machine; I've seen it as variously 95, 
1050, 1700 or 2800 connections.  Tinkering with postgresql.conf parameters 
doesn't seem to affect this threshold.

As an example of this behavior:

Users	Txn/User  Resp. Time
50	105.38	0.01
100	113.05	0.01
150	114.05	0.01
200	113.51	0.01
250	113.38	0.01
300	112.14	0.01
350	112.26	0.01
400	111.43	0.01
450	110.72	0.01
500	110.44	0.01
550	109.36	0.01
600	107.01	0.02
650	105.71	0.02
700	106.95	0.02
750	107.69	0.02
800	106.78	0.02
850	108.59	0.02
900	106.03	0.02
950	106.13	0.02
1000	64.58	0.15
1050	52.32	0.23
1100	49.79	0.25

Tinkering with shared_buffers has had no effect on this threholding (the above 
was with 3gb to 6gb of shared_buffers).   Any ideas on where we should look 
for the source of the bottleneck?

-- 
Josh Berkus
PostgreSQL @ Sun
San Francisco



view thread (58+ messages)  latest in thread

Message-ID: <200707190828.59088.josh@agliodbs.com>
Permalink:  ../200707190828.59088.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200707190828.59088.josh@agliodbs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: josh@agliodbs.com
  Subject: Re: User concurrency thresholding: where do I look?
  In-Reply-To: <200707190828.59088.josh@agliodbs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox