Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u2TU0-00198m-Ba for pgsql-general@arkaria.postgresql.org; Wed, 09 Apr 2025 11:20:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1u2TTx-00298w-Gj for pgsql-general@arkaria.postgresql.org; Wed, 09 Apr 2025 11:20:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1u2TTx-00298i-49 for pgsql-general@lists.postgresql.org; Wed, 09 Apr 2025 11:20:37 +0000 Received: from mail-yw1-x1135.google.com ([2607:f8b0:4864:20::1135]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1u2TTv-003rRy-25 for pgsql-general@lists.postgresql.org; Wed, 09 Apr 2025 11:20:36 +0000 Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-6f768e9be1aso7208497b3.0 for ; Wed, 09 Apr 2025 04:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744197634; x=1744802434; darn=lists.postgresql.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=XbvaPRP8uEPp2NbqH/ZaqU3nFopJ/5ovZTZ/bd3YdeU=; b=VXv/LllMMV19wGTrZqlKPaViH1Fd2jv2SwTLtR/1OR/Z3JfLD7lRM/nyi4ZE12Pvye H9INY3DfyCGMWwuMoMxXEUP7lH6tEzitY8NJAkRSUc4whyxbbIC+pSPVAJ80d1AqGu4R /vtTEmssobk6HtqppCSTx6YJZz47yg9KW1AqkWEO7VxmQ81JGMbYl1DGuRWTRbAOPWbs VsIDNbbeSibPm1RgQmBghXFNL9x3lXZxfaJJbec+duQDCwMU4AA8aEMgwJVUzTMwkTcM qolhh/K5NuDMbyDw2ilaFvC+8eE3hBWSUtADQ2tKV7FIzQlX+C/D450++ZU4WOABgLrk M8pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744197634; x=1744802434; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XbvaPRP8uEPp2NbqH/ZaqU3nFopJ/5ovZTZ/bd3YdeU=; b=JmVaaLuPeVZryGLk6BhXGaWDaLTKQW+qFjY2eJlkRO29rQrB9BJxs+fx39cxdWkgtn q1opd/oH1uRtugvnI8R03kuce0DI8XBrkT0P8rEP5EvxfPqPaGwx09Lr/E8Cg512GZjC QcpxhZmviMmXyJyT0/ZQoZgSnBdj0rXPR4jnt6PVTLk+mPAuvRk0uSGbt+WvbvnHGU1s m8MR/vuC9Td5xZH6LgRy5H8FJpsIKTTR1eiU+pYCCiCNzJEcHyDCMwdbi5IIEKwEDAaZ QhXuXYarNKNwVvwmItJxf7GVB3w+X+QjXNDLGPU69CebZL+LCKHdwWn04DGOondFbwb5 yJuA== X-Forwarded-Encrypted: i=1; AJvYcCUbWyg/QvUxrxZceXlmY4zf7vuGBimpIXUQBTHOfgvj+B+JzK3T8pejgtM1Wq0TNtyFf/COBf7WBSntBy2M@lists.postgresql.org X-Gm-Message-State: AOJu0Yy5KaXxVsAJTy2RDjPPtiaexqQoqk/GDCpAGCFSwXL5Mej9nyYy BpSrlXi5vXaaINYcgBmB1tw967fuOJByVA3D2m0rOucsyYeB067eNDWXl/XjINCZ89Z4IH/eB4G qcQ9zay9jPGzqXdUIicVg4HhRiuY= X-Gm-Gg: ASbGncsgA6zSN2wlitAlpbSaEyC0uxTY4eJ9pXI5ZYqG0tG348lDMTbyGaNzbi15Le+ IgimkIR3ewp5V+KGVQqYYyf97gpvFK/U5+EAJLq24cnKLaF+pBmpbQWuiPTRDyVfP+3xmYtlSQz lVC2LuwXZcPLMFPWSP7uyy4kI= X-Google-Smtp-Source: AGHT+IGdOjb2FSt0JdMUgEv7vyNLDUCUO1kZX7Ec9cgyTnf6ODdJgFxrMFk0bnjCw4xT8oPdfwF0i9diyy6+03cBAug= X-Received: by 2002:a05:690c:f85:b0:6fe:8fe:f5c2 with SMTP id 00721157ae682-7042d47b2cemr120171707b3.8.1744197634655; Wed, 09 Apr 2025 04:20:34 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alexandru Lazarev Date: Wed, 9 Apr 2025 14:20:22 +0300 X-Gm-Features: ATxdqUFUl0sQUgWpZHUugwV5YKHtxJFTsy-cb26lWcXCsuSRursfFs1bR3rTno8 Message-ID: Subject: Re: Is pg_basebackup Performance Limited by Files Page Cache? To: kaido vaikla , pgsql-general@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I'll answer my own question here: Looks like it is a bug in Oracle Linux (OL) 9.2 RHCK Kernel "kernel-5.14.0-284.11.1" (see table: https://docs.oracle.com/en/operating-systems/oracle-linux/9/boot/oracle_lin= ux9_kernel_version_matrix.html) Switching to UEK Kernel of the same OL version (9.2) fixed the issue, but UEK is not supported by some SW (e.g. Vertica DB), so that I've tried RHCK Kernels update: only Kernel and dependencies from OL9.4 (kernel-5.14.0-427) and OL9.5 (kernel-5.14.0-503.11.1) - both fixed the issue, with remark: RHCK update using one from OL9.5 is suspected to have some HW compatibility issues (under investigation). Some more details discussed here: Performance Degradation with rsync in container or cgroupv2 with MEM limit on Oracle Linux 9.2 (RHCK 5.14 vs. UEK 5.15) On Wed, Mar 26, 2025 at 11:17=E2=80=AFPM Alexandru Lazarev wrote: > > In my case culprit is Linux Kernel (Oracle Linux 9.2: RHCK 5.14 - issue e= xists, after switched to UEK 5.15 Kernel issue disappears). > I did various tests with PG container and rsync too and even out of conta= iner (launched rsync into a CgroupV2). > > So now I guess it is a question to Linux Kernel communities in my case. > More details: https://www.reddit.com/r/linuxquestions/s/ADScolw76C > > AlexL > > > On Wed, Mar 26, 2025, 21:16 kaido vaikla wrote: >> >> Hi, >> Did you get any feedback? >> I have suspected something similar. >> >> br >> Kaido