Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cdJ9j-0004eB-FS for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Feb 2017 16:07:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cdJ9j-0000NB-2D for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Feb 2017 16:07:11 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cdJ9i-0000N5-AD for pgsql-hackers@postgresql.org; Mon, 13 Feb 2017 16:07:10 +0000 Received: from mail-qt0-x235.google.com ([2607:f8b0:400d:c0d::235]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cdJ9f-0007Hb-Gw for pgsql-hackers@postgresql.org; Mon, 13 Feb 2017 16:07:08 +0000 Received: by mail-qt0-x235.google.com with SMTP id k15so87324445qtg.3 for ; Mon, 13 Feb 2017 08:07:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=D0WkuIHjJqbmsSvKV+NQr/0y40tN10pg46SIWAx/2Yw=; b=iTROoeOmuGuffTm6WK1A/RkmLUSZL9jublGf+sqW1rFR3ymwkWxDvjUoJDYQi3t/hp 4QECzD1NXjKrVSf5d88C+mEhhMyWQ2Xbh0JIjR/MIC51q9U56xQJ6ON7TgC/it2p++YI XIKj3380PYs2oWdJcY/VE367RII6IQmQc8emFKA8HnJHn1lZueYaicw8+qDZC92162JX GoAD1of5O1MdGHvFKA3cKiCyG0+wM+JHxMo6qysbAhVJRKOjKzjY/T7csAkWW/mcbW3m PVn6NVVLLDgMoDj8f70Bqvbl3Q4R4aIt6cBsKBU23CpMrnp8+lSKZWQJDEXSBVINaP8u pVZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=D0WkuIHjJqbmsSvKV+NQr/0y40tN10pg46SIWAx/2Yw=; b=PEaPQYz6lV092IYYbbA3Ny4lmZDEJdjd4bwQMnMIn8vKOsn/ZDbIQ9Z9sVcbOX/9i9 LmvAM4bXIsPLibsD/UXYbElntIsJ9YKnFW96BvGA9GBuPMl0dh2rr8pXqa7cVKfqHY+k InmdXjsMh71dxEBwGsiNOC6rBd+kipjlBoUlDHMSLVevlahPdrYi4UE0JhQUXUMWCWtN ujNLUNo/2nOVllgMWjxJE2y/m7VFygoFW1Ml1Xf0g8wzDT4tIimSYhGx2N1o8FS6YuSp G4U/1r4O7pSmOwLFfP4K1aRzAYRysv8bHiAbQmnZ/mwskgDS7lwQQIwoN32RJN38kU+5 Kqog== X-Gm-Message-State: AMke39mfHVAKEmMtmmYfVu1+QUK504zdkpTlnvCgWhC6WzNGpriLdtA1hSiA5Ib5GB1cy8My X-Received: by 10.200.46.162 with SMTP id h31mr20971428qta.164.1487002026546; Mon, 13 Feb 2017 08:07:06 -0800 (PST) Received: from alvin.alvh.no-ip.org ([179.57.115.10]) by smtp.gmail.com with ESMTPSA id r144sm1194679qke.66.2017.02.13.08.07.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Feb 2017 08:07:06 -0800 (PST) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id AF52A8D4; Mon, 13 Feb 2017 13:07:04 -0300 (CLST) Date: Mon, 13 Feb 2017 13:07:04 -0300 From: Alvaro Herrera To: Alexander Korotkov Cc: Bernd Helmle , Tomas Vondra , pgsql-hackers Subject: Re: Should we cacheline align PGXACT? Message-ID: <20170213160704.eqwqt5uyvpodt3gf@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Alexander Korotkov wrote: > Yes, influence seems to be low. But nevertheless it's important to insure > that there is no regression here. > Despite pg_prewarm'ing and running tests 300s, there is still significant > variation. > For instance, with clients count = 80: > * pgxact-result-2.txt – 474704 > * pgxact-results.txt – 574844 > Could some background processes influence the tests? Or could it be > another virtual machine? > Also, I wonder why I can't see this variation on the graphs. > Another issue with graphs is that we can't see details of read and write > TPS variation on the same scale, because write TPS values are too low. I > think you should draw write benchmark on the separate graph. So, I'm reading that on PPC64 there is no effect, and on the "lesser" machine Tomas tested on, there is no effect either; this patch only seems to benefit Alexander's 72 core x86_64 machine. It seems to me that Andres comments here were largely ignored: https://www.postgresql.org/message-id/20160822021747.u5bqx2xwwjzac5u5@alap3.anarazel.de He was suggesting to increase the struct size to 16 bytes rather than going all the way up to 128. Did anybody test this? Re the coding of the padding computation, seems it'd be better to use our standard "offsetof(last-struct-member) + sizeof(last-struct-member)" rather than adding each of the members' sizes individually. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers