backup: rework read concurrency

This commit is contained in:
Michael Eischer
2022-09-24 11:57:16 +02:00
parent 4a501d7118
commit 2e606ca70b
7 changed files with 23 additions and 28 deletions

View File

@@ -54,11 +54,11 @@ variable ``RESTIC_COMPRESSION``.
File Read Concurrency
=====================
In some instances, such as backing up traditional spinning disks, reducing the file read
concurrency is desired. This will help reduce the amount of time spent seeking around
the disk and can increase the overall performance of the backup operation. You can specify
the concurrency of file reads with the ``RESTIC_FILE_READ_CONCURRENCY`` environment variable
or the ``--file-read-concurrency`` flag for the ``backup`` subcommand.
When backing up fast storage like NVME disks, it can be beneficial to increase the read
concurrency. This can increase the overall performance of the backup operation by reading
more files in parallel. You can specify the concurrency of file reads with the
``RESTIC_READ_CONCURRENCY`` environment variable or the ``--read-concurrency`` flag for
the ``backup`` command.
Pack Size