Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 7F3EE133740B for ; Mon, 11 Apr 2011 15:04:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 75032-02 for ; Mon, 11 Apr 2011 18:04:14 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from nm17.bullet.mail.ukl.yahoo.com (nm17.bullet.mail.ukl.yahoo.com [217.146.183.191]) by mail.postgresql.org (Postfix) with SMTP id 3D77C1337B43 for ; Mon, 11 Apr 2011 15:04:13 -0300 (ADT) Received: from [217.146.183.209] by nm17.bullet.mail.ukl.yahoo.com with NNFMP; 11 Apr 2011 13:04:09 -0000 Received: from [217.146.183.60] by tm2.bullet.mail.ukl.yahoo.com with NNFMP; 11 Apr 2011 13:04:08 -0000 Received: from [127.0.0.1] by omp1029.mail.ukl.yahoo.com with NNFMP; 11 Apr 2011 13:04:08 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 976810.85253.bm@omp1029.mail.ukl.yahoo.com Received: (qmail 74311 invoked by uid 60001); 11 Apr 2011 13:04:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1302527048; bh=/c5Ytm54kMGIIviX+rmQatt4y+vrcRTGH1AwOkthfcQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=up7sCzXakg9gPMmiawuuKQZ8dQolYPuYl7kOI1bKJ+0YawNIn4pb7I0Zip3kDCi76FjPe7BPftnXmcwMHtUOtxXUWFsSMmO4Rxh+CW/77sz18u4vucNRIhW/5kEQx9XrhjbFRiFW+7AiQaQ2h9MF1iLewQTaX0mUZ9EF33n+dKM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=qBYLcA/3aKrkvWbAqBDMuQ+9Ku+BezQ/NKr+MuKBnHVjiuNx6BWMxLmPO71wGEU9o547G9dRRleFY1wIvM/kVqX4oOvWlMTjogiugOOvvDo3fQky63NYjTbang5hWDbfcFuayMHSzPT1SqQDM7qNDaF/mimbYWru6tXzu1g/Atg=; Message-ID: <860299.67368.qm@web26003.mail.ukl.yahoo.com> X-YMail-OSG: evyEGrIVM1lLBPMmTcT3lUwVKsA9GOmWeyxYIm74P0x.Tte DnLmDK5IbGa8.kMXl1V1VL1qg0U3r.RuYx_xC.Jka2yVGndc7BTRpriDnZpc UmomgqgFs4XCiRtDkBjpETopxrJ9MsZo7jlmHvxlRi9sPGsN8t6zfurcpyLs GJll9Do5A1StjF2sRSDSIDJdfZ8728OUVVY1_6CmF6XQlzIupahK6CUI0ilO rCYBgWsymFsIHCtKo1JbKjlq.BYl76KhEwSF8nnMian_1Fa1veaSSJJf0L0J wIJwY54UPKUOCJTfJGFLb.fnYo1nl8RD83nYjUIXzCyykzvy1eF.63o_IkQq LIGeSgjtiwj2P2t5ZzLTs Received: from [83.100.146.195] by web26003.mail.ukl.yahoo.com via HTTP; Mon, 11 Apr 2011 14:04:08 BST X-Mailer: YahooMailClassic/12.0.2 YahooMailWebService/0.8.109.295617 Date: Mon, 11 Apr 2011 14:04:08 +0100 (BST) From: Glyn Astill Subject: Linux: more cores = less concurrency. To: pgsql-performance@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.888 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RFC_ABUSE_POST=0.001, T_TO_NO_BRKTS_FREEMAIL=0.01 X-Spam-Level: X-Archive-Number: 201104/107 X-Sequence-Number: 43169 Hi Guys,=0A=0AI'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 s= eats) concurrently.=A0 We do use connection pooling and split out some sele= cts to slony slaves, but the tests here are primeraly to test what an indiv= idual server is capable of.=0A=0AThe 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.= =0A=0AWhat I'm seeing is when the number of clients is greater than the num= ber of cores, the new servers perform better on fewer cores.=0A=0AHas anyon= e else seen this behaviour? I'm guessing this is either a hardware limitat= ion or something to do with linux process management / scheduling? Any idea= what to look into?=0A=0AMy benchmark utility is just using a little .net/n= pgsql app that runs increacing numbers of clients concurrently, each client= runs a specified number of iterations of any sql I specify.=0A=0AI've post= ed some results and the test program here:=0A=0Ahttp://www.8kb.co.uk/server= _benchmarks/=0A