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 1lOlRB-0001Bq-JO for pgsql-admin@arkaria.postgresql.org; Tue, 23 Mar 2021 18:07:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lOlRA-0001q6-IB for pgsql-admin@arkaria.postgresql.org; Tue, 23 Mar 2021 18:07:28 +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 1lOlRA-0001pz-3h for pgsql-admin@lists.postgresql.org; Tue, 23 Mar 2021 18:07:28 +0000 Received: from truschnigg.info ([89.163.150.210]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lOlR7-00052p-AM for pgsql-admin@postgresql.org; Tue, 23 Mar 2021 18:07:26 +0000 Received: from vault.lan (84-112-34-152.cable.dynamic.surfer.at [84.112.34.152]) by truschnigg.info (Postfix) with ESMTPSA id E7F1B20257; Tue, 23 Mar 2021 18:07:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=truschnigg.info; s=mail; t=1616522842; bh=1Qauk1dOgjlZiueWWx/X4Oz9JoSA8eVFWIkEiAPHtdI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f0o6BxuXssQOUcLXtd3Z++Vbx3qFaulDqmHLZ9YFfkzj3n/fGMdZ5EsI8paoy9Ijx yTeboAbe3MMkOFxBmvgGdYPMfYure5asPocqBuhluHs5tNWsJXFW0O1aZRhgilX99a UlcKSM7MFUQiSCsnpQ4FV6zOv+3S7kOKlYaLibt0= Date: Tue, 23 Mar 2021 19:07:20 +0100 From: Johannes Truschnigg To: Jerry Sievers Cc: pgsql-admin@postgresql.org Subject: Re: Odd OS, SAN or related throughput issue affecting large streamer Message-ID: <20210323180719.GB8871@vault.lan> References: <87o8f9n5o0.fsf@jsievers.enova.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lEGEL1/lMxI0MVQ2" Content-Disposition: inline In-Reply-To: <87o8f9n5o0.fsf@jsievers.enova.com> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --lEGEL1/lMxI0MVQ2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Jerry. On Tue, Mar 23, 2021 at 12:25:35PM -0500, Jerry Sievers wrote: > Greetings! >=20 > [...] > Suggestions re where to look next? Have you looked at the usual OS-level metrics yet? Does the process that applies the streamed WAL to the secondary's database exhibit high CPU load when the slowdown starts becoming noticeable? Check by using `top` and `mpstat`. Does I/O latency spike/increase during that time? Maybe your system is beginning to page data in and out? Check by using `iostat` and `vmstat`. If you can identify a/the metric that changes when your troubles begin to manifest, we should be able to help you drill down to the root cause of it = all much better. --=20 with best regards: - Johannes Truschnigg ( johannes@truschnigg.info ) www: https://johannes.truschnigg.info/ phone: +43 650 2 133337 xmpp: johannes@truschnigg.info Please do not bother me with HTML-email or attachments. Thank you. --lEGEL1/lMxI0MVQ2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEGu9IhkI+7/aKLUWF95W3jMsYfLUFAmBaLlQACgkQ95W3jMsY fLXs/w/9FrQD05YTjp4ZnCc/URdceC0CKkNfyROx56sop+Iz5v71r0/aQasJi3TO OtbRmF7p6oRewny0wCNTjiRE/oiWQuzInVgNZsPRdIMrkZx9mGqrSm18+TCRp96o UF22MQiuGNHT9Lm+Bt5jh2uCEcl3hl0ZFRa2hBknBZRk2TsvmgNF/mm5N/w4SUkF kxcsEZPZNqAVAXD94GGNGt99xNYHws5+L8a1EqAatG9J8h/2WbhyiBx7exo86mZ7 6keXRU8jSWxaET2fkvcbeVZv0o2j3k2DOk7TzoO4l8gZcP/jp6IchnULa6r03lp9 LIukq1vhIt2bCsbjELOUo0+nG2HRWsUnrAUUEq1jLK0FYimolmqyEzUrxSRA+QiP t8f2q72YgVz7bclwRGr6k82FNMXkuSgZPE+nHGaxgUgAhh7HiFJ/nWIUFQ8Gcf5S a6mTmJ9JMD8F7vf/9EbqSLrwbR26ZVFmYfnySdDaUKhxbdC+om3FSPXThGcc8dhR 2+jIX96j3+B+lHdzCy3r+1sLQzCGTwBJxR1JEcvEXxI1FZFS4+AhWmzzdP8x6h1s /NQpSp7NXKd5v5wBKwjeUDTi9UkJj2n5TL5H3TR/7aV8wxR4pLHJb//MWzk+odIe wKV5y6kd+DU2OKP0j+Qar/QyN0YF5Y+hGK6mfC2L6PcG7Z5vmO8= =9lwp -----END PGP SIGNATURE----- --lEGEL1/lMxI0MVQ2--