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 1phEKE-0000Ri-3C for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Mar 2023 18:45:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1phEKD-0003ja-2M for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Mar 2023 18:45:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1phEKC-0003jJ-NM for pgsql-hackers@lists.postgresql.org; Tue, 28 Mar 2023 18:45:40 +0000 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1phEKA-0001jM-8A for pgsql-hackers@postgresql.org; Tue, 28 Mar 2023 18:45:40 +0000 Received: by mail-wr1-x432.google.com with SMTP id j24so13272909wrd.0 for ; Tue, 28 Mar 2023 11:45:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1680029136; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=XBR+OcuXJXGjdHdjwEgEoRNJLfG8Ayxj3zq8sx/MSC4=; b=iT+D0TQm84qnmJYei5/OrbE86XerfTFDl4SOnrE830hyDlumTa8k+51OFnHmc+wyfY 6VnhRB0vwL6lP4GbWfuomPfI70uzqeDsLV9PyxJEUgGQ6jm7cLAiL2Km+KDlZh0o6c// Ec+cJSsb+L9xwyPzmd9c+tPehe0Pm+DX5TMVp1nN0hKkU2L+y+1auQQi8HY+EM4Wlbg9 alxn+TUIxq7YTKTvlpZb+T8MUZ6cqvb8W4cE31l2XjtSIzEjRSxLAtfTFPhTfQFYHzi1 8gj/pK2EM1GAJci3IIfKQudo4EuRozuiB9zEnkRZQ9zkmSWScZNHn0jq4MaE2Evw2Pvy hKpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680029136; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XBR+OcuXJXGjdHdjwEgEoRNJLfG8Ayxj3zq8sx/MSC4=; b=Y2osHR3cSWaLon3wji0GbJb6XXbTwmj4iFu0cFsg/Azs8jTKmSPAz8Rg4pEEAIhbV6 x1FTIrcFSI0HYGDZ3dNbKSRXBxEReah84DUj2vkYbHyUXO9K2w3EfxzVtqMjdqTgJvu1 /w/MyoiEiTyDJB9N7Idof6cckvMfsFBd7F4kjigmgvkw5Hdp0c3oX1W9eBh7sLblaiLL ARy/GTKgYZo/q1Lknj4T5ATVvQwMPznPRkwRuVLGr0O5q3c8zcp3KZzp1IFwFRw4gkAe NgsSH1NoUt64FKHRy/oAK1TEeJMcHLSeOYLEr0MHR3Q6rA4E4vziL4XtO3mZNU70JjpK xVVg== X-Gm-Message-State: AAQBX9djAdYDnuqqDayo9U3h8GniQML9jPWa12C0cV2J3disnKZ6KHE3 y6O985wJ1MRbdH4trJQb4mOFt4l//8zdvdH5HBDbB+pt6ESancpYzdB3J/PvhEP0ovQ1AYm2f9p 559HiekrC8V00xHB8Vj5nMX86lyL7UPPjskqRypF2d9uODofwLDT4PPKd1wCt+3y/5vQR7MctrI nD9viB+bwWZN6bGGYt+mpnETYCzmMTXM5O7qkJ X-Google-Smtp-Source: AKy350ZjiNRKezBhsPkAS2ZtNGnRnQ9xI5kYK0f1DillqBl4Ev7TjBg65T239ku7t8Slo9ObyGHU7w== X-Received: by 2002:a5d:4e52:0:b0:2cd:bc79:5432 with SMTP id r18-20020a5d4e52000000b002cdbc795432mr13462454wrt.25.1680029136093; Tue, 28 Mar 2023 11:45:36 -0700 (PDT) Received: from [10.137.0.17] (static-84-42-175-93.bb.vodafone.cz. [84.42.175.93]) by smtp.gmail.com with ESMTPSA id o11-20020adfeacb000000b002cfefad9c1dsm28197279wrn.66.2023.03.28.11.45.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Mar 2023 11:45:35 -0700 (PDT) Message-ID: <29a12485-944c-bc3b-23d0-2f684609b87f@enterprisedb.com> Date: Tue, 28 Mar 2023 20:45:33 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: zstd compression for pg_dump Content-Language: en-US To: Kirk Wolak Cc: Justin Pryzby , Jacob Champion , pgsql-hackers@postgresql.org, gkokolatos@pm.me, Michael Paquier , Robert Haas , Peter Geoghegan , Peter Eisentraut , Heikki Linnakangas , Thomas Munro , Dipesh Pandit , Andrey Borodin , Mark Dilger References: <20230224191840.GD1653@telsasoft.com> <20230226012227.GK1653@telsasoft.com> <20230303185546.GE12850@telsasoft.com> <20230304165747.GH12850@telsasoft.com> <3d04afca-7d9d-c90f-5fef-5cf4fdb2173f@timescale.com> <0115b682-58f0-ea43-9ecd-c37a4495812e@enterprisedb.com> <0022dd9e-a439-d72f-d09b-ec512c23949b@enterprisedb.com> From: Tomas Vondra In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/28/23 20:03, Kirk Wolak wrote: > On Tue, Mar 28, 2023 at 12:23 PM Tomas Vondra > > > wrote: > > On 3/27/23 19:28, Justin Pryzby wrote: > > On Fri, Mar 17, 2023 at 03:43:31AM +0100, Tomas Vondra wrote: > >> On 3/16/23 05:50, Justin Pryzby wrote: > >>> On Fri, Mar 10, 2023 at 12:48:13PM -0800, Jacob Champion wrote: > >>>> On Wed, Mar 8, 2023 at 10:59 AM Jacob Champion > > wrote: > >>>>> I did some smoke testing against zstd's GitHub release on > Windows. To > ... > OK. I don't have access to a Windows machine so I can't test that. Is it > possible to disable the zstd threading, until we figure this out? > > Thomas since I appear to be one of the few windows users (I use both), > can I help? > I can test pg_dump... for you, easy to do.  I do about 5-10 pg_dumps a > day on windows while developing. > Perhaps. But I'll leave the details up to Justin - it's his patch, and I'm not sure how to verify the threading is OK. I'd try applying this patch, build with --with-zstd and then run the pg_dump TAP tests, and perhaps do some manual tests. And perhaps do the same for --with-lz4 - there's a thread [1] suggesting we don't detect lz4 stuff on Windows, so the TAP tests do nothing. https://www.postgresql.org/message-id/ZAjL96N9ZW84U59p@msg.df7cb.de > Also, I have an AWS instance I created to build PG/Win with readline > back in November. > I could give you access to that...  (you are not the only person who has > made this statement here). > I've made such instances available for other Open Source developers, to > support them. > >  Obvi I would share connection credentials privately. > I'd rather leave the Windows stuff up to someone with more experience with that platform. I have plenty of other stuff on my plate atm. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company