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 BE107615E5 for ; Tue, 18 Aug 2020 12:53:02 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id B187B1263A for ; Tue, 18 Aug 2020 12:52:32 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (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 id 1A63512630 for ; Tue, 18 Aug 2020 12:52:32 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id D91D144666 for ; Tue, 18 Aug 2020 12:52:31 +0200 (CEST) From: Dylan Whyte To: pbs-devel@lists.proxmox.com Date: Tue, 18 Aug 2020 12:52:24 +0200 Message-Id: <20200818105224.7382-1-d.whyte@proxmox.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pbs-devel] [PATCH pbs-docs 4/4] Add "Benchmarking" section 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: Tue, 18 Aug 2020 10:53:02 -0000 This adds the "Benchmarking" section which discusses the proxmox-backup-client benchmark subcommand. Signed-off-by: Dylan Whyte --- docs/administration-guide.rst | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/docs/administration-guide.rst b/docs/administration-guide.rst index 5a2838a5..acf07930 100644 --- a/docs/administration-guide.rst +++ b/docs/administration-guide.rst @@ -1113,6 +1113,38 @@ unused data blocks are removed. .. todo:: howto run garbage-collection at regular intervalls (cron) +Benchmarking +~~~~~~~~~~~~ +The backup client also comes with a benchmarking tool. This tool measures +various metrics relating to compression and encryption speeds. You can run a +benchmark using the ``benchmark`` subcommand of ``proxmox-backup-client``: + +.. code-block:: console + + # proxmox-backup-client benchmark + Uploaded 656 chunks in 5 seconds. + Time per request: 7659 microseconds. + TLS speed: 547.60 MB/s + SHA256 speed: 585.76 MB/s + Compression speed: 1923.96 MB/s + Decompress speed: 7885.24 MB/s + AES256/GCM speed: 3974.03 MB/s + ┌───────────────────────────────────┬─────────────────────┐ + │ Name │ Value │ + ╞═══════════════════════════════════╪═════════════════════╡ + │ TLS (maximal backup upload speed) │ 547.60 MB/s (93%) │ + ├───────────────────────────────────┼─────────────────────┤ + │ SHA256 checksum computation speed │ 585.76 MB/s (28%) │ + ├───────────────────────────────────┼─────────────────────┤ + │ ZStd level 1 compression speed │ 1923.96 MB/s (89%) │ + ├───────────────────────────────────┼─────────────────────┤ + │ ZStd level 1 decompression speed │ 7885.24 MB/s (98%) │ + ├───────────────────────────────────┼─────────────────────┤ + │ AES256 GCM encryption speed │ 3974.03 MB/s (104%) │ + └───────────────────────────────────┴─────────────────────┘ + +You can also pass the ``--output-format`` parameter to output stats in ``json``, +rather than the default table format. .. _pve-integration: -- 2.20.1