Re: Linux: more cores = less concurrency.

From: "F(dot) BROUARD / SQLpro" <sqlpro(at)club-internet(dot)fr>
To:
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Linux: more cores = less concurrency.
Date: 2011-04-12 16:58:47
Message-ID: 4DA484C7.7020803@club-internet.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi,

I think that a NUMA architecture machine can solve the problem....

A +
Le 11/04/2011 15:04, Glyn Astill a écrit :
>
> 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/
>
>

--
Frédéric BROUARD - expert SGBDR et SQL - MVP SQL Server - 06 11 86 40 66
Le site sur le langage SQL et les SGBDR : http://sqlpro.developpez.com
Enseignant Arts & Métiers PACA, ISEN Toulon et CESI/EXIA Aix en Provence
Audit, conseil, expertise, formation, modélisation, tuning, optimisation
*********************** http://www.sqlspot.com *************************

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Smith 2011-04-12 17:00:39 Re: Linux: more cores = less concurrency.
Previous Message Claudio Freire 2011-04-12 16:43:55 Re: Linux: more cores = less concurrency.