Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1THLea-0000dH-I0 for pgsql-performance@postgresql.org; Thu, 27 Sep 2012 21:29:52 +0000 Received: from mail-la0-f46.google.com ([209.85.215.46]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1THLeY-00051X-Gi for pgsql-performance@postgresql.org; Thu, 27 Sep 2012 21:29:52 +0000 Received: by lagh6 with SMTP id h6so621483lag.19 for ; Thu, 27 Sep 2012 14:29:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=fyaxdkX1qFcBq24OvI0AmUE1a19jMbEMZz0sDcWzmKY=; b=sVB0wiQM3MZgHqQ0nt0e3xET1P2Gs5c7tcYNXiAy8AvZd99qE3EgPmgq6FReoFPVVq lFqoI/CzHZAaNEqmda+IjfjcAFeCxm5hsqlDR9pi3sXldc5oihgWqZIm32AMAyYUla5D CBhGazJ/zfru8blntipQj9H3gY6lOLD6EgUaGo1onpqfvgH5Ksjqbb0pDrkmns9VGc/L V343SChXA/tOr2BmOZD3kPa0dPt3fNeAaGx5I2k9YaZ2sczSc/L2+p/L7aNWbbd8KQGH RrqpUsNKL+fBjd41KtKyGPVrPSflw7aD+nanX3WCihPdmbD1GtMxZpZMA2Aveoi1gS73 A9Fg== Received: by 10.152.131.68 with SMTP id ok4mr4299740lab.47.1348781389764; Thu, 27 Sep 2012 14:29:49 -0700 (PDT) Received: from [192.168.20.5] (37-144-24-89.broadband.corbina.ru. [37.144.24.89]) by mx.google.com with ESMTPS id n6sm2039507lbm.0.2012.09.27.14.29.49 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 27 Sep 2012 14:29:49 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.1 \(1498\)) Subject: Re: hardware advice From: Evgeny Shishkin In-Reply-To: <5064C321.5080204@optionshouse.com> Date: Fri, 28 Sep 2012 01:29:48 +0400 Cc: Scott Marlowe , "M. D." , Craig James , Content-Transfer-Encoding: quoted-printable Message-Id: <550737B2-F6C9-4A4F-A1C5-E9C375B7BC17@gmail.com> References: <5064A4DC.5090304@turnkey.bz> <5064BB1E.4090904@turnkey.bz> <5064BEA6.3000506@optionshouse.com> <5064C321.5080204@optionshouse.com> To: X-Mailer: Apple Mail (2.1498) X-Pg-Spam-Score: -2.7 (--) X-Archive-Number: 201209/179 X-Sequence-Number: 47925 On Sep 28, 2012, at 1:20 AM, Shaun Thomas = wrote: > On 09/27/2012 04:08 PM, Evgeny Shishkin wrote: >=20 >> from benchmarking on my r/o in memory database, i can tell that 9.1 >> on x5650 is faster than 9.2 on e2440. >=20 > How did you run those benchmarks? I find that incredibly hard to = believe. Not only does 9.2 scale *much* better than 9.1, but the E5-2440 = is a 15MB cache Sandy Bridge, as opposed to a 12MB cache Nehalem. = Despite the slightly lower clock speed, you should have much better = performance with 9.2 on the 2440. >=20 > I know one thing you might want to check is to make sure both servers = have turbo mode enabled, and power savings turned off for all CPUs. = Check the BIOS for the CPU settings, because some motherboards and = vendors have different defaults. I know we got inconsistent and much = worse performance until we made those two changes on our HP systems. >=20 > We use pgbench for benchmarking, so there's not anything I can really = send you. :) Yes, on pgbench utilising cpu to 80-90% e2660 is better, it goes to 140k = ro tps, so scalability is very very good. But i talk about real oltp ro query. Single threaded. And cpu clock was = real winner.=