Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 8BF341337C12 for ; Mon, 11 Apr 2011 17:17:19 -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 13669-10 for ; Mon, 11 Apr 2011 20:17:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from nm19-vm1.bullet.mail.ukl.yahoo.com (nm19-vm1.bullet.mail.ukl.yahoo.com [217.146.183.114]) by mail.postgresql.org (Postfix) with SMTP id EB2A41337BB7 for ; Mon, 11 Apr 2011 17:17:05 -0300 (ADT) Received: from [217.146.183.217] by nm19.bullet.mail.ukl.yahoo.com with NNFMP; 11 Apr 2011 20:17:05 -0000 Received: from [217.146.183.171] by tm10.bullet.mail.ukl.yahoo.com with NNFMP; 11 Apr 2011 20:17:05 -0000 Received: from [127.0.0.1] by omp1012.mail.ukl.yahoo.com with NNFMP; 11 Apr 2011 20:17:05 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 90265.27950.bm@omp1012.mail.ukl.yahoo.com Received: (qmail 38028 invoked by uid 60001); 11 Apr 2011 20:17:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1302553024; bh=1xu9PuvXmYOdL45wjOYDD0Hoqd2Y3ooYBOuxmO0j/cg=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=AxhGa6TNw3vv0uZIuFmaFy+iRgg5mDzPLqCj7tCDUAAT3hEfBMqtQiZXrsQpoj4CRgk33AvJiPhLV4E67//c9/uT+311WgAGDAJfzzxw+ToRPe10edsEvPvQrAlOAe3zVa+nKATw+Mv6V8pEYEjVQcpeFPoQBHMOka/HFW0rHRo= 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:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4vKsy1xv7uKf9Ci9jPIW88c/ddhjV4s8nFRxOLLJWOQInJSXmY6Y9EOkv9M5gxjjdus+bbWTLZHBzwRC7SpSDjz+QbDDkbed0MRbY7Pcx4wJv4ra8X6xH12lTwdJB3crdfq+IAMcCiwarqfjVLqLUb5+rw4PGeKRb6NoMEzFn7o=; Message-ID: <976931.36062.qm@web26004.mail.ukl.yahoo.com> X-YMail-OSG: YA_c1ZkVM1kdqXQi_A3GhH.cHTyETEeZmaqL_fBby1Z7C0c GnXqvtYcMmx.7PbXuCVTfVdvRz0Xb3p0ULKHchjVpJiur9NSaV28urKZpfte lP2t4MVoe6CTvrYbKRVKkOZi_9aafGSrchkr7qOGOJEeIya9gAqN8W6K2iMV RhT6uIHgjcPqtY4u1tPZyxrO2foVpziOodcaRDFwChVuw6kKFdXi9LVZ.Deh tc3vRsv1Q_doIF1EXgN6uY6ZmNBTwawLOT7esoG5REHq6U2KovkaEDiJmFZi t6lnH_4cOwfIksfnReFGOhvxorTe6dT3B3UFr6Gh0d7Wc8QufGvkgqnZKXpq s8ozwkxeWr9K1SlfszH1oDclmsw-- Received: from [81.98.134.44] by web26004.mail.ukl.yahoo.com via HTTP; Mon, 11 Apr 2011 21:17:04 BST X-Mailer: YahooMailClassic/12.0.2 YahooMailWebService/0.8.109.295617 Date: Mon, 11 Apr 2011 21:17:04 +0100 (BST) From: Glyn Astill Subject: Re: Linux: more cores = less concurrency. To: Steve Clark , david@lang.hm Cc: Scott Marlowe , "Joshua D. Drake" , Kevin Grittner , pgsql-performance@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.898 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 X-Spam-Level: X-Archive-Number: 201104/120 X-Sequence-Number: 43182 --- On Mon, 11/4/11, david@lang.hm wrote:=0A=0A> From: davi= d@lang.hm =0A> Subject: Re: [PERFORM] Linux: more cores =3D = less concurrency.=0A> To: "Steve Clark" =0A> Cc: "Sco= tt Marlowe" , "Joshua D. Drake" , "Kevin Grittner" , pgsql-performance@pos= tgresql.org, "Glyn Astill" =0A> Date: Monday, 11 Ap= ril, 2011, 21:04=0A> On Mon, 11 Apr 2011, Steve Clark=0A> wrote:=0A> =0A> t= he limit isn't 8 cores, it's that the hyperthreaded cores=0A> don't work we= ll with the postgres access patterns.=0A> =0A=0AThis has nothing to do with= hyperthreading. I have a hyperthreaded benchmark purely for completion, bu= t can we please forget about it.=0A=0AThe issue I'm seeing is that 8 real c= ores outperform 16 real cores, which outperform 32 real cores under high co= ncurrency.=0A=0A32 cores is much faster than 8 when I have relatively few c= lients, but as the number of clients is scaled up 8 cores wins outright.=0A= =0AI was hoping someone had seen this sort of behaviour before, and could o= ffer some sort of explanation or advice.