2022-08-23 23:21:01 +00:00
|
|
|
Enhancement: Adaptive IO concurrency based on backend connections
|
2022-07-03 10:11:28 +00:00
|
|
|
|
|
|
|
Many commands used hard-coded limits for the number of concurrent operations.
|
|
|
|
This prevented speed improvements by increasing the number of connections used
|
|
|
|
by a backend.
|
|
|
|
|
2022-08-23 23:21:01 +00:00
|
|
|
These limits have now been replaced by using the configured number of backend
|
|
|
|
connections instead, which can be controlled using the
|
2022-07-03 10:11:28 +00:00
|
|
|
`-o <backend-name>.connections=5` option. Commands will then automatically
|
|
|
|
scale their parallelism accordingly.
|
|
|
|
|
|
|
|
To limit the number of CPU cores used by restic, you can set the environment
|
|
|
|
variable `GOMAXPROCS` accordingly. For example to use a single CPU core, use
|
|
|
|
`GOMAXPROCS=1`.
|
|
|
|
|
|
|
|
https://github.com/restic/restic/issues/2162
|
|
|
|
https://github.com/restic/restic/issues/1467
|
|
|
|
https://github.com/restic/restic/pull/3611
|