Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X5ajT-000727-TI for pgsql-performance@arkaria.postgresql.org; Fri, 11 Jul 2014 13:19:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X5ajT-0004wB-6A for pgsql-performance@arkaria.postgresql.org; Fri, 11 Jul 2014 13:19:23 +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 1X5ajS-0004w5-6b for pgsql-performance@postgresql.org; Fri, 11 Jul 2014 13:19:22 +0000 Received: from nm6-vm1.bullet.mail.ne1.yahoo.com ([98.138.91.71]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1X5ajI-0001h3-Pw for pgsql-performance@postgresql.org; Fri, 11 Jul 2014 13:19:21 +0000 Received: from [98.138.101.132] by nm6.bullet.mail.ne1.yahoo.com with NNFMP; 11 Jul 2014 13:19:09 -0000 Received: from [98.138.89.162] by tm20.bullet.mail.ne1.yahoo.com with NNFMP; 11 Jul 2014 13:19:09 -0000 Received: from [127.0.0.1] by omp1018.mail.ne1.yahoo.com with NNFMP; 11 Jul 2014 13:19:09 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 212204.71437.bm@omp1018.mail.ne1.yahoo.com Received: (qmail 79080 invoked by uid 60001); 11 Jul 2014 13:19:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1405084749; bh=7wiQKu9g9coqKWLHtOF43RPPL8NkazDIvs483sfFf30=; h=References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=eFiL+qSIh5aSIgD2tcMac2vQ5lqVhI4SAO7rzGCyweeNZktOl6J/MJDQTD/CcoEFeR4JYTwK0ixrwmg6asnJiufX2bmTeOTSlj1nPmR+bJfUG/KQ55mDbrl6qwnPHynDXdqJ79xBBlRV7yh965fXI4FGYQx/7G9XMp4nWKOTWGE= X-YMail-OSG: YBZwx4AVM1kPUmAUN85PqguXQVsMMnRVgZytKSwIsRzn6p. z7PmfNY8wwTwlPrdOsoZ8wf8KXXKoN09NgVJoQ6njeBKdiH0uIfVIZow8l.A 5nFKOLo1Z9VB789jXL97DiKD9gKePN72OhNHNOpPa12kNJEJt5aFuYEkKU1o CRGi_vYe06OxPnItEqOruk_faxdf3H64mnXnG94VgU6oz5fIgveTyZPcMMvI E7h5jFEYa6a8O8CaX0O7PhhwLY4w.deAMVBljmjQkPnl_GmCw5wouDiCeveC tKsIzKO6ZpTp0ckz4q.Pmk6DqvTUHETk.8TCoVOzqbkkJjCN5YhtoC_06gdI WB3nHRcHf7xgjV0cJGQ8_5m5uABYYTQMlAoHRVE8L8w1gr3v3nnCjAzPlX.i KjYdNrH0YofBzxXgLtOr4HP6nHUJhxMJ62zS8YhdkqRIJzaaxN9My0Ml2TYX RyF35me8O8EYC8nd_0pNa6cfSDRxXYjL7EKqXvrrFhxEMXluwYOBoLkzJ8YT ThWexYe7km7Qo0n4DI0lt7c9Du8evWKJ9fzBKsgeZgzyibS8Q_QVWuexelEo CbKeCn3sKMwBh3OhSGy_YXBTiCUyqfi8Ab4glfmuLt3saXgguhEHBLJKKuI_ cT_v_54JmdnMX9xsWQdkm5ndXSGo91RJjjQD_Krho4CsR_hIC5WojAJCqnWD WJ6zpUYZBoIKOISdrs3Zgi8SU.UM0D17RnCa0bDWzXhIVMBsc1hSOPg-- Received: from [24.178.25.147] by web122306.mail.ne1.yahoo.com via HTTP; Fri, 11 Jul 2014 06:19:09 PDT X-Rocket-MIMEInfo: 002.001, TWFyayBLaXJrd29vZCA8bWFyay5raXJrd29vZEBjYXRhbHlzdC5uZXQubno.IHdyb3RlOgo.IE9uIDExLzA3LzE0IDIwOjIyLCBBbmRyZXMgRnJldW5kIHdyb3RlOgoKPj4gU28sIHRoZSBtYWpvcml0eSBvZiB0aGUgdGltZSBpcyBzcGVudCBpbiBudW1hIHBhZ2UgbWlncmF0aW9uLgo.PiBDYW4geW91IGRpc2FibGUgbnVtYV9iYWxhbmNpbmc_IEknbSBub3Qgc3VyZSBpZiB5b3VyIGtlcm5lbAo.PiB2ZXJzaW9uIGRvZXMgdGhhdCBhdCBydW50aW1lIG9yIHdoZXRoZXIgeW91IG5lZWQgdG8gcmVib290Lgo.PiABMAEBAQE- X-Mailer: YahooMailWebService/0.8.194.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> Message-ID: <1405084749.26978.YahooMailNeo@web122306.mail.ne1.yahoo.com> Date: Fri, 11 Jul 2014 06:19:09 -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: <53BFA63C.60909@catalyst.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 11/07/14 20:22, Andres Freund wrote: >> So, the majority of the time is spent in numa page migration. >> Can you disable numa_balancing? I'm not sure if your kernel >> version does that at runtime or whether you need to reboot. >> The kernel.numa_balancing sysctl might work. Otherwise you >> probably need to boot with numa_balancing=0. >> >> It'd also be worthwhile to test this with numactl --interleave. > > That was my feeling too - but I had no idea what the magic switch > was to tame it (appears to be in 3.13 kernels), will experiment > and report back. Thanks again! 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@web122304.mail.ne1.yahoo.com -- Kevin Grittner EDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance