pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Glyn Astill <glynastill@yahoo.co.uk>
To: pgsql-performance@postgresql.org
Subject: Linux: more cores = less concurrency.
Date: Mon, 11 Apr 2011 14:04:08 +0100 (BST)
Message-ID: <860299.67368.qm@web26003.mail.ukl.yahoo.com> (raw)

Hi Guys,

I'm just doing some tests on a new server running one of our heavy select functions (the select part of a plpgsql function to allocate seats) concurrently.  We do use connection pooling and split out some selects to slony slaves, but the tests here are primeraly to test what an individual server is capable of.

The new server uses 4 x 8 core Xeon X7550 CPUs at 2Ghz, our current servers are 2 x 4 core Xeon E5320 CPUs at 2Ghz.

What I'm seeing is when the number of clients is greater than the number of cores, the new servers perform better on fewer cores.

Has anyone else seen this behaviour?  I'm guessing this is either a hardware limitation or something to do with linux process management / scheduling? Any idea what to look into?

My benchmark utility is just using a little .net/npgsql app that runs increacing numbers of clients concurrently, each client runs a specified number of iterations of any sql I specify.

I've posted some results and the test program here:

http://www.8kb.co.uk/server_benchmarks/




view thread (51+ messages)  latest in thread

Message-ID: <860299.67368.qm@web26003.mail.ukl.yahoo.com>
Permalink:  ../860299.67368.qm@web26003.mail.ukl.yahoo.com/
Also on:    postgresql.org/message-id/860299.67368.qm@web26003.mail.ukl.yahoo.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: glynastill@yahoo.co.uk
  Subject: Re: Linux: more cores = less concurrency.
  In-Reply-To: <860299.67368.qm@web26003.mail.ukl.yahoo.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