Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X9ER3-0001kE-NI for pgsql-performance@arkaria.postgresql.org; Mon, 21 Jul 2014 14:19:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X9ER3-0006CU-3s for pgsql-performance@arkaria.postgresql.org; Mon, 21 Jul 2014 14:19:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X9ER0-00069o-U2 for pgsql-performance@postgresql.org; Mon, 21 Jul 2014 14:19:23 +0000 Received: from nm19-vm4.bullet.mail.ne1.yahoo.com ([98.138.91.179]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X9EQv-0005An-8b for pgsql-performance@postgresql.org; Mon, 21 Jul 2014 14:19:21 +0000 Received: from [98.138.100.113] by nm19.bullet.mail.ne1.yahoo.com with NNFMP; 21 Jul 2014 14:19:14 -0000 Received: from [98.138.88.234] by tm104.bullet.mail.ne1.yahoo.com with NNFMP; 21 Jul 2014 14:19:13 -0000 Received: from [127.0.0.1] by omp1034.mail.ne1.yahoo.com with NNFMP; 21 Jul 2014 14:19:13 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 523925.4127.bm@omp1034.mail.ne1.yahoo.com Received: (qmail 35368 invoked by uid 60001); 21 Jul 2014 14:19:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1405952353; bh=kRE6JU4bTF2luzd8tSnmnMmnLXwCStp0p7VZ8llljQc=; h=References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=oJVuf89lZkfu7AfGc7QPQJfiOdHZaMIbUTEKXZQ8ccwEXm49XHRzwDdv16vHKdY7NdVxuL6nxD+UU7Ry21lcSkoueZZ48274nO+Emc4aFLrLU0eW4xKbrWqIKITt1/bfIrdu1M+ehXW1YdD5Xx7+OVhZDaOzEP0sWmprsWlMxwY= X-YMail-OSG: sMundi0VM1lgPljTNuogtAlv_RduV8RKhYdV9jxf7n4D1VM qmJ3cMCEkcKk9QYepU.p97g3bgNEATUMkRnHjXERPmyypZVStRREeWokp4wQ c.RG30V.CT2d0X7vp5_CqFJGxaSiIui4nnOJjry_QZB4F8.E2nZJWP2U70yV jFNUuxBX4ImziwJ_33d0M0VKS31UGbtHjFpgIDRx8ZGDi6FXhcHtudRJHaUy Jh1yK9_WMwtdYhp3HuPQoron1E2PeLTJapD8AK3mikFgF7F_8zu6CSC_xuMQ 7t2ixoxyuhhyfF45HWClxfQywF9z1889cgdaFQiUeeJosJRfGIyTwdir0Zwu LCgt3eSBDIftPBQ1jOUTKqLHDNk7BtMk26KdlCR79s3mSgaKK4BK..Za8cR2 Alk2tpgHQ5udthj3V73OFiKzCR21ISFxNdD125pjJg5u13LJs4OeRUQsHPP7 uIDLtQgvXbFHnYTMdyV8a09IXgWHjWQ5GXWGgkoVnQFMKGXEVC9bSim67yXF Suizt6psISisDoGAGZHxgu.iu.IIYRgXC6rHWIm4kaAu2fSBBpqAviIn6Tg1 cWDCBGMyhJmx9BWcpTMztr4R48iqflLSHG0og2dAy_cqrEeaY_OZgmdgMLf8 oiv7bof3dDKVWbm8fuLOk28rAZyMSCADBNaomGIGv5EP1Io6fu2MpCe6mxGL E201b.Q.9lm6dF7KcTiHEFMb2lExXiekquirPZNqQPzyIutuRMfgmwj9sWyE fbg-- Received: from [24.178.25.147] by web122302.mail.ne1.yahoo.com via HTTP; Mon, 21 Jul 2014 07:19:13 PDT X-Rocket-MIMEInfo: 002.001, TWFyayBLaXJrd29vZCA8bWFyay5raXJrd29vZEBjYXRhbHlzdC5uZXQubno.IHdyb3RlOgo.IE9uIDEyLzA3LzE0IDAxOjE5LCBLZXZpbiBHcml0dG5lciB3cm90ZToKPj4KPj4gSXQgbWlnaHQgYmUgd29ydGggYSB0ZXN0IHVzaW5nIGEgY3B1c2V0IHRvIGludGVybGVhdmUgT1MgY2FjaGUgYW5kCj4.IHRoZSBOVU1BIHBhdGNoIEkgc3VibWl0dGVkIHRvIHRoZSBjdXJyZW50IENGIHRvIHNlZSB3aGV0aGVyIHRoaXMgaXMKPj4gZ2V0dGluZyBpbnRvIHRlcnJpdG9yeSB3aGVyZSB0aGUgcGF0Y2ggbWFrZXMgYSABMAEBAQE- X-Mailer: YahooMailWebService/0.8.195.680 References: <53ACB190.2030206@catalyst.net.nz> <53ACD6C4.9050605@catalyst.net.nz> <20140627091951.GA16680@awork2.anarazel.de> <53B283F3.7020005@catalyst.net.nz> <20140701101307.GO21422@awork2.anarazel.de> <53BF326F.2070903@catalyst.net.nz> <20140711082207.GI17261@awork2.anarazel.de> <53BFA63C.60909@catalyst.net.nz> <1405084749.26978.YahooMailNeo@web122306.mail.ne1.yahoo.com> <53C71429.3000107@catalyst.net.nz> Message-ID: <1405952353.75554.YahooMailNeo@web122302.mail.ne1.yahoo.com> Date: Mon, 21 Jul 2014 07:19:13 -0700 From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: 60 core performance with 9.3 To: Mark Kirkwood , Andres Freund Cc: "pgsql-performance@postgresql.org" In-Reply-To: <53C71429.3000107@catalyst.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org Mark Kirkwood wrote: > On 12/07/14 01:19, Kevin Grittner wrote: >> >> It might be worth a test using a cpuset to interleave OS cache and >> the NUMA patch I submitted to the current CF to see whether this is >> getting into territory where the patch makes a bigger difference. >> I would expect it to do much better than using numactl --interleave >> because work_mem and other process-local memory would be allocated >> in "near" memory for each process. >> > http://www.postgresql.org/message-id/1402267501.41111.YahooMailNeo@web122= 304.mail.ne1.yahoo.com > > Thanks Kevin - I did try this out - seemed slightly better than using > --interleave, but almost identical to the results posted previously. > > However looking at my postgres binary with ldd, I'm not seeing any link > to libnuma (despite it demanding the library whilst building), so I > wonder if my package build has somehow vanilla-ified the result :-( That is odd; not sure what to make of that! > Also I am guessing that with 60 cores I do: > > $ sudo /bin/bash -c "echo 0-59 >/dev/cpuset/postgres/cpus" > > i.e cpus are cores not packages...? Right; basically, as a guide, you can use the output from: $ numactl --hardware Use the union of all the "cpu" numbers from the "node n cpus" lines.=A0 The above statement is also a good way to see how unbalance memory usage has become while running a test. -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company --=20 Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance