Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLbbu-0005vj-L2 for pgsql-general@arkaria.postgresql.org; Sun, 03 Dec 2017 21:15:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eLbbu-0007Gf-12 for pgsql-general@arkaria.postgresql.org; Sun, 03 Dec 2017 21:15:38 +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 1eLbbt-0007GW-N3 for pgsql-general@lists.postgresql.org; Sun, 03 Dec 2017 21:15:37 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eLbbq-0000NP-TY for pgsql-general@lists.postgresql.org; Sun, 03 Dec 2017 21:15:36 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id vB3LFSl19403 for ; Sun, 3 Dec 2017 13:15:29 -0800 Subject: Re: building a server To: pgsql-general@lists.postgresql.org References: <8CFC3898-F163-4C1D-9511-5AAC53EAACE2@gmail.com> From: John R Pierce Message-ID: <40799b22-a159-939f-c860-f78c3f05b19b@hogranch.com> Date: Sun, 3 Dec 2017 13:15:23 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <8CFC3898-F163-4C1D-9511-5AAC53EAACE2@gmail.com> Content-Type: multipart/alternative; boundary="------------2DD4F04759EB3A2D6F6F6BF8" Content-Language: en-US X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------2DD4F04759EB3A2D6F6F6BF8 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 12/3/2017 12:47 PM, Gmail wrote: > So I revisited https://momjian.us/main/writings/pgsql/hw_selection.pdf > Near the end (page 24) I spotted: > Heavy use of server-side functions might generate significant CPU load > > Just want to confirm that this referring to workload on the > mainly-single-threaded server not an advocacy for more cores. > well, if you have significant concurrency with high CPU usage, you want both more AND faster cores -- john r pierce, recycling bits in santa cruz --------------2DD4F04759EB3A2D6F6F6BF8 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
On 12/3/2017 12:47 PM, Gmail wrote:
So I revisited https://momjian.us/main/writings/pgsql/hw_selection.pdf
Near the end (page 24) I spotted: 
Heavy use of server-side functions might generate significant CPU load

Just want to confirm that this referring to workload on the mainly-single-threaded server not an advocacy for more cores.

well, if you have significant concurrency with high CPU usage, you want both more AND faster cores


-- 
john r pierce, recycling bits in santa cruz
--------------2DD4F04759EB3A2D6F6F6BF8--