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 1phVxf-0002OF-CK for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Mar 2023 13:35:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1phVxe-0006hn-9I for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Mar 2023 13:35:34 +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 1phVxd-0006he-Te for pgsql-hackers@lists.postgresql.org; Wed, 29 Mar 2023 13:35:34 +0000 Received: from mail-il1-x136.google.com ([2607:f8b0:4864:20::136]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1phVxb-00073d-9D for pgsql-hackers@postgresql.org; Wed, 29 Mar 2023 13:35:32 +0000 Received: by mail-il1-x136.google.com with SMTP id x6so8118550ile.3 for ; Wed, 29 Mar 2023 06:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; t=1680096930; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=wzDoyRNUl16pTK2H9GBaVY0Z8vyPAvGByHTqAY36Orc=; b=ZgfViizuzsPFPVvfrOBmQfbZB+FADtsyO7PoI4ogBE9qmQwiyU1j2T31Gtt0tsP4kW nY8U0mOjBqHsbxIA8VfX7nqQAmLu8g8L1nIxofiPeODqzkgIDwHojHKSkC3VJ+aHCVOe TU4pV0UYQmtdLplRPnEhlCscUu1AtW2yf7ZfFrRI0Z8ifuNE/CJOn0Zx0caf0odUAwWT ACFd7Zg0GDBCE1P3x5eER1KkkPbFWf5ONYMnDfU2pweBl14r6CbQAwIyhyH/VsQZuynF 04uX4sKMafzFvoH+qyMRXxT8k2MJ/ih8AlgHAS6L3wrlKYHLwqrTdQdJi9hGFYYDig4R 8OpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680096930; h=in-reply-to:content-transfer-encoding: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=wzDoyRNUl16pTK2H9GBaVY0Z8vyPAvGByHTqAY36Orc=; b=F8ydmbzUpepwz2gxDXqJ5UWQEMTEwIGcyveEA+UPJrSOLsBYCdRSDjLnCW4O6p4871 YTOmQLczEWHhOarG+WGORYieC7nqXaU2FthBrq44hECpKGjITvvcpdcKZdBevaOT9GsW pbKC2SXEeT9bp2cnKBuylLUFRIpLlKNjNcTPx6Una1k4q5wqjVD8iJ8YXG5+RbNaj+K5 rj634DcFHA+4Hcdz/BCgfbheO17Vesk65168vc6ONiRPyU/6d78Yt7mY9iUUjZjsqkdT QLsrFCMeDyk8wNS+B8TNE6qtU5LIIU1jeO40rUHqu/nvU8iMAVSbim+vG3ztJ/S7EO0k iFTg== X-Gm-Message-State: AAQBX9fEQ4pEbejaj3qjpbky927LwG2RNRWoPa3zriSy1Wgyfr+8juA3 uBToDUEbvuyjlOfxIz08aQRlLg== X-Google-Smtp-Source: AKy350atLz5xISD/3HsF0gpcGOK3EOLONRbpYTD0J1lztpYlOzoWmm/PsVCjwxUSaDJD+Vqe8HZmbQ== X-Received: by 2002:a92:c110:0:b0:325:cc57:df63 with SMTP id p16-20020a92c110000000b00325cc57df63mr13552938ile.22.1680096930444; Wed, 29 Mar 2023 06:35:30 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id n10-20020a056e02100a00b003261422fdbcsm1571766ilj.80.2023.03.29.06.35.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Mar 2023 06:35:29 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 16C63800C08; Wed, 29 Mar 2023 08:35:29 -0500 (CDT) Date: Wed, 29 Mar 2023 08:35:28 -0500 From: Justin Pryzby To: Kirk Wolak Cc: Tomas Vondra , 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 Subject: Re: zstd compression for pg_dump Message-ID: References: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Mar 28, 2023 at 02:03:49PM -0400, 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. It'd be great if you'd exercise this and other changes to pg_dump/restore. Tomas just pushed a bugfix, so be sure to "git pull" before testing, or else you might rediscover the bug. If you have a zstd library with thread support, you could test with -Z zstd:workers=3. But I think threads aren't enabled in the common libzstd packages. Jacob figured out how to compile libzstd easily using "meson wraps" - but I don't know the details. -- Justin