From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id BB6151FF396 for ; Thu, 6 Jun 2024 08:47:14 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 478EE7A23; Thu, 6 Jun 2024 08:47:44 +0200 (CEST) Date: Thu, 06 Jun 2024 08:47:07 +0200 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox Backup Server development discussion References: <20240605105416.278748-1-c.ebner@proxmox.com> In-Reply-To: <20240605105416.278748-1-c.ebner@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.16.0 (https://github.com/astroidmail/astroid) Message-Id: <1717656338.ot53k54zbs.astroid@yuna.none> X-SPAM-LEVEL: Spam detection results: 0 AWL 0.058 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: [pbs-devel] partially-applied: [PATCH v9 proxmox-backup 00/58] fix #3174: improve file-level backup 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: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" applied all (including the smaller fixups from your tree) but 57/58 (I am still not sure whether we want this as a package here, or split out somewhere else for CI purposes only) and 52-54, since as discussed off-list, I think those can be merged into the existing catalog API endpoint and be made compatible. here's to finding all the remaining edge-cases, and congrats on pulling this through! ;) On June 5, 2024 12:53 pm, Christian Ebner wrote: > This series of patches implements an metadata based file change > detection mechanism for improved pxar file level backup creation speed > for unchanged files. > > The chosen approach is to split pxar archives on creation via the > proxmox-backup-client into two separate data and upload streams, > one exclusive for regular file payloads, the other one for the rest > of the pxar archive, which is mostly metadata. > > On consecutive runs, the metadata archive of the previous backup run, > which is limited in size and therefore rapidly accessed is used to > lookup and compare the metadata for entries to encode. > This assumes that the connection speed to the Proxmox Backup Server is > sufficiently fast, allowing the download and chaching of the chunks for > that index. > > Changes to regular files are detected by comparing all of the files > metadata object, including mtime, acls, ecc. If no changes are detected, > the previous payload index is used to lookup chunks to possibly re-use > in the payload stream of the new archive. > In order to reduce possible chunk fragmentation, the decision whether to > reuse or reencode a file payload is deferred until enough information > is gathered by adding entries to a look-ahead cache. If the padding > introduced by reusing chunks falls below a threshold, the entries are > referenced, the chunks are reused and injected into the pxar payload > upload stream, otherwise they are discated and the files encoded > regularly. _______________________________________________ pbs-devel mailing list pbs-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel