Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 3283C1337999 for ; Mon, 11 Apr 2011 21:06:35 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 69713-07 for ; Tue, 12 Apr 2011 00:06:28 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-gx0-f174.google.com (mail-gx0-f174.google.com [209.85.161.174]) by mail.postgresql.org (Postfix) with ESMTP id C3FB91337990 for ; Mon, 11 Apr 2011 21:06:26 -0300 (ADT) Received: by gxk21 with SMTP id 21so2356331gxk.19 for ; Mon, 11 Apr 2011 17:06:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding :x-mailer:thread-index:content-language; bh=/LrzL6McfLLv+D3YZfWvyQ0SYCM1TSbsCDHP6flWwC0=; b=xJoLzzlezxU3QNj3ZqE0HrkJNFMju8rAi+xW3KBp9fPDlO1Q2/DJ/FTLbCF3Lgd6uJ +2tXnr89IhvxQ9ukXn6BacojrBWj7OG3CqfClCJhCHxl6pmgNfjm6NHIz0MxwnlNY+4/ P8G89qnCDkyX3/6jhC2WSeszPTkkSDWkMX1N8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :thread-index:content-language; b=UsEYBtbLMWhKawWHJo0nH2o1MUaIleGBBDzR909JjHMvrfVs3F9wrHEx0wYDS4mdLL Lw+13pboWzop5s+DBfd2p9giWaAJhg4lGFLohRmimwaGl6GaKRPE9NFYsPIBtsgZSa5b ZvjoxJ0F8OQKcTI3hfOhHFLMkDQPL9aCoBWsc= Received: by 10.236.153.162 with SMTP id f22mr2457228yhk.205.1302566785776; Mon, 11 Apr 2011 17:06:25 -0700 (PDT) Received: from Duality (174-29-69-53.hlrn.qwest.net [174.29.69.53]) by mx.google.com with ESMTPS id t35sm2779474yhg.29.2011.04.11.17.06.22 (version=SSLv3 cipher=OTHER); Mon, 11 Apr 2011 17:06:23 -0700 (PDT) From: "mark" To: "'Scott Marlowe'" , "'Glyn Astill'" Cc: "'Kevin Grittner'" , "'Joshua D. Drake'" , References: <8b76c51ad6db2e458431ef73bcdd2759@commandprompt.com> <895662.51387.qm@web26005.mail.ukl.yahoo.com> In-Reply-To: Subject: Re: Linux: more cores = less concurrency. Date: Mon, 11 Apr 2011 18:05:22 -0600 Message-ID: <028401cbf8a5$5260f7d0$f722e770$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acv4fuMbDfY7nNpiQV2cax9TpvagFQAJL/ng Content-Language: en-us X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001 X-Spam-Level: X-Archive-Number: 201104/133 X-Sequence-Number: 43195 > -----Original Message----- > From: pgsql-performance-owner@postgresql.org = [mailto:pgsql-performance- > owner@postgresql.org] On Behalf Of Scott Marlowe > Sent: Monday, April 11, 2011 1:29 PM > To: Glyn Astill > Cc: Kevin Grittner; Joshua D. Drake; pgsql-performance@postgresql.org > Subject: Re: [PERFORM] Linux: more cores =3D less concurrency. >=20 > On Mon, Apr 11, 2011 at 12:23 PM, Glyn Astill > wrote: > > > > > > --- On Mon, 11/4/11, Joshua D. Drake wrote: > > > >> From: Joshua D. Drake > >> Subject: Re: [PERFORM] Linux: more cores =3D less concurrency. > >> To: "Kevin Grittner" > >> Cc: pgsql-performance@postgresql.org, "Glyn Astill" > > >> Date: Monday, 11 April, 2011, 19:12 > >> On Mon, 11 Apr 2011 13:09:15 -0500, > >> "Kevin Grittner" > >> > >> wrote: > >> > Glyn Astill > >> wrote: > >> > > >> >> The new server uses 4 x 8 core Xeon X7550 CPUs at > >> 2Ghz > >> > > >> > Which has hyperthreading. > >> > > >> >> our current servers are 2 x 4 core Xeon E5320 CPUs > >> at 2Ghz. > >> > > >> > Which doesn't have hyperthreading. > >> > > > > > Yep, off. If you look at the benchmarks I took, HT absoloutely = killed > it. > > > >> > PostgreSQL often performs worse with hyperthreading > >> than without. > >> > Have you turned HT off on your new machine?=A0 If > >> not, I would start > >> > there. > >> > >> And then make sure you aren't running CFQ. > >> > >> JD > >> > > > > Not running CFQ, running the no-op i/o scheduler. >=20 > Just FYI, in synthetic pgbench type benchmarks, a 48 core AMD Magny > Cours with LSI HW RAID and 34 15k6 Hard drives scales almost linearly > up to 48 or so threads, getting into the 7000+ tps range. With SW > RAID it gets into the 5500 tps range. Just wondering, which LSI card ? Was this 32 drives in Raid 1+0 with a two drive raid 1 for logs or some other config? -M >=20 > -- > Sent via pgsql-performance mailing list (pgsql- > performance@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-performance