[PATCH PBS restore 0/1] Speedup PBS restore with concurrent

Adam Kalisz adam.kalisz at notnullmakers.com
Fri Jun 27 21:24:25 CEST 2025


Speedup PBS restore by fetching chunks concurrently using a configurable
number of threads. 4 threads are used by default, the environment
variable PBS_RESTORE_CONCURRENCY should be between 1 and 32 inclusive.
The upper limit is max_blocking_threads in BackupClient.

Adam Kalisz (1):
  Make retrieval of chunks concurrent when restoring backup, add more
    statistics on chunk fetching and writing to storage. Allow
    configuring the number of threads fetching chunks using
    PBS_RESTORE_CONCURRENCY environment variable.

 src/restore.rs | 101 ++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 84 insertions(+), 17 deletions(-)

-- 
2.47.2




More information about the pve-devel mailing list