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 1tXQSW-006eSF-1I for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Jan 2025 19:50:48 +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 1tXQSU-00ChN2-Eg for pgsql-hackers@arkaria.postgresql.org; Mon, 13 Jan 2025 19:50:46 +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 1tXQSU-00ChMu-55 for pgsql-hackers@lists.postgresql.org; Mon, 13 Jan 2025 19:50:46 +0000 Received: from mail-il1-x12f.google.com ([2607:f8b0:4864:20::12f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tXQSS-000EGw-0g for pgsql-hackers@postgresql.org; Mon, 13 Jan 2025 19:50:46 +0000 Received: by mail-il1-x12f.google.com with SMTP id e9e14a558f8ab-3ce7a33ea70so1180925ab.3 for ; Mon, 13 Jan 2025 11:50:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736797842; x=1737402642; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=NGYoKUkc28eg+ByewyIyw27QOLkJKnbUSyPlZQ/Lmog=; b=iBlvCEhX+XOSIBhcP28qf2mKsgOLde6ftsUz8t5JtvzL+mvduWL11tyhKaE65ERpIW kk/lH+8EqGez/0pExcvePIXYfuBvfwnnFxj0tgQuy6YM4AlwTKjnsPCiWTM+igoiIcUY dpu//mGF0l+yclsJJwOpZeNSCHX6CCD/HChJdw/nGs4Q16Ttn8/sJZ6sUNZPp8y0GfUU vltGWcKoqLWiV9kSlNwgRkjyTtUAvoxvmtg5ppBALbe1cv24pPkkhPQI/HgB5tuh0yzn aJKPOnEG9Ee9JmSu97PAEXKmc377uscRAk6IcikF5tQg1CXHS4R9axHmShCwufm9sC/u xr9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736797842; x=1737402642; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NGYoKUkc28eg+ByewyIyw27QOLkJKnbUSyPlZQ/Lmog=; b=r2505TWAx4xZsB8dCQGphWk4QXMcbFsl97AQJVr2rTYZ9xx9h8AsWKttGuU8nOOH76 t02+CCmOtihP5hPVyYYOe+3tRQI/8Dbfmo1xiv05Q0+hgNBZCLPiHfZ0WrdR+OlFgH0u YQP1tjVotdjk4uCyHCNPn/dAp8MU1lBJQppD3HoNpEMhgXHhmr7STmWVZ4LqSD1fC/Xs BENyea6OMspOnkOeD8i/nnhCBs0gF9lYKn/RLXk+wXdca8sE+EWY4DOqTjmBZvV32iEG jjdFUBfSNQpwKR/TF55P2tnI9uSrlt9x8CWmIyyHAAjotqyl4z0dz0DjNoSo/W73LNje +g2w== X-Gm-Message-State: AOJu0YwPDkvvnp8R3/Z2TaJGrcT5ZltCJw6Ay0ZtQgEG4wC30leJdPNy ozBJv2WsOFxHW0vloSbKQ+Cc1+vChcwmLtiQiqHHQMfofzFIIIZ6 X-Gm-Gg: ASbGncuZXqCErj0bTopjjsLDPE8LySL9Oa1GlwNCaZT+7cZ1CtulZtivbJFZzVNMAwD 1ptlsC73LLOSiHBGI59IljS9g4WMvJNCXPu+NgumjmHbf44TzPtozPKV512dwjsiHZf8RACTBdp 6MyJQYltm/fRPAfQsC3lXHgwFfgAb1r27xj1IZsLPNzPsZ0iD4SKl5rKiTiMO7QatWjfEMiMJaW AoEP1ZnAdcFssKWtO0busvCkzntLgcNPCkDhJ7bL+Kjt3QZrotQ5ohWzwLiQz3be5inhNSdypdp Yo/zCccqC/BjJDjd6WOz/LUmFy7D66osiCK8KD/OEuAQqS4= X-Google-Smtp-Source: AGHT+IFaCSMKAAQcRJ4ZYzF83o7C8LiwpBv8DJydioYaDUVQkNtCn8oAkBW/NsWDY1I9KmlrnZHaUA== X-Received: by 2002:a92:cd8c:0:b0:3a7:7124:bd2b with SMTP id e9e14a558f8ab-3ce3aa5afadmr145401055ab.15.1736797842227; Mon, 13 Jan 2025 11:50:42 -0800 (PST) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3ce7a40181fsm1311065ab.49.2025.01.13.11.50.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2025 11:50:41 -0800 (PST) Date: Mon, 13 Jan 2025 13:50:39 -0600 From: Nathan Bossart To: Thomas Munro Cc: pgsql-hackers@postgresql.org Subject: Re: connection establishment versus parallel workers Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Dec 19, 2024 at 10:09:35AM -0600, Nathan Bossart wrote: > On Fri, Dec 13, 2024 at 03:56:00PM +1300, Thomas Munro wrote: >> 0001 patch is unchanged, 0002 patch sketches out a response to the >> observation a couple of paragraphs above. > > Both of these patches seem to improve matters quite a bit. I haven't yet > thought too deeply about it all, but upon a skim, your patches seem > entirely reasonable to me. I gave these a closer look, and I still feel that they are both straightforward and reasonable. IIUC the main open question is whether this might cause problems for other PM signal kinds. Like you, I don't see anything immediately obvious there, but I'll admit I'm not terribly familiar with the precise characteristics of postmaster signals. In any case, 0001 feels pretty safe to me. > However, while this makes the test numbers for >= v16 look more like those > for v15, we're also seeing a big jump from v13 to v14. This bisects pretty > cleanly to commit d872510. I haven't figured out _why_ this commit is > impacting this particular test, but I figured I'd at least update the > thread with what we know so far. I regrettably have no updates on this one, yet. -- nathan