Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYFw9-0004gV-4s for pgsql-general@arkaria.postgresql.org; Mon, 11 May 2020 21:26:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jYFw7-0006yE-N6 for pgsql-general@arkaria.postgresql.org; Mon, 11 May 2020 21:26:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYFw5-0006xO-OA for pgsql-general@lists.postgresql.org; Mon, 11 May 2020 21:26:07 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jYFw1-0007wi-Fa for pgsql-general@lists.postgresql.org; Mon, 11 May 2020 21:26:04 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 6A5CD5C00C2; Mon, 11 May 2020 17:26:00 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 11 May 2020 17:26:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=6 YnogMNXBFTNsAiw2EpcAdHkP4IKxQXH+M1ReguAcpU=; b=mDH0H5XqQ2yf+fPU9 pWL/Z4gCXaF/pi6eytLMskhiq5kKbjl7Yz+Y6VWuFcwAZ1zRdrliSyqiiJM0y6pe dLNhfyYxw46So22do0DWGcgSghO9aEK74ZTW0JB6B9rAgTtNTS1xrxyNxk9QqCy/ UygyZ+X4WHNHM4fiCjOCViXq6mxm0A1uYDha8vdKJGANe6sk220vR88gllyvHmPs 2KrzFpLBOkkJWIX5qcUX7jnRQbOL8Y+Y5dkjU0KmW/mRVb4dQUZYaXc8abLXglg0 ueBIahvQjbADRcElOgu6YgjzcRaxknND4sfz+nzVWRLZAUBHoaxkzpAOtShdJ4eK hPDHQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=6YnogMNXBFTNsAiw2EpcAdHkP4IKxQXH+M1ReguAc pU=; b=RY7KBYOkNhtqCePWRXKShLQJEm8JeY8DluxP16b9U2qIhgzg8c3nNcqas ZDEcqFD078+vF9gX+d7s9Q06kxom4+1M++wa7N/eQzth2BIp5gq+3znElsFP39Z8 suyI74rKnk7FBvBZUDo7Z1l4rlrwuKoqhBghpRk/m7MgopywKQGmVRuCKdCmtzsG HmpydOqZe3nhWDG4NRML/ZwH59mGopWPZRhc1+FjHta8NeeBujHQMJW73BZROcP4 MNY4gp5Rt+g13iSBQGhtS0XeWCS4c6aK2+BNZPs1shRbJ/QignJNN4Ul1LbjY6/I 5a9XNGoQB18bN0OGSIqOMfxnxzFzw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrledtgdduheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeevveefveefueegffekkefhgeeiueffgfetueejvdfg hfeujeejhfekjeelgedtgeenucfkphepjeehrddujedvrdehrddvfedunecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgr vhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id A1136306624E; Mon, 11 May 2020 17:25:59 -0400 (EDT) Subject: Re: Is there a significant difference in Memory settings between 9.5 and 12 To: Tory M Blue , Tom Lane Cc: "pgsql-generallists.postgresql.org" References: <7b3633eee48f14c11677ad445b9bf2b9ac7aaf72.camel@cybertec.at> <30855.1589229387@sss.pgh.pa.us> From: Adrian Klaver Message-ID: <0cec61f5-ae6d-d789-ace6-eb89cbb473cb@aklaver.com> Date: Mon, 11 May 2020 14:25:58 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 5/11/20 1:42 PM, Tory M Blue wrote: > > > On Mon, May 11, 2020 at 1:36 PM Tom Lane > wrote: > > Tory M Blue > writes: > > 12 will not start at 10GB, even though it's the same hardware, > same config > > file, same physical box, same everything, just version 12 vs 9.5 > > For me, using all-default settings (in particular, shared_buffers = > 128MB), the shared memory block is about 141.6MB using 9.5 and 142.1MB > using 12.  So there's half a meg or so of additional data in v12, but > certainly not gigabytes worth. > > Are you trying to start both postmasters concurrently?  Maybe you're > hitting some kernel limit on the total amount of shared memory in the > system. > >                         regards, tom lane > > > Hey Tom > > Nope, just a single one that is why i'm flummoxed :) I've even rebooted, > but I can't start Postgres 12 with my current setting of 10GB, I can So what is the error output from console, Postgres log and/or system log? > start 9.5 with 10GB configured.   I've tried, shutting down 9.5 and > rebooting so nothing is running and attempting to start 12 and nada, it > won't unless I drop the Shared Buffers down to 5GB (half)..  But these > are dedicated postgresql servers. And in fact my latest migrations, > don't even have 9.5 binaries anymore and 12 will not start with my 9.5 > configuration of 10GB buffers. So something feels really different. > > It's very possible that there are new defaults , new memory settings > that I'm not finding in the default postgresql 12 .conf file, and my > include is not overwriting it. But really I just can't fathom what that > could be.. Buffers, work mem, effective cache, what would they have added? > > I am going to pull the settings from postgres itself and compare 12 and > 9.5 to see if there is something glaring. > > Thanks! :) > Tory -- Adrian Klaver adrian.klaver@aklaver.com