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 CA69A9F616 for ; Mon, 6 Nov 2023 12:00:50 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id A7EBB15255 for ; Mon, 6 Nov 2023 12:00:20 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (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 firstgate.proxmox.com (Proxmox) with ESMTPS for ; Mon, 6 Nov 2023 12:00:19 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 68A7B45F8E for ; Mon, 6 Nov 2023 12:00:19 +0100 (CET) References: <20231103151707.191010-1-m.sandoval@proxmox.com> <1281900928.721.1699266980870@webmail.proxmox.com> User-agent: mu4e 1.10.7; emacs 29.1 From: Maximiliano Sandoval To: Christian Ebner Cc: Proxmox Backup Server development discussion , Thomas Lamprecht Date: Mon, 06 Nov 2023 11:56:01 +0100 In-reply-to: <1281900928.721.1699266980870@webmail.proxmox.com> Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-SPAM-LEVEL: Spam detection results: 0 AWL 0.002 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: Re: [pbs-devel] [RFC proxmox-backup 1/2] datastore: Allow encoding with a set compression level X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2023 11:00:50 -0000 Christian Ebner writes: > I would suggest to perform all tests with the binaries compiled in release mode again, otherwise you might loose out on a lot of compile time optimizations. Indeed, running them again I got the following. ``` $ ./target/release/proxmox-backup-client backup --compression=none root.pxar:PATH/linux --repository=pbs:linux-none Starting backup: host/hostname/2023-11-06T10:52:00Z Client name: hostname Starting backup protocol: Mon Nov 6 11:52:00 2023 No previous manifest available. Upload directory 'PATH/linux' to 'pbs:linux-none' as root.pxar.didx root.pxar: had to backup 1.55 GiB of 1.55 GiB (compressed 1.55 GiB) in 8.47s root.pxar: average backup speed: 187.38 MiB/s Uploaded backup catalog (1.802 MiB) Duration: 26.24s End Time: Mon Nov 6 11:52:27 2023 $ ./target/release/proxmox-backup-client backup --compression=zstd,1 root.pxar:PATH/linux --repository=pbs:linux-zstd1 Starting backup: host/hostname/2023-11-06T10:52:44Z Client name: hostname Starting backup protocol: Mon Nov 6 11:52:44 2023 No previous manifest available. Upload directory 'PATH/linux' to 'pbs:linux-zstd1' as root.pxar.didx root.pxar: had to backup 1.55 GiB of 1.55 GiB (compressed 475.468 MiB) in 7.84s root.pxar: average backup speed: 202.58 MiB/s Uploaded backup catalog (1.802 MiB) Duration: 14.57s End Time: Mon Nov 6 11:52:58 2023 $ ./target/release/proxmox-backup-client backup --compression=zstd,3 root.pxar:PATH/linux --repository=pbs:linux-zstd3 Starting backup: host/hostname/2023-11-06T10:53:23Z Client name: hostname Starting backup protocol: Mon Nov 6 11:53:23 2023 No previous manifest available. Upload directory 'PATH/linux' to 'pbs:linux-zstd3' as root.pxar.didx root.pxar: had to backup 1.55 GiB of 1.55 GiB (compressed 449.656 MiB) in 9.34s root.pxar: average backup speed: 169.891 MiB/s Uploaded backup catalog (1.802 MiB) Duration: 15.80s End Time: Mon Nov 6 11:53:39 2023 $ ./target/release/proxmox-backup-client backup --compression=zstd,5 root.pxar:PATH/linux --repository=pbs:linux-zstd5 Starting backup: host/hostname/2023-11-06T10:53:50Z Client name: hostname Starting backup protocol: Mon Nov 6 11:53:50 2023 No previous manifest available. Upload directory 'PATH/linux' to 'pbs:linux-zstd5' as root.pxar.didx root.pxar: had to backup 1.55 GiB of 1.55 GiB (compressed 429.919 MiB) in 16.78s root.pxar: average backup speed: 94.617 MiB/s Uploaded backup catalog (1.802 MiB) Duration: 22.83s End Time: Mon Nov 6 11:54:13 2023 $ ./target/release/proxmox-backup-client backup --compression=none root.pxar:PATH/val2017 --repository=pbs:coco-none Starting backup: host/hostname/2023-11-06T10:54:42Z Client name: hostname Starting backup protocol: Mon Nov 6 11:54:42 2023 No previous manifest available. Upload directory 'PATH/val2017' to 'pbs:coco-none' as root.pxar.didx root.pxar: had to backup 777.579 MiB of 777.579 MiB (compressed 777.581 MiB) in 4.09s root.pxar: average backup speed: 190.242 MiB/s Uploaded backup catalog (126.99 KiB) Duration: 14.70s End Time: Mon Nov 6 11:54:56 2023 $ ./target/release/proxmox-backup-client backup --compression=zstd,1 root.pxar:PATH/val2017 --repository=pbs:coco-zstd1 Starting backup: host/hostname/2023-11-06T10:55:06Z Client name: hostname Starting backup protocol: Mon Nov 6 11:55:06 2023 No previous manifest available. Upload directory 'PATH/val2017' to 'pbs:coco-zstd1' as root.pxar.didx root.pxar: had to backup 777.579 MiB of 777.579 MiB (compressed 772.769 MiB) in 4.52s root.pxar: average backup speed: 172.011 MiB/s Uploaded backup catalog (126.99 KiB) Duration: 14.98s End Time: Mon Nov 6 11:55:21 2023 $ ./target/release/proxmox-backup-client backup --compression=zstd,3 root.pxar:PATH/val2017 --repository=pbs:coco-zstd3 Starting backup: host/hostname/2023-11-06T10:55:27Z Client name: hostname Starting backup protocol: Mon Nov 6 11:55:27 2023 No previous manifest available. Upload directory 'PATH/val2017' to 'pbs:coco-zstd3' as root.pxar.didx root.pxar: had to backup 777.579 MiB of 777.579 MiB (compressed 770.425 MiB) in 5.15s root.pxar: average backup speed: 150.85 MiB/s Uploaded backup catalog (126.99 KiB) Duration: 14.58s End Time: Mon Nov 6 11:55:42 2023 $ ./target/release/proxmox-backup-client backup --compression=zstd,5 root.pxar:PATH/val2017 --repository=pbs:coco-zstd5 Starting backup: host/hostname/2023-11-06T10:55:48Z Client name: hostname Starting backup protocol: Mon Nov 6 11:55:48 2023 No previous manifest available. Upload directory 'PATH/val2017' to 'pbs:coco-zstd5' as root.pxar.didx root.pxar: had to backup 777.579 MiB of 777.579 MiB (compressed 770.388 MiB) in 8.05s root.pxar: average backup speed: 96.551 MiB/s Uploaded backup catalog (126.99 KiB) Duration: 18.82s End Time: Mon Nov 6 11:56:07 2023 ``` Do note that the Proxmox Backup Server used for the test is running in a VM stored in a Samsung 860 QVO. -- Maximiliano