From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 017D4717FC for ; Thu, 8 Apr 2021 18:23:30 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E83571DDC7 for ; Thu, 8 Apr 2021 18:23:29 +0200 (CEST) Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 498B71DDB1 for ; Thu, 8 Apr 2021 18:23:28 +0200 (CEST) Received: by mail-lf1-x12c.google.com with SMTP id o126so5112252lfa.0 for ; Thu, 08 Apr 2021 09:23:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=VDFwhRr+1BDokCO3tvqdnHt2XY/vH7sQntfvW1ws/zU=; b=QEWyw9+BWqp2a5bwipcUSt+OYy3Ye3VMlxn4H8ZsbEOm8WRKmxqXrynQxJZKFq0aGq dyibDB65/9Vw1/axQsgkshpkYSPL7L53ILcbWBh8ZrLxjTwhabxDny7BsgvPP+3t0pt9 5P+8zD8TCgYmhwSyEE6v572hVs1FgEH/8L9wp3AGvVP8YGU9rhaYCaNd0UGx8gp38GTg 1BAj/9JLzAfeT13kt6CnbT6kDCY/liY8e6KHH2my/XegzIJEXpZHvDQqkGrqcCpPzcln TrzBzKK7JCXpFdBDGW3g+fLrEaAqcfiK41Z7eEm0ZfKtNmSkuw7Xs7nn66HUQZQgzOii KUVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=VDFwhRr+1BDokCO3tvqdnHt2XY/vH7sQntfvW1ws/zU=; b=F9fgmM0PRkmgHp7HXAVG8X5WF6oZ7IcjSQM64cza8dDss6tADyQaQKDqXvrh6nIwFn EI2wMoImaYlHNKDKc263i7wx6xw4ujXspA255B3zucqWLLRiYCxJOYxmU82L+UGzl/TG QKwXvOe3g2rMKR2HovKskFEY+7EYNEgDTaOyIfnkMLchNVbAH1Ws5n6RUhPRGIzE5OEI PmHuooqitJ4PI7TPFXiQD2kRSOcW1BKyLV1xz1ISDkQpmQcAbP8/WN5ZB7W1l+Kof47h NQsiRba06YMdQZzgi/hpIsHYQZX+c2HlxWQV8Cq0pF2xzPQ1cOQYub3++pdfc2UQlmZh jTuA== X-Gm-Message-State: AOAM532Y/EOzoYLG5DYXNLuiDK1wKa2Tn53qYX5IirWsiOt6shgxHnBV IHe39JFMZ1QA1VcYhmswGnlcrkg6F+/BGZTDIq5lbgxR X-Google-Smtp-Source: ABdhPJzxu08E+FsOvSS631l59VkSgQUf2qc5g7caGXWzT3sPybonARJ3ryGYvJsFz3K6QX6RcqGMzCYiXA1A4CGzthI= X-Received: by 2002:a05:6512:1116:: with SMTP id l22mr6906744lfg.61.1617899001399; Thu, 08 Apr 2021 09:23:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Geoff Seeley Date: Thu, 8 Apr 2021 09:22:44 -0700 Message-ID: To: pve-user@lists.proxmox.com X-SPAM-LEVEL: Spam detection results: 0 DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain FREEMAIL_FROM 0.001 Sender email is commonly abused enduser mail provider HTML_MESSAGE 0.001 HTML included in message RCVD_IN_DNSWL_NONE -0.0001 Sender listed at https://www.dnswl.org/, no trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [klarasystems.com] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [PVE-User] PBS and ZFS Pools Compression? X-BeenThere: pve-user@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE user list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Apr 2021 16:23:30 -0000 > > > I may be wrong, but AFAIK ZFS detects compressed data and thus it is not > > doing double-compression in such cases, > > AFAIK the only way to detect compressed data is to actually compress it, > then > test the size. So this is double-compression ... > ZFS compression is a little more complex than this, but the good news is that ZFS is also smart enough not to do this! This is a good article on the subject: https://klarasystems.com/articles/openzfs1-understanding-transparent-compression/ TL;DR: Enable compression at the pool level and forget about it. -Geoff