Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fuRkk-0008E8-FE for pgsql-general@arkaria.postgresql.org; Tue, 28 Aug 2018 00:21:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fuRki-0005bF-4W for pgsql-general@arkaria.postgresql.org; Tue, 28 Aug 2018 00:21:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fuRkh-0005b8-CP for pgsql-general@lists.postgresql.org; Tue, 28 Aug 2018 00:20:59 +0000 Received: from resqmta-po-05v.sys.comcast.net ([2001:558:fe16:19:96:114:154:164]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fuRkc-000212-QG for pgsql-general@postgresql.org; Tue, 28 Aug 2018 00:20:58 +0000 Received: from resomta-po-07v.sys.comcast.net ([96.114.154.231]) by resqmta-po-05v.sys.comcast.net with ESMTP id uQGCfaq7tteOquRkWfTpsl; Tue, 28 Aug 2018 00:20:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1535415648; bh=SxfEauIWtC3tKiEXQpp1hxFS12Gm75PF2Wv8mjl6VNY=; h=Received:Received:Date:From:Reply-To:To:Message-ID:Subject: MIME-Version:Content-Type; b=e9qQp6VvMLQ+lVPlKQ/2q57EneQFpMxx69JZr8igVU1LHFwNporL57/2HEfUwQOzp W6Uq+g68tXWJZTVhPAEcdrcCW/NRXNb9vIEEUM7MhWMwZecVilbt2jiy2MSuHQbRXt GcvrTMiVBl94MeKGedhk+8eBiBxT/WXfnxqFYqkivW1atfLf/uqNQj4/ooPRBU5u/4 e20H2Uv1zGErsotzgQ9fYRLp12pTcDnzG07hhJo1OeeuYJLiwC77bskRgCcTZwEjNc qdgNzZCzpbHXte9SJQ3MVspfHTtVP5NLyPlLNZEgQvRDc5XTju4h1lecleEsJLn38M 8FOHHm4Gdfy8w== Received: from oxapp-hoc-36o.email.comcast.net ([96.118.241.94]) by resomta-po-07v.sys.comcast.net with ESMTPS id uRkWf6nd30acxuRkWfVAre; Tue, 28 Aug 2018 00:20:48 +0000 Date: Mon, 27 Aug 2018 17:20:47 -0700 (PDT) From: Daniel Wood Reply-To: Daniel Wood To: pgsql-general@postgresql.org Message-ID: <1080446213.431647.1535415648119@connect.xfinity.com> Subject: First steps to being a contributer MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_431646_710205368.1535415648114" X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev26 X-Originating-IP: 2601:641:8000:3fac:198a:7ec3:4811:da04 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4wfBQlE5Z5f5f1gvBuiCNaT8JT8VjX7Wj94iiRMAIEJwi4BVYjio3xQmOwOJ3/pBIgJT8/duqbmH5rQ8/uPD/mA7hnj665o5O9LUqMUUIdKGveu2BfrI6l bRX4CN5IYG5PCkQyRw0S5TDc/F0bo4uinXCnmnMq7DLSsSYKsdhmJxlU/p+PGCquE4eZU+mBp0mL7d9iEDYtIQEr8DUunWzQyJ0= List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_431646_710205368.1535415648114 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Having quit Amazon, where I was doing Postgres development, I've started looking at various things I might work on for fun. One thought is to start with something easy like the scalability of GetSnapshotData(). :-) I recently found it interesting to examine performance while running near 1 million pgbench selects per sec on a 48 core/96 HT Skylake box. I noticed that additional sessions trying to connect were timing out when they got stuck in ProcArrayAdd trying to get the ProcArrayLock in EXCLUSIVE mode. FYI, scale 10000 with 2048 clients. The question is whether it is possible that the problem with GetSnapshotData() has reached a critical point, with respect to snapshot scaling, on the newest high end systems. I didn't have time to complete my analysis as I lost access to the hardware on my last day. It shouldn't cost me much more than about $6 per hour to do experiments on a 48 core system. What I'd like is a short cut to any of the current discussions of various ideas to improve snapshot scaling. I have some of my own ideas but want to review things before posting them. ------=_Part_431646_710205368.1535415648114 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Having quit Amazon, where I was doing Po= stgres development, I've started looking at various things I might work= on for fun.  One thought is to start with something easy like the sca= lability of GetSnapshotData().  :-)


<= p style=3D"font-size: 12pt; font-family: helvetica, arial, sans-serif; colo= r: rgb(51, 51, 51);">I recently found it interesting to examine performance= while running near 1 million pgbench selects per sec on a 48 core/96 HT Sk= ylake box.  I noticed that additional sessions trying to connect were = timing out when they got stuck in ProcArrayAdd trying to get the ProcArrayL= ock in EXCLUSIVE mode.  FYI, scale 10000 with 2048 clients.


The question is whether it is = possible that the problem with GetSnapshotData() has reached a critical poi= nt, with respect to snapshot scaling, on the newest high end systems.


I didn't have time to= complete my analysis as I lost access to the hardware on my last day. = ; It shouldn't cost me much more than about $6 per hour to do experimen= ts on a 48 core system.

What I'd like is a short cut to any of t= he current discussions of various ideas to improve snapshot scaling.  = I have some of my own ideas but want to review things before posting them.<= /p> =20 ------=_Part_431646_710205368.1535415648114--