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 1uvjVU-000cCo-TW for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Sep 2025 21:34:37 +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 1uvjVU-007yEb-2n for pgsql-hackers@arkaria.postgresql.org; Mon, 08 Sep 2025 21:34:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uvjVT-007yES-Pd for pgsql-hackers@lists.postgresql.org; Mon, 08 Sep 2025 21:34:36 +0000 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uvjVR-001Gzu-06 for pgsql-hackers@postgresql.org; Mon, 08 Sep 2025 21:34:35 +0000 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-7741991159bso4235563b3a.0 for ; Mon, 08 Sep 2025 14:34:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=j-davis-com.20230601.gappssmtp.com; s=20230601; t=1757367272; x=1757972072; darn=postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=iwX1eb9vJtMxU+ieRTXLAqCspKBzCireio4WCFjPBdU=; b=ZzeWYZwyxjWEA3adbP6CJyyzkFsJBaQGcmCnQ92GRmMTsL2wXKFH4z5prjk9ooTh/o lEfsLMymD0oJiu9PIJZJ0lDsvcnpSWXv5ssfk5e5v4DFVuXekujMtxo9yafGiGBdH9/q Kp3/wawj+6dMooTccLmpg61kPx1AkDaIQqdockLOtIpYshaxYDgjDqONatBfA1T/gTQH IPYyZJwh6Ps5RSVHTrDKXZnT9S0d2pYW4SIMDxqn36SrnanfHpUkTih0/cXHwD51nE2Z h0T8nl6u2Tl1faHEwVgODIoolY07l9oNBZ6WQZDzDfzagHnCbQK0DC5Fa7In2HDgYy25 4+bQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757367272; x=1757972072; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=iwX1eb9vJtMxU+ieRTXLAqCspKBzCireio4WCFjPBdU=; b=fZcDKO1sWjlTwNjdgEHdQAeuWMN4du2J/Ny57oTQi36C/Ylcz3+a+RPDYf7xoH0k3F d3D0bg3qShZmhed5v5Zhs5CXRzTKPEiPPXRFxV/Q4IaYe69NCrvhPwB+ys7tYpaU7WET 5Vs2SoxRqan8A4ZAymB6PGneLYvH3PSIRW/wTDbJwBgLCgH1atFIdVtajN8U/HrNXi1A kkAhPV2JaCfgL2YRKx9NikEQbG84IhB1kJcjdKOPdvsETazKQo3VlU0I+koWcSls/EZO Mr0xxjUK0FbK+WvMvH0bGVy524tySoyEvse4YSGv+JVpCb8fjMwaeFp0CjN6tyM75sEf ObkQ== X-Forwarded-Encrypted: i=1; AJvYcCXDrK1nFMB1WRQTC7jWu4sEfa7+wqx/UQ5A133fT2nm6uMrJ2q/XxfuMvANiWeZZOl9ODhFcsDbagD2VQBg@postgresql.org X-Gm-Message-State: AOJu0YyvHJI6I4zJU/+CKKVxu7fQQquRtO1P9lrCV+BvvRsg3qXKNIXr nYAl19EcA0hZvZVC273MyDEoGsX1z11z39DcunTkKg/Hyd9vt1u8LPqcJN5rDm2fGg== X-Gm-Gg: ASbGncs9txH1/chvWBDs0LeNiRrQ7TqoTqTOrsgKRuTyaQsppaOmcC0pAxMEjRZrtek +hhJgiKiJaD0X7lWrBGhQZ+cdh/Z5l9R1CfyZ92BDNwy9t8d8KOiLVjnF4XwAnGHHCaRh3nJ/Ic aVAwH5YadFV7SyEx0a0SYjjsXrO0wDVpuBhnrHcVk8lxRDU47oZKs+9tE4FYWj5y02d7EInnqdJ etXXUoacJu+x8WZ2u/EOPmthVcpK3yyYc6DygiAp7uZ30CjyaoFe0VDWVSmKgXm+0kaCk8WFTgg EtebfGN577qKuz3jexZl4Ny32hy6YOtuXSJIjzHpP8AulBD3u5LTFvlcdEdyYuIZ59UQoIeg0QP g9AC4xoMui+TIkgnw1Bo+yGC9GayCkwMy X-Google-Smtp-Source: AGHT+IEnqgUciujeAezyhMJvyNHfKQ1nDNu5wY2HltkX1aODyi4sTuVESHMzTo+WBT8pRXb1n42cLA== X-Received: by 2002:a05:6a20:939e:b0:24c:c33e:8df2 with SMTP id adf61e73a8af0-25345579959mr12736531637.45.1757367271675; Mon, 08 Sep 2025 14:34:31 -0700 (PDT) Received: from [172.18.4.31] ([12.126.244.130]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-b5238e43c48sm2649668a12.52.2025.09.08.14.34.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Sep 2025 14:34:31 -0700 (PDT) Message-ID: Subject: Re: Should io_method=worker remain the default? From: Jeff Davis To: Andres Freund Cc: Thomas Munro , pgsql-hackers@postgresql.org Date: Mon, 08 Sep 2025 14:34:30 -0700 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.3-0ubuntu1 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2025-09-08 at 16:45 -0400, Andres Freund wrote: > I don't think accelerating copying from the pagecache into postgres > shared > buffers really is a goal of AIO. It can be a nice side-effect, but > not more. Interesting. I thought that was part of the design. > Afaict you've not explained in what even remotely plausible scenario > you'd > have where > 30GB/s of reads from the page cache. I continue to > maintain that > the workload presented does not exist in the real world. For now, let's just consider it a test case that stressed a couple subsystems and found some interesting effects. I think it will be helpful context for potential improvements in 19. If I find other interesting cases, I'll post them. Regards, Jeff Davis